lib/templates/views/erb/show.html.erb in thesilverspoon-0.0.9 vs lib/templates/views/erb/show.html.erb in thesilverspoon-0.0.10
- old
+ new
@@ -1,6 +1,6 @@
-<%% title "<%= singular_name.titleize %>" %>
+<span style="color:white"><%% "<%= singular_name.titleize %>" %></span>
<%- for attribute in model_attributes -%>
<p>
<strong><%= attribute.human_name.titleize %>:</strong>
<%%= @<%= instance_name %>.<%= attribute.name %> %>
@@ -15,6 +15,6 @@
<%%= link_to "Destroy", <%= item_path :instance_variable => true %>, :confirm => 'Are you sure?', :method => :delete %> |
<%- end -%>
<%- if action? :index -%>
<%%= link_to "View All", <%= items_path %> %>
<%- end -%>
-</p>
\ No newline at end of file
+</p>