Sha256: d8c5643f20644238360e76a134b7f7afdc7278c99042327df977c7792d7dd20f
Contents?: true
Size: 1.75 KB
Versions: 2
Compression:
Stored size: 1.75 KB
Contents
<div class="block"> <div class="secondary-navigation"> <ul class="wat-cf"> <li class="first active"><%%= link_to t("admin-theme.list"), <%= controller_routing_path %>_path %></li> <li><%%= link_to t("admin-theme.new"), new_<%= singular_controller_routing_path %>_path %></li> </ul> </div> <div class="content"> <h2 class="title"><%%= t("admin-theme.all") %> <%= plural_model_name %></h2> <div class="inner"> <table class="table"> <tr> <th class="first">ID</th> <th><%%= t("admin-theme.created_at") %></th> <th><%%= t("admin-theme.updated_at") %></th> <th class="last"> </th> </tr> <%% @<%= plural_resource_name %>.each do |<%= resource_name %>| -%> <tr class="<%%= cycle("odd", "even") %>"> <td><%%= <%= resource_name %>.id %></td> <td><%%= l <%= resource_name %>.created_at, :format => :'admin-theme' %></td> <td><%%= l <%= resource_name %>.updated_at, :format => :'admin-theme' %></td> <td class="last"> <%%= link_to t("admin-theme.show"), <%= singular_controller_routing_path %>_path(<%= resource_name %>) %> | <%%= link_to t("admin-theme.edit"), edit_<%= singular_controller_routing_path %>_path(<%= resource_name %>) %> | <%%= link_to t("admin-theme.delete"), <%= singular_controller_routing_path %>_path(<%= resource_name %>), :method => :delete, :data => { :confirm => t("admin-theme.confirm") } %> </td> </tr> <%% end -%> </table> <div class="actions-bar wat-cf"> <div class="actions"></div> <% if options.pagination %> <%%= paginate(@<%= plural_resource_name %>, :theme => 'admin_theme') %><% end %> </div> </div> </div> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
admin-theme-1.1.0 | lib/generators/admin_theme/resource/templates/erb/view_index.html.erb |
admin-theme-1.0.1 | lib/generators/admin_theme/resource/templates/view_index.html.erb |