Sha256: a420ed8b1ddb221c158f62938b1f002fcd18b2158ee19c4ebd040a4c816c726d
Contents?: true
Size: 633 Bytes
Versions: 2
Compression:
Stored size: 633 Bytes
Contents
<%%= link_to raw("<i class='icon-plus icon-white mr--5'></i> New Item"), <%= resource_link('new', 'path') %>, :class=>"btn btn-warning pull-right ml-10", :remote=>true %> <%# Used to add a search functionality %> <%%= form_for <%= model_class %>.new, :url => <%= resource_link('index', 'path') %>, :method => :get, :remote=>true, :html=>{:class=>"pull-right", :style=>"m-bottom:0px;"} do |f| %> <div class="input-append"> <input type="text" style="width:160px;" name="item[query]" placeholder="Search Item ..."> <button type="submit" class="btn btn-inverse"><i class="icon-search icon-white"></i></button> </div> <%%- end %>
Version data entries
2 entries across 2 versions & 1 rubygems