Sha256: b7d17789a47d30eac87e9c2e6055a5e99842abf2ee4d96971013cd92f02e6cbb
Contents?: true
Size: 1.42 KB
Versions: 9
Compression:
Stored size: 1.42 KB
Contents
<div class="row"> <div class="col-md-12"> <ul class="nav nav-tabs nav-tabs-justified"> <% Dhatu::Section::STATUS.each do |key, value| %> <li class="<%= @status == value ? 'active' : '' %>"> <%= link_to dhatu.sections_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"> <div id="div_section_action_buttons"> <div class="row"> <div class="col-sm-6"> <%= theme_button('Add a Section', 'plus', dhatu.new_section_path(), classes: "pull-left mr-10", btn_type: "success") if @current_user.has_create_permission?(Dhatu::Section) %> <%= theme_button('Refresh', 'refresh', dhatu.sections_path(st: @status), classes: "pull-left mr-10", btn_type: "white") %> </div> <div class="col-sm-6"> <%= search_form_kuppayam(Dhatu::Section, dhatu.sections_path(st: @status), text: @filters[:query]) %> </div> </div> </div> <%= clear_tag(10) %> <div id="div_section_index"> <%= render :partial=>"dhatu/sections/index" %> </div> <%= clear_tag(10) %> </div> </div> </div> </div>
Version data entries
9 entries across 9 versions & 1 rubygems