Sha256: e4aefa22448b62f6cd46ea94b75e16e8217829fedc9d3922fe666699186dc7f2

Contents?: true

Size: 855 Bytes

Versions: 38

Compression:

Stored size: 855 Bytes

Contents

<%= fields_for "form[fields][#{index}]", field do |f| %>
    <tr>
      <td><%= f.hidden_field :_type %><%= f.label :name, 'Name *' %><%= f.text_field :name %></td>
      <td>Radio button(s)</td>
      <td><%= f.label :label, 'Label' %><%= f.text_field :label %></td>
      <td><%= f.label :default, 'Default Option' %><%= f.text_field :default %></td>
      <td class="center">-</td>
      <td><%= f.label :options, 'Options' %><%= f.text_field :options %></td>
      <td><%= f.label :required, 'Required?' %><%= f.check_box :required %></td>
      <td width="25" class="up"><a class="page_up" title="Move this field up">up</a></td>
      <td width="30" class="down"><a class="page_down" title="Move this field down">down</a></td>
      <td><%= link_to_function 'Delete', 'return delete_form_field(this);', :class => 'delete' %></td>
    </tr>
<% end %>

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
noodall-form-builder-0.2.1 app/views/noodall/admin/fields/_radio.html.erb
noodall-form-builder-0.2.0 app/views/noodall/admin/fields/_radio.html.erb
noodall-form-builder-0.1.3 app/views/noodall/admin/fields/_radio.html.erb
noodall-form-builder-0.1.2 app/views/noodall/admin/fields/_radio.html.erb
noodall-form-builder-0.1.1 app/views/noodall/admin/fields/_radio.html.erb
noodall-form-builder-0.1.0 app/views/noodall/admin/fields/_radio.html.erb
noodall-form-builder-0.0.13 app/views/noodall/admin/fields/_radio.html.erb
noodall-form-builder-0.0.11 app/views/noodall/admin/fields/_radio.html.erb
noodall-form-builder-0.0.10 app/views/noodall/admin/fields/_radio.html.erb
noodall-form-builder-0.0.9 app/views/noodall/admin/fields/_radio.html.erb
noodall-form-builder-0.0.8 app/views/noodall/admin/fields/_radio.html.erb
noodall-form-builder-0.0.7 app/views/noodall/admin/fields/_radio.html.erb
noodall-form-builder-0.0.6 app/views/noodall/admin/fields/_radio.html.erb
noodall-form-builder-0.0.5 app/views/noodall/admin/fields/_radio.html.erb
noodall-form-builder-0.0.4 app/views/noodall/admin/fields/_radio.html.erb
noodall-form-builder-0.0.3 app/views/noodall/admin/fields/_radio.html.erb
noodall-form-builder-0.0.2 app/views/noodall/admin/fields/_radio.html.erb
noodall-form-builder-0.0.1 app/views/noodall/admin/fields/_radio.html.erb