templates/v2/_bathroom.html.twig line 1

Open in your IDE?
  1. <div id="bathroom_{{ id }}">
  2.     <input type="hidden" name="forms[bathrooms][]" value="{{ id }}">
  3.     {% include "v2/_input.html.twig" with { label: 'Bathroom Name',  name: 'bathroom_'~ id ~'_name', required: true, value: 'Bathroom '~ id } %}
  4.     
  5.     {% include "v2/_score.html.twig" with { label: 'Decoration',  name: 'bathroom_'~ id ~'_decoration', required: true } %}
  6.     {% include "v2/_score.html.twig" with { label: 'Fixtures and fittings',  name: 'bathroom_'~ id ~'_furniture', required: true } %}
  7.     {% include "v2/_score.html.twig" with { label: 'Flooring',  name: 'bathroom_'~ id ~'_flooring', required: true } %}
  8.     {% include "v2/_score.html.twig" with { label: 'Lighting, heating and ventilation',  name: 'bathroom_'~ id ~'_lighting', required: true } %}
  9.     
  10.     {% include "v2/_yesno.html.twig" with { label: 'Towel rail',  name: 'bathroom_'~ id ~'_towelrail' } %}
  11.     {% include "v2/_yesno.html.twig" with { label: 'Mirror',  name: 'bathroom_'~ id ~'_mirror' } %}
  12.     {% include "v2/_yesno.html.twig" with { label: 'Shaver point',  name: 'bathroom_'~ id ~'_shaverpoint' } %}
  13.     {% include "v2/_yesno.html.twig" with { label: 'Waste bin',  name: 'bathroom_'~ id ~'_wastebin' } %}
  14.     {% include "v2/_yesno.html.twig" with { label: 'Bath mats',  name: 'bathroom_'~ id ~'_bathmats' } %}
  15.     {% include "v2/_yesno.html.twig" with { label: 'Toilet brush',  name: 'bathroom_'~ id ~'_toiletbrush' } %}
  16.     {% include "v2/_yesno.html.twig" with { label: 'Shower head',  name: 'bathroom_'~ id ~'_showerhead' } %}
  17.     {% if id != 1 %}
  18.         <button class="btn btn-danger text-right btn_remove_bathroom" data-room="{{ id }}">Remove bathroom</button>
  19.     {% endif %}
  20. </div>
  21. <hr>