Sha256: f60d3e6c8958f3e7aca8c5bc0326a5d66e0faf2baedeb57caa01d99728e5b8c9

Contents?: true

Size: 1.38 KB

Versions: 17

Compression:

Stored size: 1.38 KB

Contents

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

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

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

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

      </div>
    </div>

  </div>

</div>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
dhatu-0.1.16 app/views/dhatu/offers/index.html.erb
dhatu-0.1.15 app/views/dhatu/offers/index.html.erb
dhatu-0.1.14 app/views/dhatu/offers/index.html.erb
dhatu-0.1.13 app/views/dhatu/offers/index.html.erb
dhatu-0.1.12 app/views/dhatu/offers/index.html.erb
dhatu-0.1.11 app/views/dhatu/offers/index.html.erb
dhatu-0.1.10 app/views/dhatu/offers/index.html.erb
dhatu-0.1.9 app/views/dhatu/offers/index.html.erb
dhatu-0.1.8 app/views/dhatu/offers/index.html.erb
dhatu-0.1.7 app/views/dhatu/offers/index.html.erb
dhatu-0.1.6 app/views/dhatu/offers/index.html.erb
dhatu-0.1.5 app/views/dhatu/offers/index.html.erb
dhatu-0.1.4 app/views/dhatu/offers/index.html.erb
dhatu-0.1.3 app/views/dhatu/offers/index.html.erb
dhatu-0.1.2 app/views/dhatu/offers/index.html.erb
dhatu-0.1.1 app/views/dhatu/offers/index.html.erb
dhatu-0.1.0 app/views/dhatu/offers/index.html.erb