w
clone your own copy | download snapshot

Snapshots | iceberg

No images in this repository’s iceberg at this time

Inside this repository

field-effectif.mtpl
text/plain

Download raw (1.5 KB)

<label>
    <%- t('Effectif') %>: <br />
    <select name="type">
        <option value="<%= rangeType.undetermined %>" <% if (!type || type == rangeType.undetermined) { %>selected<% } %>>
            <%- t('indéterminé') %>
        </option>
        <option value="<%= rangeType.exact %>" <% if (type == rangeType.exact) { %>selected<% } %>>
            <%- t('exactement') %>
        </option>
        <option value="<%= rangeType.minimal %>" <% if (type == rangeType.minimal) {%>selected<% } %>>
            <%- t('au moins') %>
        </option>
        <option value="<%= rangeType.range %>" <% if (type == rangeType.range){ %>selected<% } %>>
            <%- t('entre') %>
        </option>
    </select>
  <section data-range-type="<%= rangeType.exact %>" class="type-fields inline">
      <input type="number" name="exact" min="1" class="small-number" value="<%= (type == rangeType.exact) ? value : 1 %>" />
  </section>
  <section data-range-type="<%= rangeType.minimal %>" class="type-fields inline">
      <input type="number" name="minimal" min="1" class="small-number" value="<%= (type == rangeType.minimal) ? value : 1 %>" />
  </section>
  <section data-range-type="<%= rangeType.range %>" class="type-fields inline">
      <input type="number" name="range-min" min="1" class="small-number" value="<%= (type == rangeType.range) ? value[0] : 1 %>" /> et
      <input type="number" name="range-max" min="2" class="small-number" value="<%= (type == rangeType.range) ? value[1] : 1 %>" />
  </section>
  <%- t('performeur(s)') %>
</label>