lib/templates/views/erb/index.html.erb in thesilverspoon-0.0.3 vs lib/templates/views/erb/index.html.erb in thesilverspoon-0.0.4
- old
+ new
@@ -1,5 +1,8 @@
-<%% title "<%= plural_name.titleize %>" %>
+
+<%%= content_for :page_header do %>
+<%% "<%= plural_name.titleize %>" %>
+<%% end %>
<table>
<tr>
<%- for attribute in model_attributes -%>
<th><%= attribute.human_name.titleize %></th>
\ No newline at end of file