app/views/dhatu/team_members/index.html.erb in dhatu-0.1.19 vs app/views/dhatu/team_members/index.html.erb in dhatu-0.1.20

- old
+ new

@@ -1,18 +1,10 @@ <div class="row"> <div class="col-md-12"> <ul class="nav nav-tabs nav-tabs-justified"> - <% Dhatu::TeamMember::STATUS.each do |key, value| %> - <li class="<%= @status == value ? 'active' : '' %>"> - <%= link_to team_members_path(st: value), "aria-expanded" => "#{ @status == value ? 'true' : 'false' }" do %> - <span class="visible-xs"><i class="fa-gift"></i></span> - <span class="hidden-xs"><%= key %></span> - <% end %> - </li> - <% end %> </ul> <div class="tab-content"> <div class="tab-pane active"> @@ -24,9 +16,22 @@ <%= theme_button('Refresh', 'refresh', team_members_path(st: @status), classes: "pull-left mr-10", btn_type: "white") %> </div> <div class="col-sm-6"> <%= search_form_kuppayam(Dhatu::TeamMember, team_members_path(st: @status), text: @filters[:query]) %> + </div> + </div> + <div class="row"> + <div class="col-md-12 visible-sm visible-xs mt-10"> + </div> + <div class="col-md-12"> + <% @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 %> </div> </div> </div> <%= clear_tag(10) %>