Sha256: 111b868d1a41b08074e2112e0c35cc4e2ea05246bc92a38db1789d8ff5cfbc8d
Contents?: true
Size: 656 Bytes
Versions: 12
Compression:
Stored size: 656 Bytes
Contents
<%%= link_to raw("<i class='icon-plus icon-white margin-right-5'></i> New Item"), <%= resource_link('new', 'path') %>, :class=>"btn btn-warning pull-right margin-left-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=>"margin-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
12 entries across 9 versions & 1 rubygems