Sha256: a4bcf9c0a3955cacecbc8b5ec7adc21d0d602b6155c4481476dbee38c612691a

Contents?: true

Size: 802 Bytes

Versions: 4

Compression:

Stored size: 802 Bytes

Contents

<% content_for :breadcrumb do %>
<ol class="breadcrumb">
  <li class="active"><%= _('Translations') %></li>
</ol>
<% end %>

<table class="table table-striped">
  <thead>
    <tr>
      <th><%= _('Text') %></th>
    <% I18n.available_locales.each do |locale| %>
      <th><%= _(locale) %></th>
    <% end %>
    </tr>
  </thead>
  <tbody>
<% @translations.keys.sort.each do |key| %>
    <tr>
      <th width="<%= 100 / @columns %>%" scope="row">
        <%= key %>
      </th>
    <% I18n.available_locales.each do |locale| %>
      <td width="<%= 100 / @columns %>%">
        <a href="#" data-pk="<%= "#{locale}.#{key}" %>" data-url="<%= translations_path %>" class="editable">
          <%= @translations[key][locale] %>
        </a>
      </td>
    <% end %>
    </tr>
<% end %>
  </tbody>
</table>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
citizen_budget_model-0.0.4 app/views/citizen_budget_model/translations/index.html.erb
citizen_budget_model-0.0.3 app/views/citizen_budget_model/translations/index.html.erb
citizen_budget_model-0.0.2 app/views/citizen_budget_model/translations/index.html.erb
citizen_budget_model-0.0.1 app/views/citizen_budget_model/translations/index.html.erb