<h1>Translations#index</h1>
<p>Find me in app/views/translations/index.html.erb</p>

<h1>Translations for <%= @locale %></h1>

<table>
  <thead>
    <tr>
      <th>Translation Key</th>
      <th>Setting</th>
      <th>Actions</th>
    </tr>
  </thead>
  <tbody>
    <% translation_keys(@locale).each do |key| %>
      <% translation = translation_for_key(@translations, key) %>
      <tr id="<%= key %>">
        <td><%= key %></td>
        <td><%= translation.nil? ? I18n.t(key, locale: @locale) : translation.value %></td>
        <td>
          <% if translation.nil? %>
            <%= link_to "Edit", new_locale_translation_url(@locale, key: key) %>
          <% else %>
            <%= link_to "Edit", edit_locale_translation_url(@locale, translation) %>
            <%= link_to "Reset", locale_translation_url(@locale, translation), method: :delete, data: { confirm: "Are you sure?" } %>
          <% end %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>

<h1>Translations#index</h1>
<p>Find me in app/views/translations/index.html.erb</p>

<h1>Translations for <%= @locale %></h1>

<table>
  <thead>
    <tr>
      <th>Translation Key</th>
      <th>Setting</th>
      <th>Actions</th>
    </tr>
  </thead>
  <tbody>
    <% translation_keys(@locale).each do |key| %>
      <% translation = translation_for_key(@translations, key) %>
      <tr id="<%= key %>">
        <td><%= key %></td>
        <td><%= translation.nil? ? I18n.t(key, locale: @locale) : translation.value %></td>
        <td>
          <% if translation.nil? %>
            <%= link_to "Edit", new_locale_translation_url(@locale, key: key) %>
          <% else %>
            <%= link_to "Edit", edit_locale_translation_url(@locale, translation) %>
            <%= link_to "Reset", locale_translation_url(@locale, translation), method: :delete, data: { confirm: "Are you sure?" } %>
          <% end %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>
<p>
	<%= link_to "New", new_locale_translation_url %>
</p>

Add New link to translations index page
Add New link to translations index page
