Sha256: 2a59eaebf101b1962d823e724ef6c775508c161445321c50f02286d9dd64f4ed

Contents?: true

Size: 1.45 KB

Versions: 6

Compression:

Stored size: 1.45 KB

Contents

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

<table class="table table-striped index">
  <tr>
    <th id="position"></th>
    <th><%= t('activerecord.attributes.language.native_name') -%></th>
    <th><%= t('activerecord.attributes.language.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.native_name -%></td>
    <td><%= language.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>

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

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
enju_biblio-0.0.9 app/views/languages/index.html.erb
enju_biblio-0.0.8 app/views/languages/index.html.erb
enju_biblio-0.0.7 app/views/languages/index.html.erb
enju_biblio-0.0.6 app/views/languages/index.html.erb
enju_biblio-0.0.5 app/views/languages/index.html.erb
enju_biblio-0.0.4 app/views/languages/index.html.erb