Sha256: 16ec655641c83c20e1dce1660043b5bd3a23ce5ec5373fbfffd6c8170cbbb862

Contents?: true

Size: 1.46 KB

Versions: 28

Compression:

Stored size: 1.46 KB

Contents

<div id="content_detail" class="ui-corner-all">
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.message_template')) -%></h1>
<div id="content_list">

<table class="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? :destroy, message_template -%>
        <%= link_to t('page.destroy'), message_template, :confirm => t('page.are_you_sure'), :method => :delete -%>
      <%- end -%>
    </td>
  </tr>
<%- end -%>
</table>

<%= will_paginate(@message_templates) -%>
</div>
</div>

<div id="submenu" class="ui-corner-all">
  <ul>
    <li><%= link_to t('page.new', :model => t('activerecord.models.message_template')), new_message_template_path -%></li>
  </ul>
</div>

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
enju_message-0.0.23 app/views/message_templates/index.html.erb
enju_message-0.1.7 app/views/message_templates/index.html.erb
enju_message-0.0.22 app/views/message_templates/index.html.erb
enju_message-0.1.6 app/views/message_templates/index.html.erb
enju_message-0.0.21 app/views/message_templates/index.html.erb
enju_message-0.1.5 app/views/message_templates/index.html.erb
enju_message-0.0.20 app/views/message_templates/index.html.erb
enju_message-0.1.4 app/views/message_templates/index.html.erb
enju_message-0.1.3 app/views/message_templates/index.html.erb
enju_message-0.1.2 app/views/message_templates/index.html.erb
enju_message-0.0.19 app/views/message_templates/index.html.erb
enju_message-0.1.1 app/views/message_templates/index.html.erb
enju_message-0.1.0 app/views/message_templates/index.html.erb
enju_message-0.0.18 app/views/message_templates/index.html.erb
enju_message-0.0.17 app/views/message_templates/index.html.erb
enju_message-0.0.16 app/views/message_templates/index.html.erb
enju_message-0.0.15 app/views/message_templates/index.html.erb
enju_message-0.0.14 app/views/message_templates/index.html.erb
enju_message-0.0.13 app/views/message_templates/index.html.erb
enju_message-0.0.12 app/views/message_templates/index.html.erb