Sha256: e142b73a129392d6b1d9f8db608912e294693d59dc43987fa1ff324505479411
Contents?: true
Size: 1.9 KB
Versions: 9
Compression:
Stored size: 1.9 KB
Contents
<div class="row"> <div class="col-md-12"> <div class="tabs-vertical-env"> <div class="tab-content"> <div class="tab-pane active"> <div id="div_product_action_buttons"> <div class="row"> <div class="col-sm-6"> <%= theme_button('Add a Product', 'plus', dhatu.new_product_path(ct: @category.try(:id)), classes: "pull-left mr-10", btn_type: "success") if @current_user.has_create_permission?(Dhatu::Product) %> <%= theme_button('Refresh', 'refresh', dhatu.products_path(ct: @category.try(:id)), classes: "pull-left mr-10", btn_type: "white") %> </div> <div class="col-sm-6"> <%= search_form_kuppayam(Dhatu::Product, dhatu.products_path(), text: @filters[:query]) %> </div> </div> <div class="row"> <div class="col-md-12 visible-sm visible-xs mt-10"> </div> <div class="col-md-12"> <% @filter_ui_settings.each do |filter_name, options| %> <% if options[:object_filter] == true %> <%= report_object_filter(filter_name, options) %> <% else %> <%= report_filter(filter_name, options) %> <% end %> <% end %> </div> </div> </div> <%= clear_tag(10) %> <div id="div_product_index"> <%= render :partial=>"dhatu/products/index" %> </div> <%= clear_tag(10) %> </div> </div> </div> </div> </div> <script type="text/javascript"> $('body').on('change', '#inp_name', function() { var productId = $('#inp_permalink').data("id"); if(productId){ } else { var permalink = convertToSlug($(this).val()).slice(0, 63); $('#inp_permalink').val(permalink); } }); </script>
Version data entries
9 entries across 9 versions & 1 rubygems