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.1.3 lib/rails/generators/humdrum/api/templates/views/gumby/resource/_nav_filters.html.erb
humdrum-rails-0.1.3 lib/rails/generators/humdrum/api/templates/views/bootstrap/resource/_nav_filters.html.erb
humdrum-rails-0.1.2 lib/rails/generators/humdrum/api/templates/views/gumby/resource/_nav_filters.html.erb
humdrum-rails-0.1.2 lib/rails/generators/humdrum/api/templates/views/bootstrap/resource/_nav_filters.html.erb
humdrum-rails-0.1.1 lib/rails/generators/humdrum/api/templates/views/bootstrap/resource/_nav_filters.html.erb
humdrum-rails-0.1.1 lib/rails/generators/humdrum/api/templates/views/gumby/resource/_nav_filters.html.erb
humdrum-rails-0.1.1 lib/rails/generators/humdrum/resource/templates/views/gumby/resource/_nav_filters.html.erb
humdrum-rails-0.1.1 lib/rails/generators/humdrum/resource/templates/views/bootstrap3/resource/_nav_filters.html.erb
humdrum-rails-0.1.1 lib/rails/generators/humdrum/resource/templates/views/bootstrap2/resource/_nav_filters.html.erb
humdrum-rails-0.0.9 lib/rails/generators/humdrum/resource/templates/views/bootstrap2/resource/_nav_filters.html.erb
humdrum-rails-0.0.9 lib/rails/generators/humdrum/api/templates/views/bootstrap/resource/_nav_filters.html.erb
humdrum-rails-0.0.9 lib/rails/generators/humdrum/api/templates/views/gumby/resource/_nav_filters.html.erb
humdrum-rails-0.0.9 lib/rails/generators/humdrum/resource/templates/views/bootstrap3/resource/_nav_filters.html.erb
humdrum-rails-0.0.9 lib/rails/generators/humdrum/resource/templates/views/gumby/resource/_nav_filters.html.erb
humdrum-rails-0.0.8 lib/rails/generators/humdrum/resource/templates/views/gumby/resource/_nav_filters.html.erb
humdrum-rails-0.0.8 lib/rails/generators/humdrum/resource/templates/views/bootstrap/resource/_nav_filters.html.erb
humdrum-rails-0.0.8 lib/rails/generators/humdrum/api/templates/views/gumby/resource/_nav_filters.html.erb
humdrum-rails-0.0.8 lib/rails/generators/humdrum/api/templates/views/bootstrap/resource/_nav_filters.html.erb
humdrum-rails-0.0.7 lib/rails/generators/humdrum/resource/templates/views/bootstrap/resource/_nav_filters.html.erb
humdrum-rails-0.0.7 lib/rails/generators/humdrum/resource/templates/views/gumby/resource/_nav_filters.html.erb