Sha256: 0c1949b9b95647d96ba5e562b2c9adcd39e4e8bbbdac4a1db5fd1f6945b184e1

Contents?: true

Size: 1.51 KB

Versions: 19

Compression:

Stored size: 1.51 KB

Contents

<div id="content_detail" class="ui-corner-all ui-widget-content">
<h1 class="title"><%= t('page.listing', model: t('activerecord.models.language')) -%></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.language.name') -%></th>
    <th><%= t('activerecord.attributes.language.native_name') -%></th>
    <th><%= t('activerecord.attributes.language.display_name') -%></th>
    <th><%= 'ISO 639-1' -%></th>
    <th><%= 'ISO 639-2' -%></th>
    <th><%= 'ISO 639-3' -%></th>
    <th></th>
  </tr>

<%- @languages.each do |language| -%>
  <tr class="line<%= cycle("0", "1") -%>">
    <td>
      <%- if can? :update, language -%>
        <%= move_position(language) -%>
      <%- end -%>
    </td>
    <td><%= language.name -%></td>
    <td><%= language.native_name -%></td>
    <td><%= link_to language.display_name.localize, language -%></td>
    <td><%= language.iso_639_1 -%></td>
    <td><%= language.iso_639_2 -%></td>
    <td><%= language.iso_639_3 -%></td>
    <td>
      <%- if can? :update, language -%>
        <%= link_to t('page.edit'), edit_language_path(language) -%>
      <%- end -%>
    </td>
  </tr>
<%- end -%>
</table>

<%= paginate(@languages) -%>
</div>
</div>

<div id="submenu" class="ui-corner-all ui-widget-content">
  <%- if can? :create, Language -%>
    <ul>
      <li><%= link_to t('page.new', model: t('activerecord.models.language')), new_language_path -%></li>
    </ul>
  <%- end -%>
</div>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
enju_biblio-0.1.3 app/views/languages/index.html.erb
enju_biblio-0.1.2 app/views/languages/index.html.erb
enju_biblio-0.1.1 app/views/languages/index.html.erb
enju_biblio-0.1.0 app/views/languages/index.html.erb
enju_biblio-0.1.0.pre71 app/views/languages/index.html.erb
enju_biblio-0.1.0.pre70 app/views/languages/index.html.erb
enju_biblio-0.1.0.pre69 app/views/languages/index.html.erb
enju_biblio-0.1.0.pre68 app/views/languages/index.html.erb
enju_biblio-0.1.0.pre67 app/views/languages/index.html.erb
enju_biblio-0.1.0.pre66 app/views/languages/index.html.erb
enju_biblio-0.1.0.pre65 app/views/languages/index.html.erb
enju_biblio-0.1.0.pre64 app/views/languages/index.html.erb
enju_biblio-0.1.0.pre63 app/views/languages/index.html.erb
enju_biblio-0.1.0.pre62 app/views/languages/index.html.erb
enju_biblio-0.1.0.pre61 app/views/languages/index.html.erb
enju_biblio-0.1.0.pre60 app/views/languages/index.html.erb
enju_biblio-0.1.0.pre59 app/views/languages/index.html.erb
enju_biblio-0.1.0.pre58 app/views/languages/index.html.erb
enju_biblio-0.1.0.pre57 app/views/languages/index.html.erb