donate/app/views/admin/nkuht_donate_departments/_index.html.erb

27 lines
1.0 KiB
Plaintext
Raw Normal View History

2015-01-30 07:02:08 +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('nkuht_donate_department.new_department'), id: 'new'} %>
</div>
</div>
<!-- footer:end -->
<!-- tags -->
<div class="tags">
<div id="tags-list">
<p class="tag-lead lead muted"><%= t('nkuht_donate_department.set_department') %></p>
<% if !@nkuht_donate_departments.blank? %>
<ul class="tags-groups checkbox-card module-tags">
<%= render partial: "department", collection: @nkuht_donate_departments, locals: {in_module: true} %>
</ul>
<% end %>
</div>
</div>
<!-- tags:end -->
<!-- delete -->
<%= render 'delete_modal' %>
<!-- delete:end -->