<%= theme_button('Add a Project', 'plus', dhatu.new_project_path(ct: @category.try(:id)), classes: "pull-left mr-10", btn_type: "success") if @current_user.has_create_permission?(Dhatu::Project) %> <%= theme_button('Refresh', 'refresh', dhatu.projects_path(ct: @category.try(:id)), classes: "pull-left mr-10", btn_type: "white") %>
<%= search_form_kuppayam(Dhatu::Project, dhatu.projects_path(), text: @filters[:query]) %>
<% @filter_ui_settings.each do |filter_name, options| %> <% if options[:object_filter] == true %> <%= report_object_filter(filter_name, options) %> <% else %> <%= report_filter(filter_name, options) %> <% end %> <% end %>
<%= clear_tag(10) %>
<%= render :partial=>"dhatu/projects/index" %>
<%= clear_tag(10) %>