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

Version Path
humdrum-rails-0.1.3 lib/rails/generators/humdrum/api/templates/views/bootstrap/resource/_filters.html.erb
humdrum-rails-0.1.2 lib/rails/generators/humdrum/api/templates/views/bootstrap/resource/_filters.html.erb
humdrum-rails-0.1.1 lib/rails/generators/humdrum/api/templates/views/bootstrap/resource/_filters.html.erb
humdrum-rails-0.1.1 lib/rails/generators/humdrum/resource/templates/views/bootstrap2/resource/_filters.html.erb
humdrum-rails-0.0.9 lib/rails/generators/humdrum/api/templates/views/bootstrap/resource/_filters.html.erb
humdrum-rails-0.0.9 lib/rails/generators/humdrum/resource/templates/views/bootstrap2/resource/_filters.html.erb
humdrum-rails-0.0.8 lib/rails/generators/humdrum/api/templates/views/bootstrap/resource/_filters.html.erb
humdrum-rails-0.0.8 lib/rails/generators/humdrum/resource/templates/views/bootstrap/resource/_filters.html.erb
humdrum-rails-0.0.7 lib/rails/generators/humdrum/resource/templates/views/bootstrap/resource/_filters.html.erb
humdrum-rails-0.0.6 lib/rails/generators/humdrum/resource/templates/views/bootstrap/resource/_filters.html.erb
humdrum-rails-0.0.4 lib/rails/generators/humdrum/resource/templates/views/resource/_filters.html.erb
humdrum-rails-0.0.3 lib/rails/generators/humdrum/resource/templates/views/resource/_filters.html.erb