app/views/admin/kitsune/records/index.html.erb in kitsune-0.0.2 vs app/views/admin/kitsune/records/index.html.erb in kitsune-0.0.3
- old
+ new
@@ -1,11 +1,11 @@
-<div id='menu'>
- <%= link_to 'Back', admin_kitsune_models_path %>
- |
- <%= link_to "New #{params[:id]}", new_admin_kitsune_model_record_path(params[:model_id]) %>
+<div id='kitsune_record_header'>
+ <h2><%= @model.admin_name %></h2>
+ <div id='menu'>
+ <%= link_to "New #{params[:id]}", new_admin_kitsune_model_record_path(params[:model_id]) %>
+ </div>
</div>
-<div id='body'>
<% @model.tabs.each do |key, value|%>
<%= link_to key, value %>
<% end %>
<table>
<thead>
@@ -30,7 +30,6 @@
</tr>
<% end %>
</tbody>
</table>
-<%= will_paginate @records %>
-</div>
+<%= will_paginate @records %>
\ No newline at end of file