Skip to content

Commit

Permalink
Update scaffold to use labels instead of bold tags. Closes #10757 [za…
Browse files Browse the repository at this point in the history
…ch-inglis-lt3]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8629 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
technoweenie committed Jan 12, 2008
1 parent 9889d86 commit 3dd6027
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 2 additions & 0 deletions railties/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*

* Update scaffold to use labels instead of bold tags. Closes #10757 [zach-inglis-lt3]

* Resurrect WordNet synonym lookups. #10710 [tom./, matt]

* Added config.cache_store to environment options to control the default cache store (default is FileStore if tmp/cache is present, otherwise MemoryStore is used) [DHH]
Expand Down
Expand Up @@ -5,10 +5,9 @@
<%% form_for(@<%= singular_name %>) do |f| %>
<% for attribute in attributes -%>
<p>
<b><%= attribute.column.human_name %></b><br />
<%%= f.label :<%= attribute.name %> %><br />
<%%= f.<%= attribute.field_type %> :<%= attribute.name %> %>
</p>

<% end -%>
<p>
<%%= f.submit "Update" %>
Expand Down
Expand Up @@ -5,10 +5,9 @@
<%% form_for(@<%= singular_name %>) do |f| %>
<% for attribute in attributes -%>
<p>
<b><%= attribute.column.human_name %></b><br />
<%%= f.label :<%= attribute.name %> %><br />
<%%= f.<%= attribute.field_type %> :<%= attribute.name %> %>
</p>

<% end -%>
<p>
<%%= f.submit "Create" %>
Expand Down

0 comments on commit 3dd6027

Please sign in to comment.