lib/padrino-admin/generators/templates/erb/page/index.erb.tt in padrino-admin-0.9.18 vs lib/padrino-admin/generators/templates/erb/page/index.erb.tt in padrino-admin-0.9.19
- old
+ new
@@ -4,10 +4,10 @@
<li class="first active"><%%= link_to pat(:list), url(:<%= @orm.name_plural %>, :index) %></li>
<li><%%= link_to pat(:new), url(:<%= @orm.name_plural %>, :new) %></li>
</ul>
</div>
<div class="content">
- <h2 class="title"><%%= pat(:all) %> <%% mt(:<%= @orm.name_singular %>) %></h2>
+ <h2 class="title"><%%= pat(:all) %> <%% mt(:<%= @orm.name_plural %>) %></h2>
<div class="inner">
<table class="table">
<tr>
<%- @orm.columns.each_with_index do |column, i| -%>
<th<%= " class=\"first\"" if i==0 %>><%%= mat(:<%= @orm.name_singular %>, :<%= column.name %>) %></th>
\ No newline at end of file