Sha256: f04792eafe622a5574ddacfb88e80cf123ca479ce2031ab5a2a9297c07425beb
Contents?: true
Size: 1.65 KB
Versions: 10
Compression:
Stored size: 1.65 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> <script type="text/javascript"> $('body').on('change', '#inp_section_type', function() { var sectionType = $(this).val().replace(/ /g, '_').toUpperCase().slice(0, 63); $('#inp_section_type').val(sectionType); }); </script>
Version data entries
10 entries across 10 versions & 1 rubygems