Sha256: b4ff50e0b2eeffdceb6851bf9cdd5998229b270273fa53f8872555d4c408e7d9
Contents?: true
Size: 637 Bytes
Versions: 6
Compression:
Stored size: 637 Bytes
Contents
<%%= link_to 'New <%= model_class %>', <%= resource_link('new', 'path') %>, :class=>"btn btn-mini btn-primary 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="height:13px;width:120px;" name="<%= instance_name %>[query]"> <button type="submit" class="btn btn-mini btn-primary"><i class="icon-search icon-white mr--5"></i>Search Item ...</button> </div> <%%- end %>
Version data entries
6 entries across 2 versions & 1 rubygems