1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

A few more minor scaffold template cleanups

This commit is contained in:
David Heinemeier Hansson 2009-02-05 20:30:33 +01:00
parent 44f02de2ad
commit a2da7fd349
5 changed files with 7 additions and 7 deletions

View file

@ -11,7 +11,7 @@
<p style="color: green"><%%= flash[:notice] %></p>
<%%= yield %>
<%%= yield %>
</body>
</html>

View file

@ -10,9 +10,9 @@
</p>
<% end -%>
<p>
<%%= f.submit "Update" %>
<%%= f.submit 'Update' %>
</p>
<%% end %>
<%%= link_to 'Show', @<%= singular_name %> %> |
<%%= link_to 'Back', <%= plural_name %>_path %>
<%%= link_to 'Back', <%= plural_name %>_path %>

View file

@ -21,4 +21,4 @@
<br />
<%%= link_to 'New <%= singular_name %>', new_<%= singular_name %>_path %>
<%%= link_to 'New <%= singular_name %>', new_<%= singular_name %>_path %>

View file

@ -10,8 +10,8 @@
</p>
<% end -%>
<p>
<%%= f.submit "Create" %>
<%%= f.submit 'Create' %>
</p>
<%% end %>
<%%= link_to 'Back', <%= plural_name %>_path %>
<%%= link_to 'Back', <%= plural_name %>_path %>

View file

@ -7,4 +7,4 @@
<% end -%>
<%%= link_to 'Edit', edit_<%= singular_name %>_path(@<%= singular_name %>) %> |
<%%= link_to 'Back', <%= plural_name %>_path %>
<%%= link_to 'Back', <%= plural_name %>_path %>