<% javascript 'backend/sortable' %>
<%= render 'backend/breadcrumbs' %>

<% if @email_templates.any? %>
  <table class="table table-striped table-hover">
    <thead class="thead-inverse">
      <tr>
        <th><%= t 'b.description' %></th>
        <th>&nbsp;</th>
      </tr>
    </thead>

    <tbody>
      <% @email_templates.each do |s| %>
        <tr data-update-position="<%= update_position_backend_email_template_path(s) %>">
          <td><%= s.description %></td>
          <td class="text-xs-right">
            <%= link_to icon(:pencil_square_o), edit_translation_backend_email_template_path(s, translation_locale: default_locale) %>
          </td>
        </tr>
      <% end %>
    </tbody>
  </table>

<% else %>
  <p><%= t 'b.msg.no_items' %></p>
<% end %>

<% javascript 'backend/sortable' %>
<%= render 'backend/breadcrumbs' %>

<% if @email_templates.any? %>
  <table class="table table-striped table-hover">
    <thead class="thead-inverse">
      <tr>
        <th><%= t 'b.description' %></th>
        <th>&nbsp;</th>
      </tr>
    </thead>

    <tbody>
      <% @email_templates.each do |s| %>
        <tr data-update-position="<%= update_position_backend_email_template_path(s) %>">
          <td><%= s.description %></td>
          <td class="text-xs-right">
            <%= link_to_edit [:backend, s] %>
          </td>
        </tr>
      <% end %>
    </tbody>
  </table>

<% else %>
  <p><%= t 'b.msg.no_items' %></p>
<% end %>

Use the shorthand edit link.
Use the shorthand edit link.
