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:
parent
44f02de2ad
commit
a2da7fd349
5 changed files with 7 additions and 7 deletions
|
@ -11,7 +11,7 @@
|
|||
|
||||
<p style="color: green"><%%= flash[:notice] %></p>
|
||||
|
||||
<%%= yield %>
|
||||
<%%= yield %>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -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 %>
|
|
@ -21,4 +21,4 @@
|
|||
|
||||
<br />
|
||||
|
||||
<%%= link_to 'New <%= singular_name %>', new_<%= singular_name %>_path %>
|
||||
<%%= link_to 'New <%= singular_name %>', new_<%= singular_name %>_path %>
|
|
@ -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 %>
|
|
@ -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 %>
|
Loading…
Reference in a new issue