1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/app/views/staffs/people/passports/_table.html.erb

35 lines
879 B
Text

<table class="table">
<thead>
<tr>
<th scope="col">
<%= Passport.human_attribute_name :id %>
</th>
<th scope="col">
<%= Passport.human_attribute_name :series %>
</th>
<th scope="col">
<%= Passport.human_attribute_name :number %>
</th>
<th scope="col">
<%= Passport.human_attribute_name :unit_code %>
</th>
<th scope="col">
<%= Passport.human_attribute_name :date_of_issue %>
</th>
<th scope="col"></th>
</tr>
</thead>
<tbody>
<% passports.each do |passport| %>
<tr>
<td scope="row"><%= passport.id %></td>
<td><%= passport.series %></td>
<td><%= passport.number %></td>
<td><%= passport.unit_code %></td>
<td><%= passport.date_of_issue %></td>
<td></td>
</tr>
<% end %>
</tbody>
</table>