Sha256: e328223025a6d34b7d078c96e59179fabd0c22280bf38dc58b3d28b946af6bd3
Contents?: true
Size: 1.53 KB
Versions: 7
Compression:
Stored size: 1.53 KB
Contents
<div id="content_detail" class="ui-corner-all ui-widget-content"> <h1 class="title"><%= t('page.listing', model: t('activerecord.models.message_template')) -%></h1> <div id="content_list"> <p id="notice"><%= notice %></p> <table class="table table-striped index"> <tr> <th id="position"></th> <th><%= t('activerecord.attributes.message_template.status') -%></th> <th><%= t('activerecord.attributes.message_template.locale') -%></th> <th><%= t('activerecord.attributes.message_template.title') -%></th> <th></th> </tr> <%- @message_templates.each do |message_template| -%> <tr class="line<%= cycle("0", "1") -%>"> <td> <%- if can? :update, message_template -%> <%= move_position(message_template) -%> <%- end -%> </td> <td><%= link_to message_template.status, message_template -%></td> <td><%= message_template.locale -%></td> <td><%= message_template.title -%></td> <td> <%- if can? :update, message_template -%> <%= link_to t('page.edit'), edit_message_template_path(message_template) -%> <% end %> <%- if can? :delete, message_template -%> <%= link_to t('page.destroy'), message_template, data: {confirm: t('page.are_you_sure')}, method: :delete -%> <%- end -%> </td> </tr> <%- end -%> </table> <%= paginate(@message_templates) -%> </div> </div> <div id="submenu" class="ui-corner-all ui-widget-content"> <ul> <li><%= link_to t('page.new', model: t('activerecord.models.message_template')), new_message_template_path -%></li> </ul> </div>
Version data entries
7 entries across 7 versions & 1 rubygems