| 
						
						
						
					 | 
					 | 
					@ -1,20 +1,19 @@ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					query = params[:query] | 
					 | 
					 | 
					 | 
					<% query = params[:query] %> | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  params = request.params.except(:authenticity_token, :action, :controller, :utf8, :bulk_export) | 
					 | 
					 | 
					 | 
					<% params = request.params.except(:authenticity_token, :action, :controller, :utf8, :bulk_export) %> | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  params.delete(:query) if params[:query].blank? | 
					 | 
					 | 
					 | 
					<% params.delete(:query) if params[:query].blank? %> | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  params.delete(:sort_reverse) unless params[:sort_reverse] == "true" | 
					 | 
					 | 
					 | 
					<% params.delete(:sort_reverse) unless params[:sort_reverse] == "true" %> | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  sort_reverse = params[:sort_reverse] | 
					 | 
					 | 
					 | 
					<% sort_reverse = params[:sort_reverse] %> | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  sort = params[:sort] | 
					 | 
					 | 
					 | 
					<% sort = params[:sort] %> | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  params.delete(:sort) if params[:sort] == @model_config.list.sort_by.to_s | 
					 | 
					 | 
					 | 
					<% params.delete(:sort) if params[:sort] == @model_config.list.sort_by.to_s %> | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  export_action = RailsAdmin::Config::Actions.find(:export, { controller: controller, abstract_model: @abstract_model }) | 
					 | 
					 | 
					 | 
					<% export_action = RailsAdmin::Config::Actions.find(:export, { controller:, abstract_model: @abstract_model }) %> | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  export_action = nil unless export_action && authorized?(export_action.authorization_key, @abstract_model) | 
					 | 
					 | 
					 | 
					<% export_action = nil unless export_action && authorized?(export_action.authorization_key, @abstract_model) %> | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  description = RailsAdmin.config(@abstract_model.model_name).description | 
					 | 
					 | 
					 | 
					<% description = RailsAdmin.config(@abstract_model.model_name).description %> | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  properties = @model_config.list.with(controller: controller, view: self, object: @abstract_model.model.new).fields_for_table | 
					 | 
					 | 
					 | 
					<% properties = @model_config.list.with(controller:, view: self, object: @abstract_model.model.new).fields_for_table %> | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  checkboxes = @model_config.list.checkboxes? | 
					 | 
					 | 
					 | 
					<% checkboxes = @model_config.list.checkboxes? %> | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  table_table_header_count = begin | 
					 | 
					 | 
					 | 
					<% table_table_header_count = begin | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    count = checkboxes ? 1 : 0 | 
					 | 
					 | 
					 | 
					     count = checkboxes ? 1 : 0 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    count += properties.count | 
					 | 
					 | 
					 | 
					     count += properties.count | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  end | 
					 | 
					 | 
					 | 
					   end %> | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					%> | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					<% content_for :contextual_tabs do %> | 
					 | 
					 | 
					 | 
					<% content_for :contextual_tabs do %> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  <% if filterable_fields.present? %> | 
					 | 
					 | 
					 | 
					  <% if filterable_fields.present? %> | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -57,7 +56,7 @@ query = params[:query] | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <div class="row"> | 
					 | 
					 | 
					 | 
					      <div class="row"> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        <div class="col-sm-6"> | 
					 | 
					 | 
					 | 
					        <div class="col-sm-6"> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          <div class="input-group"> | 
					 | 
					 | 
					 | 
					          <div class="input-group"> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <input class="form-control" name="query" placeholder="<%= t("admin.misc.filter") %>" type="search" value="<%= query %>"> | 
					 | 
					 | 
					 | 
					            <input class="form-control" name="query" placeholder="<%= t("admin.misc.filter") %>" type="search" value="<%= query %>" autocomplete="off"> | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <button class="btn btn-primary" data-disable-with="<%= "<i class=\"fas fa-sync\"></i>#{t('admin.misc.refresh')}" %>" type="submit"> | 
					 | 
					 | 
					 | 
					            <button class="btn btn-primary" data-disable-with="<%= "<i class=\"fas fa-sync\"></i>#{t('admin.misc.refresh')}" %>" type="submit"> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              <i class="fas fa-sync"></i> | 
					 | 
					 | 
					 | 
					              <i class="fas fa-sync"></i> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              <%= t("admin.misc.refresh") %> | 
					 | 
					 | 
					 | 
					              <%= t("admin.misc.refresh") %> | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |