Sha256: 15f95e4a5da4f5b70f8838ae002bb46143c6e290f43942874cb2e89ffd4d2736
Contents?: true
Size: 775 Bytes
Versions: 1
Compression:
Stored size: 775 Bytes
Contents
<div class=o-page> <div class=pull-right> <%= link_to t('.new_page'), :new_admin_page, class: 'button success' %> </div> <h2 class=text-center><%= t('.page_title') %></h2> <table class=table> <tr> <th>ID <th><%= Lcms::Engine::Page.human_attribute_name :title %> <th><%= t('ui.actions') %> </tr> <% @pages.each do |page| %> <tr id=page_<%= page.id %>> <td><%= page.id %> <td><%= page.title %> <td> <%= link_to t('ui.edit'), edit_admin_page_path(page), class: 'button primary' %> <%= button_to t('ui.delete'), admin_page_path(page), class: 'button alert', data: { confirm: t('ui.are_you_sure') }, form_class: 'inline', method: :delete %> </tr> <% end %> </table> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lcms-engine-0.2.0 | app/views/lcms/engine/admin/pages/index.html.erb |