Permalink
Browse files

Merge commit 'jose/generators'

  • Loading branch information...
2 parents 7316d02 + d8d83e7 commit 7e3abbfdc2087e397816f2b81b739558c064c576 @wycats wycats committed Aug 31, 2009
@@ -2,12 +2,12 @@
<%%= f.error_messages %>
<% for attribute in attributes -%>
- <div class="attribute">
+ <div class="field">
<%%= f.label :<%= attribute.name %> %><br />
<%%= f.<%= attribute.field_type %> :<%= attribute.name %> %>
</div>
<% end -%>
- <div class="action">
+ <div class="actions">
<%% if @<%= singular_name %>.new_record? %>
<%%= f.submit 'Create' %>
<%% else %>
@@ -16,7 +16,7 @@ a { color: #000; }
a:visited { color: #666; }
a:hover { color: #fff; background-color:#000; }
-div.attribute, div.action {
+div.field, div.actions {
margin-bottom: 10px;
}
@@ -75,6 +75,7 @@ def test_scaffold_on_invoke
edit
new
show
+ _form
).each { |view| assert_file "app/views/product_lines/#{view}.html.erb" }
assert_file "app/views/layouts/product_lines.html.erb"

0 comments on commit 7e3abbf

Please sign in to comment.