templates/v2/form.html.twig line 1

Open in your IDE?
  1. {% extends 'v2/base.html.twig' %}
  2. {% block title %}Property inspections Form{% endblock %}
  3. {% block pagetitle %}Property inspections Form <a class="float-right" href="{{ path('v2_list') }}">Back to list</a>{% endblock %}
  4. {% block body %}
  5.     <style>
  6.         .v2 legend, .v2 label {
  7.             font-weight: bold;
  8.         }
  9.         .v2 .custom-file-label {
  10.             font-weight: normal;
  11.         }
  12.         .v2 .form-group {
  13.             margin-bottom: 2rem;
  14.         }
  15.         .v2 .form-check-inline {
  16.             display: flex;
  17.             flex-wrap: wrap;
  18.             gap: 4px 1rem;
  19.         }
  20.         .v2 .form-check-inline .form-check {
  21.             flex-grow: 1;
  22.             padding: 0;
  23.         }
  24.         .v2 .form-check-inline label {
  25.             border: 1px solid #ccc;
  26.             padding: 0.4rem 0;
  27.             width: 100%;
  28.             border-radius: 0.25rem;
  29.             font-weight: normal;
  30.         }
  31.         .v2 .form-check-inline .form-check-text {
  32.              flex-grow: 0;
  33.         }
  34.         .v2 .form-check-inline .form-check-text label {
  35.             border: 0;
  36.         }
  37.         .v2 .form-check-inline .form-check-input {
  38.             display: block;
  39.             visibility: hidden;
  40.             width: 0px; height: 0px;
  41.             text-indent: -9999px;
  42.         }
  43.         .v2 .form-check-inline .form-check-input:checked + label {
  44.             background-color: #A3BA38;
  45.             border: 1px solid #A3BA38;
  46.             font-weight: normal;
  47.             color: white;
  48.         }
  49.         .v2 .form-check-inline .form-check-text .form-check-input:checked + label {
  50.             background-color: white;
  51.             color: #565656;
  52.             border: 0;
  53.         }
  54.         .v2 .has-error,
  55.         .v2 .has-error label {
  56.             border-color: red;
  57.         }
  58.         .v2 .nav-item .has-error {
  59.             /*background-color: #fcc;*/
  60.             /*color: #565656;*/
  61.             color: red;
  62.         }
  63.         .v2 .nav-item .has-error.active {
  64.             background-color: red;
  65.             color: white;
  66.         }
  67.         .v2 .alert-danger {
  68.             margin-top: 2rem;
  69.             margin-bottom: -1rem;
  70.             color: red;
  71.             background-color: white;
  72.             border-color: red;
  73.         }
  74.         @media (max-width: 767px) {
  75.             .form-check-inline .form-check {
  76.                 width: 100%;
  77.                 text-align: center;
  78.             }
  79.         }
  80.         .v2 hr {
  81.             margin-top: 4rem;
  82.             margin-bottom: 3rem;
  83.         }
  84.     </style>
  85.     <form method="post" id="form_form" enctype="application/x-www-form-urlencoded">
  86.         <input type="hidden" id="form_uuid" name="form[uuid]" value="{{ uuid ?? '' }}">
  87.         <input type="hidden" id="form_version" name="form[version]" value="0">
  88.         <div class="row v2">
  89.             <div class="col-md-12 col-12">
  90.                 <ul class="nav nav-pills mb-3" id="myTab" role="tablist">
  91.                     <li class="nav-item">
  92.                         <a class="nav-link active" id="home-tab" data-toggle="pill" href="#home" role="tab" aria-controls="home" aria-selected="true">Property Details</a>
  93.                     </li>
  94.                     <li class="nav-item">
  95.                         <a class="nav-link" id="exterior-tab" data-toggle="pill" href="#exterior" role="tab" aria-controls="exterior" aria-selected="false">Exterior</a>
  96.                     </li>
  97.                     <li class="nav-item">
  98.                         <a class="nav-link" id="general-tab" data-toggle="pill" href="#general" role="tab" aria-controls="general" aria-selected="false">General</a>
  99.                     </li>
  100.                     <li class="nav-item">
  101.                         <a class="nav-link" id="public-tab" data-toggle="pill" href="#public" role="tab" aria-controls="public" aria-selected="false">Public areas</a>
  102.                     </li>
  103.                     <li class="nav-item">
  104.                         <a class="nav-link" id="kitchen-tab" data-toggle="pill" href="#kitchen" role="tab" aria-controls="kitchen" aria-selected="false">Kitchen</a>
  105.                     </li>
  106.                     <li class="nav-item">
  107.                         <a class="nav-link" id="bedrooms-tab" data-toggle="pill" href="#bedrooms" role="tab" aria-controls="bedrooms" aria-selected="false">Bedrooms</a>
  108.                     </li>
  109.                     <li class="nav-item">
  110.                         <a class="nav-link" id="bathrooms-tab" data-toggle="pill" href="#bathrooms" role="tab" aria-controls="bathrooms" aria-selected="false">Bathrooms</a>
  111.                     </li>
  112.                     <li class="nav-item">
  113.                         <a class="nav-link" id="safety-tab" data-toggle="pill" href="#safety" role="tab" aria-controls="safety" aria-selected="false">Safety</a>
  114.                     </li>
  115.     {#                <li class="nav-item ml-auto">#}
  116.     {#                    <button type="submit" class="btn btn-primary">Save</button>#}
  117.     {#                </li>#}
  118.                 </ul>
  119.                 <div id="errors"></div>
  120.                 <div class="tab-content my-5 mx-3" id="myTabContent">
  121.                     <div class="tab-pane room-tab fade show active" id="home" role="tabpanel" aria-labelledby="home-tab">
  122.                         <div class="form-group">
  123.                             <label for="forms_date" class="required">Date</label>
  124.                             <input type="date" id="forms_date" name="forms[date]" required="required" class="form-control">
  125.                         </div>
  126.                         <div class="form-group">
  127.                             <label for="forms_propname" class="required">Property name</label>
  128.                             <input type="text" id="forms_propname" name="forms[propname]" required="required" class="form-control">
  129.                         </div>
  130.                         <div class="form-group">
  131.                             <label for="forms_totalScore">Total Score</label>
  132.                             <input type="text" id="forms_totalScore" name="forms[totalScore]" disabled="disabled" class="col-2 form-control">
  133.                         </div>
  134.                         <div class="form-group">
  135.                             <label for="forms_stars">Star rating</label>
  136.                             <input type="text" id="forms_stars" name="forms[stars]" disabled="disabled" class="col-2 form-control">
  137.                         </div>
  138.                     </div>
  139.                     <div class="tab-pane room-tab fade" id="exterior" role="tabpanel" aria-labelledby="exterior-tab">
  140.                         {% include "v2/_score.html.twig" with { label: 'Appearance of building',  name: 'extbuildappear', required: true } %}
  141.                         {% include "v2/_score.html.twig" with { label: 'Parking, garden and additional facilities',  name: 'extparkfacility', required: true } %}
  142.                         {% include "v2/_score.html.twig" with { label: 'Environment and setting',  name: 'extsiding', required: true } %}
  143.                         {% include "v2/_subtotal.html.twig" with { label: 'Exterior Total',  name: 'exteriorTotal' } %}
  144.                         <hr>
  145.                         {% include "v2/_yesno.html.twig" with { label: 'Property Sign',  name: 'extpropertysign' } %}
  146.                         {% include "v2/_yesno.html.twig" with { label: 'Key Safe',  name: 'extkeysafe' } %}
  147.                         {% include "v2/_yesno.html.twig" with { label: 'Emergency Key Safe',  name: 'extemergencykeysafe' } %}
  148.                         {% include "v2/_yesno.html.twig" with { label: 'Exterior Lighting',  name: 'extlighting' } %}
  149.                         {% include "v2/_yesno.html.twig" with { label: 'Gates',  name: 'extgates', 'na': true } %}
  150.                         {% include "v2/_yesno.html.twig" with { label: 'Garden Furniture',  name: 'extgardenfurniture', 'na': true } %}
  151.                         {% include "v2/_yesno.html.twig" with { label: 'Barbecue',  name: 'extbarbecue', 'na': true } %}
  152.                         <hr>
  153.                         {% include "v2/_text.html.twig" with { label: 'Notes',  name: 'extnotes' } %}
  154.                         {% include "v2/_file.html.twig" with { label: 'Picture 1',  name: 'extpic1' } %}
  155.                         {% include "v2/_file.html.twig" with { label: 'Picture 2',  name: 'extpic2' } %}
  156.                         {% include "v2/_file.html.twig" with { label: 'Picture 3',  name: 'extpic3' } %}
  157.                         {% include "v2/_file.html.twig" with { label: 'Picture 4',  name: 'extpic4' } %}
  158.                     </div>
  159.                     <div class="tab-pane room-tab fade" id="general" role="tabpanel" aria-labelledby="general-tab">
  160.                         {% include "v2/_score.html.twig" with { label: 'Information Pack',  name: 'generalinformationpack', required: true, notes: 'Including rubbish instructions' } %}
  161.                         {% include "v2/_score.html.twig" with { label: 'Welcome Pack',  name: 'generalwelcomepack', required: true } %}
  162.                         {% include "v2/_score.html.twig" with { label: 'Wi-Fi',  name: 'generalwifi', required: true, notes: '0-5 Poor/5-10 Satisfactory/10-20 Good/20-50 Very good/50+ Excellent (Mbps)' } %}
  163.                         {% include "v2/_text.html.twig" with { label: 'Wi-Fi Login info and speed',  name: 'generalwifilogininfoandspeed' } %}
  164.                         {% include "v2/_score.html.twig" with { label: 'Space and ease of use',  name: 'generalspaceandeaseofuse', required: true } %}
  165.                         {% include "v2/_score.html.twig" with { label: 'Accessories and personal touches',  name: 'generalaccessories', required: true } %}
  166.                         {% include "v2/_score.html.twig" with { label: 'Cleanliness',  name: 'generalcleanliness', required: true } %}
  167.                         {% include "v2/_subtotal.html.twig" with { label: 'General Total',  name: 'generalTotal' } %}
  168.                         <hr>
  169.                         {% include "v2/_yesno.html.twig" with { label: 'Cot',  name: 'generalcot' } %}
  170.                         {% include "v2/_yesno.html.twig" with { label: 'High-chair',  name: 'generalhighchair' } %}
  171.                         {% include "v2/_yesno.html.twig" with { label: 'Stair gate',  name: 'generalstairgate', 'na': true } %}
  172.                         {% include "v2/_yesno.html.twig" with { label: 'Vacuum',  name: 'generalvacuum' } %}
  173.                         {% include "v2/_yesno.html.twig" with { label: 'Ironing board and iron',  name: 'generaliron' } %}
  174.                         {% include "v2/_yesno.html.twig" with { label: 'Washing machine',  name: 'generalwashingmachine' } %}
  175.                         {% include "v2/_yesno.html.twig" with { label: 'Tumble dryer',  name: 'generaltumbledryer' } %}
  176.                         <hr>
  177.                         {% include "v2/_text.html.twig" with { label: 'Notes',  name: 'generalnotes' } %}
  178.                         {% include "v2/_file.html.twig" with { label: 'Picture 1',  name: 'generalpic1' } %}
  179.                         {% include "v2/_file.html.twig" with { label: 'Picture 2',  name: 'generalpic2' } %}
  180.                         {% include "v2/_file.html.twig" with { label: 'Picture 3',  name: 'generalpic3' } %}
  181.                         {% include "v2/_file.html.twig" with { label: 'Picture 4',  name: 'generalpic4' } %}
  182.                     </div>
  183.                     <div class="tab-pane room-tab fade" id="public" role="tabpanel" aria-labelledby="public-tab">
  184.                         {% include "v2/_score.html.twig" with { label: 'Decoration',  name: 'publicdecoration', required: true } %}
  185.                         {% include "v2/_score.html.twig" with { label: 'Furniture and soft furnishings',  name: 'publicfurniture', required: true } %}
  186.                         {% include "v2/_score.html.twig" with { label: 'Flooring',  name: 'publicflooring', required: true } %}
  187.                         {% include "v2/_score.html.twig" with { label: 'Lighting and heating',  name: 'publiclighting', required: true } %}
  188.                         {% include "v2/_subtotal.html.twig" with { label: 'Public Total',  name: 'publicTotal' } %}
  189.                         <hr>
  190.                         {% include "v2/_yesno.html.twig" with { label: 'Curtains/blinds',  name: 'publiccurtains' } %}
  191.                         {% include "v2/_yesno.html.twig" with { label: 'Dining table',  name: 'publicdiningtable' } %}
  192.                         {% include "v2/_yesno.html.twig" with { label: 'Coffee table',  name: 'publiccoffeetable' } %}
  193.                         {% include "v2/_yesno.html.twig" with { label: 'Lamps',  name: 'publiclamps' } %}
  194.                         {% include "v2/_yesno.html.twig" with { label: 'TV',  name: 'publictv', 'notes': 'If you do not already provide a Smart TV, we highly recommend one is provided' } %}
  195.                         {% include "v2/_yesno.html.twig" with { label: 'Fireproof bin (if fireplace)',  name: 'publicfireproofbin' } %}
  196.                         <hr>
  197.                         {% include "v2/_text.html.twig" with { label: 'Notes',  name: 'publicnotes' } %}
  198.                         {% include "v2/_file.html.twig" with { label: 'Picture 1',  name: 'publicpic1' } %}
  199.                         {% include "v2/_file.html.twig" with { label: 'Picture 2',  name: 'publicpic2' } %}
  200.                         {% include "v2/_file.html.twig" with { label: 'Picture 3',  name: 'publicpic3' } %}
  201.                         {% include "v2/_file.html.twig" with { label: 'Picture 4',  name: 'publicpic4' } %}
  202.                     </div>
  203.                     <div class="tab-pane room-tab fade" id="kitchen" role="tabpanel" aria-labelledby="kitchen-tab">
  204.                         {% include "v2/_score.html.twig" with { label: 'Decoration',  name: 'kitchendecoration', required: true } %}
  205.                         {% include "v2/_score.html.twig" with { label: 'Furniture and fittings',  name: 'kitchenfurniture', required: true } %}
  206.                         {% include "v2/_score.html.twig" with { label: 'Flooring',  name: 'kitchenflooring', required: true } %}
  207.                         {% include "v2/_score.html.twig" with { label: 'Lighting, heating and ventilation',  name: 'kitchenlighting', required: true } %}
  208.                         {% include "v2/_score.html.twig" with { label: 'Electrical and gas equipment',  name: 'kitchenequipment', required: true } %}
  209.                         {% include "v2/_score.html.twig" with { label: 'Crockery, cutlery and glassware',  name: 'kitchencrockerycutleryglassware', required: true } %}
  210.                         {% include "v2/_score.html.twig" with { label: 'Pots, pans and utensils',  name: 'kitchenpots', required: true } %}
  211.                         {% include "v2/_subtotal.html.twig" with { label: 'Kitchen Total',  name: 'kitchenTotal' } %}
  212.                         <hr>
  213.                         {% include "v2/_yesno.html.twig" with { label: 'Cooker',  name: 'kitchencooker' } %}
  214.                         {% include "v2/_yesno.html.twig" with { label: 'Fridge',  name: 'kitchenfridge' } %}
  215.                         {% include "v2/_yesno.html.twig" with { label: 'Freezer/ice box',  name: 'kitchenfreezer' } %}
  216.                         {% include "v2/_yesno.html.twig" with { label: 'Dishwasher',  name: 'kitchendishwasher' } %}
  217.                         {% include "v2/_yesno.html.twig" with { label: 'Microwave',  name: 'kitchenmicrowave' } %}
  218.                         {% include "v2/_yesno.html.twig" with { label: 'Toaster',  name: 'kitchentoaster' } %}
  219.                         {% include "v2/_yesno.html.twig" with { label: 'Kettle',  name: 'kitchenkettle' } %}
  220.                         {% include "v2/_yesno.html.twig" with { label: 'Saucepans',  name: 'kitchensaucepans' } %}
  221.                         {% include "v2/_yesno.html.twig" with { label: 'Frying pans',  name: 'kitchenfryingpans' } %}
  222.                         {% include "v2/_yesno.html.twig" with { label: 'Cookware',  name: 'kitchencookware' } %}
  223.                         {% include "v2/_yesno.html.twig" with { label: 'Utensils',  name: 'kitchenutensils' } %}
  224.                         {% include "v2/_yesno.html.twig" with { label: 'Crockery',  name: 'kitchencrockery' } %}
  225.                         {% include "v2/_yesno.html.twig" with { label: 'Cutlery',  name: 'kitchencutlery' } %}
  226.                         {% include "v2/_yesno.html.twig" with { label: 'Glasses',  name: 'kitchenglasses' } %}
  227.                         {% include "v2/_yesno.html.twig" with { label: 'Table mats',  name: 'kitchentablemats' } %}
  228.                         {% include "v2/_yesno.html.twig" with { label: 'Salt and pepper',  name: 'kitchensaltandpepper' } %}
  229.                         {% include "v2/_yesno.html.twig" with { label: 'Washing up bowl',  name: 'kitchenwashingupbowl' } %}
  230.                         {% include "v2/_yesno.html.twig" with { label: 'Cleaning materials',  name: 'kitchencleaningmaterials' } %}
  231.                         <hr>
  232.                         {% include "v2/_text.html.twig" with { label: 'Notes',  name: 'kitchennotes' } %}
  233.                         {% include "v2/_file.html.twig" with { label: 'Picture 1',  name: 'kitchenpic1' } %}
  234.                         {% include "v2/_file.html.twig" with { label: 'Picture 2',  name: 'kitchenpic2' } %}
  235.                         {% include "v2/_file.html.twig" with { label: 'Picture 3',  name: 'kitchenpic3' } %}
  236.                         {% include "v2/_file.html.twig" with { label: 'Picture 4',  name: 'kitchenpic4' } %}
  237.                     </div>
  238.                     <div class="tab-pane room-tab fade" id="bedrooms" role="tabpanel" aria-labelledby="bedrooms-tab">
  239.                         <ul class="nav nav-pills mb-3" id="bedTab" role="tablist">
  240.                             <li class="nav-item">
  241.                                 <a class="nav-link active" id="bedroom_1-tab" data-toggle="pill" href="#bedroom_1" role="tab" aria-controls="bedroom_1" aria-selected="true">Bedroom 1</a>
  242.                             </li>
  243.                             <li class="nav-item">
  244.                                 <button class="btn" id="btn_add_bedroom" data-rooms="1">+ Add new bedroom</button>
  245.                             </li>
  246.                         </ul>
  247.                         <div class="tab-content my-5 mx-3" id="bedTabContent">
  248.                             <div class="tab-pane fade show active" id="bedroom_1" role="tabpanel" aria-labelledby="bedroom_1-tab">
  249.                                 {% include "v2/_bedroom.html.twig" with { id: 1 } %}
  250.                             </div>
  251.                         </div>
  252.                         {% include "v2/_subtotal.html.twig" with { label: 'Bedrooms Total',  name: 'bedroomsTotal' } %}
  253.                         {% include "v2/_text.html.twig" with { label: 'Notes',  name: 'bedroomsnotes' } %}
  254.                         {% include "v2/_file.html.twig" with { label: 'Picture 1',  name: 'bedroomspic1' } %}
  255.                         {% include "v2/_file.html.twig" with { label: 'Picture 2',  name: 'bedroomspic2' } %}
  256.                         {% include "v2/_file.html.twig" with { label: 'Picture 3',  name: 'bedroomspic3' } %}
  257.                         {% include "v2/_file.html.twig" with { label: 'Picture 4',  name: 'bedroomspic4' } %}
  258.                     </div>
  259.                     <div class="tab-pane room-tab fade" id="bathrooms" role="tabpanel" aria-labelledby="bathrooms-tab">
  260.                         <ul class="nav nav-pills mb-3" id="bathTab" role="tablist">
  261.                             <li class="nav-item">
  262.                                 <a class="nav-link active" id="bathroom_1-tab" data-toggle="pill" href="#bathroom_1" role="tab" aria-controls="bathroom_1" aria-selected="true">Bathroom 1</a>
  263.                             </li>
  264.                             <li class="nav-item">
  265.                                 <button class="btn" id="btn_add_bathroom" data-rooms="1">+ Add new bathroom</button>
  266.                             </li>
  267.                         </ul>
  268.                         <div class="tab-content my-5 mx-3" id="bathTabContent">
  269.                             <div class="tab-pane fade show active" id="bathroom_1" role="tabpanel" aria-labelledby="bathroom_1-tab">
  270.                                 {% include "v2/_bathroom.html.twig" with { id: 1 } %}
  271.                             </div>
  272.                         </div>
  273.                         {% include "v2/_subtotal.html.twig" with { label: 'Bathrooms Total',  name: 'bathroomsTotal' } %}
  274.                         {% include "v2/_text.html.twig" with { label: 'Notes',  name: 'bathroomsnotes' } %}
  275.                         {% include "v2/_file.html.twig" with { label: 'Picture 1',  name: 'bathroomspic1' } %}
  276.                         {% include "v2/_file.html.twig" with { label: 'Picture 2',  name: 'bathroomspic2' } %}
  277.                         {% include "v2/_file.html.twig" with { label: 'Picture 3',  name: 'bathroomspic3' } %}
  278.                         {% include "v2/_file.html.twig" with { label: 'Picture 4',  name: 'bathroomspic4' } %}
  279.                     </div>
  280.                     <div class="tab-pane room-tab fade" id="safety" role="tabpanel" aria-labelledby="safety-tab">
  281.                         {% include "v2/_yesno.html.twig" with { label: 'Fire risk assessment',  name: 'safetyfire', notes: 'Review annually', required: true, date: true } %}
  282.                         {% include "v2/_yesno.html.twig" with { label: 'Boiler safety certificate',  name: 'safetyboiler', 'na': true, required: true, date: true } %}
  283.                         {% include "v2/_yesno.html.twig" with { label: 'PAT',  name: 'safetypat', required: true, date: true } %}
  284.                         {% include "v2/_yesno.html.twig" with { label: 'EICR',  name: 'safetyeicr', required: true, date: true } %}
  285.                         {% include "v2/_yesno.html.twig" with { label: 'Legionella checklist',  name: 'safetylegionella', notes: 'Review annually', required: true, date: true } %}
  286.                         {% include "v2/_yesno.html.twig" with { label: 'Public liability insurance',  name: 'safetypublicliability', required: true, date: true } %}
  287.                         {% include "v2/_yesno.html.twig" with { label: 'Chimney sweep certificate',  name: 'safetychimney', 'na': true, required:true, date: true } %}
  288. {#                        {% include "v2/_subtotal.html.twig" with { label: 'Safety Total',  name: 'safetyTotal' } %}#}
  289.                         <input type="hidden" id="forms_safetyTotal" name="forms[safetyTotal]">
  290.                         <hr>
  291.                         {% include "v2/_yesno.html.twig" with { label: 'Fire alarms',  name: 'safetyfirealarms', notes: 'The guidance is that the property has mains wired interlinked smoke alarms throughout the property and a heat alarm in the kitchen. The guidance is that there should be a smoke alarm in every hallway and room.' } %}
  292.                         {% include "v2/_yesno.html.twig" with { label: 'Carbon Monoxide alarms',  name: 'safetyco', notes: 'In appropriate places and in date', 'na': true } %}
  293.                         {% include "v2/_yesno.html.twig" with { label: 'Fire extinguishers on each floor',  name: 'safetyfireextinguishers', notes: 'The guidance is that fire extinguishers are located in a visible and easily accessible location, that there is at least one per floor, and that they are serviced regularly.' } %}
  294.                         {% include "v2/_yesno.html.twig" with { label: 'Fire blanket',  name: 'safetyfireblanket', notes: 'The guidance is that the fire blanket is located in a visible and easily accessible location and that it is mounted on the wall.' } %}
  295.                         {% include "v2/_yesno.html.twig" with { label: 'Emergency lighting',  name: 'safetyemergencylighting', notes:  'The guidance is that you have emergency lighting sources in suitable places' } %}
  296.                         {% include "v2/_yesno.html.twig" with { label: 'Fire action sign in place',  name: 'safetyfireactionsign', notes: 'Fire action notice in place (with address)' } %}
  297.                         {% include "v2/_yesno.html.twig" with { label: 'Blind cords secured',  name: 'safetybindcords', 'na': true } %}
  298.                         {% include "v2/_yesno.html.twig" with { label: 'Exit door keyless escape access',  name: 'exitdoorkeylessescape', notes: 'The guidance is that all exit doors should have keyless escape access' } %}
  299.                         <hr>
  300.                         {% include "v2/_text.html.twig" with { label: 'Notes',  name: 'safetynotes' } %}
  301.                         {% include "v2/_file.html.twig" with { label: 'Picture 1',  name: 'safetypic1' } %}
  302.                         {% include "v2/_file.html.twig" with { label: 'Picture 2',  name: 'safetypic2' } %}
  303.                         {% include "v2/_file.html.twig" with { label: 'Picture 3',  name: 'safetypic3' } %}
  304.                         {% include "v2/_file.html.twig" with { label: 'Picture 4',  name: 'safetypic4' } %}
  305.                     </div>
  306.                 </div>
  307.                 <div class="m-3 d-flex justify-content-between align-items-baseline">
  308.                     <span>
  309.                         <button type="submit" class="btn btn-primary" formnovalidate title="Check for missing fields and save">Save</button>
  310.                         <button id="btn-save-draft" class="btn btn-outline-primary ml-2" formnovalidate title="Save incomplete inspection">{{ button_label|default('Save Draft') }}</button>
  311.                     </span>
  312.                     <a id="scrollToTop" href="#top">&#8593; Top</a>
  313.                 </div>
  314.             </div>
  315.         </div>
  316.     </form>
  317. {% endblock %}
  318. {% block javascripts %}
  319.     {{ parent() }}
  320. {% endblock %}