app/views/usman/features/index.html.erb in usman-0.4.7.pre.materialize vs app/views/usman/features/index.html.erb in usman-0.4.8.pre.materialize

- old
+ new

@@ -1,10 +1,15 @@ <div class="row"> <div class="col-md-12"> <ul class="nav nav-tabs"> + <% @feature_categories.uniq.each do |f| %> + <li class="<%= @feature_category == f ? 'active' : '' %>"> + <%= link_to f, features_path(fc: f) %> + </li> + <% end %> </ul> <div class="tab-content"> <div class="tab-pane active"> <div id="div_feature_action_buttons"> @@ -18,9 +23,22 @@ </div> <div class="col-md-6"> <%= search_form_kuppayam(Feature, features_path, text: @filters[:query]) %> </div> </div> + + <div class="row"> + <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) %> <div id="div_feature_index"> <%= render :partial=>"usman/features/index" %> \ No newline at end of file