app/soc/templates/soc/survey/universal_choice_editor.html
changeset 2502 2e096acc8720
parent 2422 44c500fc0eca
child 2560 a944c0169ad8
equal deleted inserted replaced
2501:d612b48e6e12 2502:2e096acc8720
     1 <fieldset>
     1 <fieldset>
       
     2 
       
     3 {# Drop-down setting whether question is required #}
       
     4   <label for="required_for_{{ name }}">Required</label>
       
     5   <select id="required_for_{{ name }}" name="required_for_{{ name }}">
       
     6     <option value="True" {% if is_required %} selected='selected' {% endif %}
       
     7     >True</option>
       
     8     <option value="False" {% if not is_required %} selected='selected' {% endif %}
       
     9     >False</option>
       
    10   </select><br/>
       
    11 
       
    12 {# Drop-down setting whether question allows comments #}
       
    13   <label for="comment_for_{{ name }}">Allow Comments</label>
       
    14   <select id="comment_for_{{ name }}" name="comment_for_{{ name }}">
       
    15     <option value="True" {% if has_comment %} selected='selected' {% endif %}
       
    16     >True</option>
       
    17     <option value="False" {% if not has_comment %} selected='selected' {% endif %}
       
    18     >False</option>
       
    19   </select><br/>
     2 
    20 
     3 {# Question type drop-down #}
    21 {# Question type drop-down #}
     4   <label for="type_for_{{ name }}">Question Type</label>
    22   <label for="type_for_{{ name }}">Question Type</label>
     5   <select id="type_for_{{ name }}" name="type_for_{{ name }}">
    23   <select id="type_for_{{ name }}" name="type_for_{{ name }}">
     6     <option value="selection" {{ is_selection|safe }}>selection</option>
    24     <option value="selection" {{ is_selection|safe }}>selection</option>