Sha256: 998ab1aa2a09db1bcc88aedea9c95714333edfb1242864213355956ef17c9a5d

Contents?: true

Size: 828 Bytes

Versions: 3

Compression:

Stored size: 828 Bytes

Contents

    <tr class="line<%= cycle("0", "1") -%>">
      <td>
        <%= link_to patron.full_name, patron -%><br />
        <%= patron.full_name_transcription -%>
      </td>
      <td>
        <%= link_to patron.user.username, edit_user_path(patron.user) if patron.user -%>
      </td>
      <td><%= patron.patron_type.display_name.localize -%></td>
      <td><%= l(patron.date_of_birth, :format => :only_date) if patron.date_of_birth -%></td>
      <td>
        <%- if can? :destroy, patron -%>
          <%= link_to image_tag('icons/page_white_edit.png', :size => '16x16', :alt => t('page.edit')), edit_patron_path(patron) -%>
          <%= link_to image_tag('icons/arrow_divide.png', :size => '16x16', :alt => t('patron.add_derivation')), patron_patrons_path(patron, :mode => 'add') -%>
        <%- end -%>
      </td>
    </tr>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
enju_biblio-0.0.3 app/views/patrons/_patron.html.erb
enju_biblio-0.0.2 app/views/patrons/_patron.html.erb
enju_biblio-0.0.1 app/views/patrons/_patron.html.erb