archive_exam/app/views/admin/archive_exam_departments/_index.html.erb

27 lines
1.0 KiB
Plaintext
Raw Permalink Normal View History

2015-04-08 02:52:35 +00:00
<!-- footer -->
<div class="bottomnav clearfix">
<div class="action pull-right">
<button id="selectAllTags" class="btn"><%= t(:select_all) %></button>
<button id="deselect" class="btn btn-inverse toggable hide"><%= t(:deselect_all) %></button>
<%= link_to t(:delete_), '#', id: "deleteUnits", class: "btn btn-danger toggable hide", rel: '' %>
<%= link_to content_tag(:i, nil, class: "icons-plus") + " " + t(:add), '#', class: "btn btn-primary open-slide", data: {title: t('archive_exam_department.new_department'), id: 'new'} %>
</div>
</div>
<!-- footer:end -->
<!-- tags -->
<div class="tags">
<div id="tags-list">
<p class="tag-lead lead muted"><%= t('archive_exam_department.set_department') %></p>
<% if !@archive_exam_departments.blank? %>
<ul class="tags-groups checkbox-card module-tags">
<%= render partial: "department", collection: @archive_exam_departments, locals: {in_module: true} %>
</ul>
<% end %>
</div>
</div>
<!-- tags:end -->
<!-- delete -->
<%= render 'delete_modal' %>
<!-- delete:end -->