forked from fixin.me/fixin.me
To allow proper path prefix for view partials when using config.action_view.prefix_partial_path_with_controller_namespace
18 lines
454 B
Plaintext
18 lines
454 B
Plaintext
<div class="rightside buttongrid">
|
|
<%= image_link_to t('.back'), 'arrow-left-bold-outline', units_path %>
|
|
</div>
|
|
|
|
<table class="main items">
|
|
<thead>
|
|
<tr>
|
|
<th><%= User.human_attribute_name(:symbol).capitalize %></th>
|
|
<% if current_user.at_least(:active) %>
|
|
<th><%= t :actions %></th>
|
|
<% end %>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="units">
|
|
<%= render(@units, partial: 'default') || render_no_items %>
|
|
</tbody>
|
|
</table>
|