Sha256: 8f3d2ba220bd1ec2150caf4d416faeadc6c5fdf08c34ed3db8c26bf44bab9a76

Contents?: true

Size: 797 Bytes

Versions: 1

Compression:

Stored size: 797 Bytes

Contents

<%= render 'menu' %>

<div class="ui attached segment">
  <%= render 'search_form' %>
</div>

<table class="ui bottom attached celled table">
  <thead>
    <tr>
      <th><%= Department.human_attribute_name(:name) %></th>
      <th><%= Department.human_attribute_name(:office) %></th>
      <th><%= Department.human_attribute_name(:leader) %></th>
      <% Department::SUPPORTS.each do |text| %>
        <th><%= Department.human_attribute_name(text) %></th>
      <% end %>
      <th>Actions</th>
    </tr>
  </thead>

  <tbody>
  <% @departments.each do |department| %>
    <%= render partial: 'department_support', locals: { node: department } %>
    <%= draw_tree(department, partial: 'org/admin/departments/department_support') %>
  <% end %>
  </tbody>
</table>

<%= paginate @departments %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_org-0.0.1 app/views/org/admin/departments/supports.html.erb