Sha256: a3cd1ffbbcb47ad3e51605e7e4487e8fb4f4ff697159696a099504da90e2a6e7

Contents?: true

Size: 1.47 KB

Versions: 37

Compression:

Stored size: 1.47 KB

Contents

<div class="row">
      
  <div class="col-md-12">
    
    <ul class="nav nav-tabs nav-tabs-justified">
      <%% <%= model_class %>::STATUS.each do |key, value| %>
      <li class="<%%= @status == value ? 'active' : '' %>">
        <%%= link_to <%= instances_name %>_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_<%= instance_name %>_action_buttons">
          
          <div class="row">
            <div class="col-sm-6">
              <%%= theme_button('Add a <%= model_name.titlieize %>', 'plus', new_<%= instance_name %>_path(), classes: "pull-left", btn_type: "success") %>

              <%%= theme_button('Refresh', 'refresh', <%= instances_name %>_path(st: @status), classes: "pull-left ml-10", btn_type: "white") %>
            </div>
            <div class="col-sm-6">
              <%%= search_form_kuppayam(Dhatu::<%= model_name %>, <%= instances_name %>_path(st: @status), text: @filters[:query]) %>
            </div>
          </div>

        </div>
        <%%= clear_tag(10) %>

        <div id="div_<%= instance_name %>_index">
          <%%= render :partial=>"<%= instances_name %>/index" %>
        </div>
        <%%= clear_tag(10) %>

      </div>
    </div>

  </div>

</div>

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
kuppayam-0.2.12.pre.materialize lib/generators/kuppayam/templates/views/index.html.erb
kuppayam-0.2.11.pre.materialize lib/generators/kuppayam/templates/views/index.html.erb
kuppayam-0.2.10.pre.materialize lib/generators/kuppayam/templates/views/index.html.erb
kuppayam-0.2.9.pre.materialize lib/generators/kuppayam/templates/views/index.html.erb
kuppayam-0.2.8.pre.materialize lib/generators/kuppayam/templates/views/index.html.erb
kuppayam-0.2.7.pre.materialize lib/generators/kuppayam/templates/views/index.html.erb
kuppayam-0.2.6.pre.materialize lib/generators/kuppayam/templates/views/index.html.erb
kuppayam-0.2.5.pre.materialize lib/generators/kuppayam/templates/views/index.html.erb
kuppayam-0.2.4.pre.materialize lib/generators/kuppayam/templates/views/index.html.erb
kuppayam-0.2.3.pre.materialize lib/generators/kuppayam/templates/views/index.html.erb
kuppayam-0.2.2.pre.materialize lib/generators/kuppayam/templates/views/index.html.erb
kuppayam-0.2.1.pre.materialize lib/generators/kuppayam/templates/views/index.html.erb
kuppayam-0.2.0.pre.materialize lib/generators/kuppayam/templates/views/index.html.erb
kuppayam-0.1.39 lib/generators/kuppayam/templates/views/index.html.erb
kuppayam-0.1.38 lib/generators/kuppayam/templates/views/index.html.erb
kuppayam-0.1.37 lib/generators/kuppayam/templates/views/index.html.erb
kuppayam-0.1.36 lib/generators/kuppayam/templates/views/index.html.erb
kuppayam-0.1.35 lib/generators/kuppayam/templates/views/index.html.erb
kuppayam-0.1.34 lib/generators/kuppayam/templates/views/index.html.erb
kuppayam-0.1.33 lib/generators/kuppayam/templates/views/index.html.erb