Sha256: 433c44545a910bd79a64f327b2c113a223f00cebfa69e54e57a0afb7b3fbef1a

Contents?: true

Size: 1.36 KB

Versions: 4

Compression:

Stored size: 1.36 KB

Contents

<%= form.text_field :text_field, :description => "This is a text field" %>
<%= form.password_field :password_field, :description => "This is a password field" %>
<%= form.telephone_field :telephone_field, :description => "This is a telephone field" %>
<%#= form.date_field :date_field, :description => "This is a date field" %>
<%= form.url_field :url_field, :description => "This is an url field" %>
<%= form.email_field :email_field, :description => "This is an email field" %>
<%= form.number_field :number_field, :description => "This is a number field" %>
<%= form.range_field :range_field, :description => "This is a range field" %>
<%= form.file_field :file_field, :description => "This is a file field" %>
<%= form.text_area :text_area, :description => "This is a text area" %>
<%= form.select :select_field, [['Option1'], ['Option2'], ['Option3']], {}, :description => "This is a select field" %>
<%= form.select :multiple_select_field, [['Option1'], ['Option2'], ['Option3']], {}, :multiple => true, :description => "This is a multi select field" %>

<div class="group">
  <%= form.label "Checkboxes", :class => "label" %>
  <%= form.check_box :checkbox_one %>
  <%= form.check_box :checkbox_two %>
</div>

<div class="group">
  <%= form.label "Radio", :class => "label" %>
  <%= form.radio_button :radio_button, "Value 1" %>
  <%= form.radio_button :radio_button, "Value 2" %>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
manageable-0.1.4 spec/dummy/app/views/samples/_form_fields.html.erb
manageable-0.1.3 spec/dummy/app/views/samples/_form_fields.html.erb
manageable-0.1.2 spec/dummy/app/views/samples/_form_fields.html.erb
manageable-0.1.1 spec/dummy/app/views/samples/_form_fields.html.erb