app/views/patrons/show.html.erb in enju_biblio-0.0.3 vs app/views/patrons/show.html.erb in enju_biblio-0.0.4

- old
+ new

@@ -31,11 +31,11 @@ <li><a href="#manifestation"><em><%= t('activerecord.models.manifestation') -%></em></a></li> <%- end -%> <li><a href="#history"><em><%= t('page.history') -%></em></a></li> </ul> <div id="detail"> - <table class="index vcard"> + <table class="table table-striped index vcard"> <tr> <td><strong><%= t('activerecord.attributes.patron.full_name') -%>:</strong></td> <td> <span class="fn"><%= @patron.full_name -%></span> </td> @@ -120,14 +120,14 @@ <td><%= @patron.address_2_note -%></td> </tr> <%- if !@patron.user or (@patron.user and current_user.try(:has_role?, 'Administrator')) %> <tr> <td><strong><%= t('activerecord.attributes.patron.date_of_birth') -%>:</strong></td> - <td><%= l(@patron.date_of_birth, :format => :only_date) if @patron.date_of_birth -%></td> + <td><%= l(@patron.date_of_birth, :formats => :only_date) if @patron.date_of_birth -%></td> </tr> <tr> <td><strong><%= t('activerecord.attributes.patron.date_of_death') -%>:</strong></td> - <td><%= l(@patron.date_of_death, :format => :only_date) if @patron.date_of_death -%></td> + <td><%= l(@patron.date_of_death, :formats => :only_date) if @patron.date_of_death -%></td> </tr> <% end %> <%- end -%> <tr> <td><strong><%= t('activerecord.attributes.patron.note') -%>:</strong></td>