2013-07-02 08:46:44 +00:00
|
|
|
<% content_for :page_specific_javascript do %>
|
|
|
|
<%= javascript_include_tag "lib/modal-preview" if @approvable %>
|
|
|
|
<script>
|
|
|
|
$(document).ready(function(){
|
|
|
|
$('.reject_info').tooltip({
|
|
|
|
placement : 'bottom'
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<% content_for :right_nav do %>
|
|
|
|
<!-- <div class="pull-right">
|
|
|
|
<input id="filter-input" class="search-query input-medium" type="text" placeholder="<%= t(:search_) %>" value="">
|
|
|
|
</div> -->
|
|
|
|
<% if @filterable %>
|
|
|
|
<ul class="nav nav-pills filter-nav pull-right">
|
|
|
|
<% @filter_fields.each do |field| %>
|
|
|
|
<li class="accordion-group">
|
|
|
|
<div class="accordion-heading">
|
|
|
|
<a href="#collapse-<%= field[:translation] %>" data-toggle="collapse" data-parent="#filter" class="accordion-toggle"><%= t(field[:translation]) %></a>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|
|
|
|
<div class="filter-group accordion-group">
|
|
|
|
<% @filter_fields.each do |field| %>
|
|
|
|
<div class="accordion-body collapse" id="collapse-<%= field[:translation] %>">
|
|
|
|
<%= render partial: 'admin/default_index/filter', locals: {field: field} %>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<%= index_table %>
|
|
|
|
|
|
|
|
<%= @index_footer %>
|
|
|
|
|
2013-07-29 06:29:37 +00:00
|
|
|
<%= render 'layouts/delete_modal', delete_options: @delete_options %>
|