Sha256: 66871f6a96423d55d6d7957e44eac43288cd7c0d9227d371cab4791a5957b6bd

Contents?: true

Size: 1.23 KB

Versions: 15

Compression:

Stored size: 1.23 KB

Contents

<div class="row">
      
  <div class="col-md-12">
    
    <ul class="nav nav-tabs">
    </ul>
    <div class="tab-content">
      <div class="tab-pane active">

        <div id="div_section_type_action_buttons">
          <div class="row">
            <div class="col-md-6">

              <%= theme_button('Add a Section Type', 'plus', new_section_type_path(), classes: "pull-left mr-10", btn_type: "success") if @current_user.has_create_permission?(Dhatu::SectionType) %>

              <%= theme_button('Refresh', 'refresh', section_types_path(), classes: "pull-left mr-10", btn_type: "white") %>

            </div>
            <div class="col-md-6">
              <%= search_form_kuppayam(Dhatu::SectionType, section_types_path, text: @filters[:query]) %>
            </div>
          </div>
        </div>
        <%= clear_tag(10) %>

        <div id="div_section_type_index">
          <%= render :partial=>"dhatu/section_types/index" %>
        </div>
        <%= clear_tag(10) %>

      </div>
    </div>

  </div>

</div>

<script type="text/javascript">
  $('body').on('change', '#inp_name', function() {
    var sectionCode = $(this).val().replace(/ /g, '_').toUpperCase().slice(0, 63);
    $('#inp_code').val(sectionCode);
  });
</script>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
dhatu-0.1.25 app/views/dhatu/section_types1/index.html.erb
dhatu-0.1.24 app/views/dhatu/section_types1/index.html.erb
dhatu-0.1.23 app/views/dhatu/section_types1/index.html.erb
dhatu-0.1.22 app/views/dhatu/section_types1/index.html.erb
dhatu-0.1.21 app/views/dhatu/section_types1/index.html.erb
dhatu-0.1.20 app/views/dhatu/section_types1/index.html.erb
dhatu-0.1.19 app/views/dhatu/section_types/index.html.erb
dhatu-0.1.18 app/views/dhatu/section_types/index.html.erb
dhatu-0.1.16 app/views/dhatu/section_types/index.html.erb
dhatu-0.1.15 app/views/dhatu/section_types/index.html.erb
dhatu-0.1.14 app/views/dhatu/section_types/index.html.erb
dhatu-0.1.13 app/views/dhatu/section_types/index.html.erb
dhatu-0.1.12 app/views/dhatu/section_types/index.html.erb
dhatu-0.1.11 app/views/dhatu/section_types/index.html.erb
dhatu-0.1.10 app/views/dhatu/section_types/index.html.erb