Sha256: 0ecd8d3637ca3270b5418ad2fd3c5bf2d38d052ab5436c1b49bb29aa32293aae

Contents?: true

Size: 1.5 KB

Versions: 1

Compression:

Stored size: 1.5 KB

Contents

<%= render 'filter_form' %>

<table class="table is-hoverable is-fullwidth">
  <thead>
    <tr>
      <th><%= Org::MemberDepartment.human_attribute_name(:id) %></th>
      <th><%= Org::MemberDepartment.human_attribute_name(:office_id) %></th>
      <th><%= Org::MemberDepartment.human_attribute_name(:job_title_id) %></th>
      <th>
        <%= link_to new_admin_member_department_path, class: 'button is-link is-small' do %>
          <i class="fas fa-plus"></i><% t('.new') %>
        <% end %>
      </th>
    </tr>
  </thead>
  <tbody>
  <% @member_departments.each do |member_department| %>
    <tr>
      <td><%= member_department.id %></td>
      <td><%= member_department.office_id %></td>
      <td><%= member_department.job_title_id %></td>
      <td>
        <%= link_to admin_member_department_path(member_department), aria: { label: t('.show') }, class: 'button is-small is-rounded is-light' do %>
          <i class="fas fa-info"></i>
        <% end %>
        <%= link_to edit_admin_member_department_path(member_department), aria: { label: t('.edit') }, class: 'button is-small is-rounded is-light' do %>
          <i class="fas fa-pencil-alt"></i>
        <% end %>
        <%= link_to admin_member_department_path(member_department), method: :delete, aria: { label: t('.destroy') }, data: { confirm: t('.confirm') }, class: 'button is-small is-rounded is-light' do %>
          <i class="fas fa-trash-alt"></i>
        <% end %>
      </td>
    </tr>
  <% end %>
  </tbody>
</table>

<%= paginate @member_departments %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_org-0.0.1 app/views/org/admin/member_departments/index.html.erb