Sha256: 38c09eeeedadc419c9f083a0c7b3553189766c6529dfa86c0d065a6ef6557151

Contents?: true

Size: 1.43 KB

Versions: 5

Compression:

Stored size: 1.43 KB

Contents

<div class="row">
      
  <div class="col-md-12">
    
    <ul class="nav nav-tabs nav-tabs-justified">
      <% Dhatu::Promotion::STATUS.each do |key, value| %>
      <li class="<%= @status == value ? 'active' : '' %>">
        <%= link_to promotions_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_promotion_action_buttons">
          
          <div class="row">
            <div class="col-sm-6">
              <%= theme_button('Add a Promotion', 'plus', new_promotion_path(), classes: "pull-left mr-10", btn_type: "success") if @current_user.has_create_permission?(Dhatu::Promotion) %>

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

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

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

      </div>
    </div>

  </div>

</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dhatu-0.1.16 app/views/dhatu/promotions/index.html.erb
dhatu-0.1.15 app/views/dhatu/promotions/index.html.erb
dhatu-0.1.14 app/views/dhatu/promotions/index.html.erb
dhatu-0.1.13 app/views/dhatu/promotions/index.html.erb
dhatu-0.1.12 app/views/dhatu/promotions/index.html.erb