Skip to content

Commit 7b60e5d

Browse files
committed
Better labels in the demo examples
1 parent ae052c9 commit 7b60e5d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

demo/app/views/bootstrap/form.html.erb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
<%= form.email_field :email, placeholder: "Enter Email", label: "Email address", help: "We'll never share your email with anyone else" %>
66
<%= form.password_field :password, placeholder: "Password" %>
77
<%= form.select :status, [['activated', 1], ['blocked', 2]], prompt: "Please Select" %>
8-
<%= form.text_area :misc %>
8+
<%= form.text_area :comments %>
99
<%= form.check_box :terms, label: "Agree to Terms" %>
10-
<%= form.collection_check_boxes :misc, @collection, :id, :street %>
11-
<%= form.collection_radio_buttons :misc, @collection, :id, :street %>
12-
<%= form.file_field :misc %>
13-
<%= form.datetime_select :misc, include_blank: true %>
10+
<%= form.collection_check_boxes :checkboxes, @collection, :id, :street %>
11+
<%= form.collection_radio_buttons :radio_buttons, @collection, :id, :street %>
12+
<%= form.file_field :file %>
13+
<%= form.datetime_select :created_at, include_blank: true %>
1414

1515
<%= form.submit %>
1616
<% end %>
4.13 KB
Loading
9 Bytes
Loading

0 commit comments

Comments
 (0)