Sha256: 0b677230cff68f1c268f567bad9cc8d09278631743dfc4582e7439ffbcd4aa55

Contents?: true

Size: 715 Bytes

Versions: 4

Compression:

Stored size: 715 Bytes

Contents

  <p>
    <span class="tooltip" title="Please choose a field type using the drop down list, this will determine the characteristics of the new form field.">&nbsp;</span>
    <%= label_tag 'field-type', 'Add a new field' %><br/>
    <select id="field-type" name="field_type">
      <option value="text_field">Text</option>
      <option value="select">Select Box</option>
      <option value="multiselect">Multi-Select Box</option>
      <option value="date_field">Date</option>
      <option value="radio">Radio Buttons</option>
      <option value="check_box">Check Box</option>
    </select>
    <%= link_to_function 'Add', "return new_form_field($('#field-type').val());", :class => 'add form-builder' %>
  </p>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
noodall-form-builder-0.5.4 app/views/noodall/admin/forms/_field_select.html.erb
noodall-form-builder-0.5.3 app/views/noodall/admin/forms/_field_select.html.erb
noodall-form-builder-0.5.2 app/views/noodall/admin/forms/_field_select.html.erb
noodall-form-builder-0.5.0 app/views/noodall/admin/forms/_field_select.html.erb