Sha256: 64b8e775ea5f60962b3ba1040f89c42f90bacf540af5597cfb71e8881ff3ce3f

Contents?: true

Size: 660 Bytes

Versions: 24

Compression:

Stored size: 660 Bytes

Contents

<%%= link_to 'New <%= model_class %>', <%= resource_link('new', 'path') %>, :class=>"btn btn-mini btn-primary 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="height:13px;width:120px;" name="<%= instance_name %>[query]">
	  <button type="submit" class="btn btn-mini btn-primary"><i class="icon-search icon-white margin-right-5"></i>Search Item ...</button>
	</div>
<%%- end %>

Version data entries

24 entries across 9 versions & 1 rubygems

Version Path
humdrum-rails-0.0.6 lib/rails/generators/humdrum/resource/templates/views/bootstrap/resource/_nav_filters.html.erb
humdrum-rails-0.0.6 lib/rails/generators/humdrum/resource/templates/views/gumby/resource/_nav_filters.html.erb
humdrum-rails-0.0.4 lib/rails/generators/humdrum/resource/templates/views/resource/_nav_filters.html.erb
humdrum-rails-0.0.3 lib/rails/generators/humdrum/resource/templates/views/resource/_nav_filters.html.erb