Sha256: c0db788cdfd5b2e8bb5a4276888989c5b50fe33eccfccb90694d70d7496b6df8

Contents?: true

Size: 289 Bytes

Versions: 2

Compression:

Stored size: 289 Bytes

Contents

.btn-toolbar
  .btn-group
    = link_to("New #{resource_name}", new_resource_url, :class => 'btn')
  - if searchable?
    .btn-group.pull-right
      = form_for collection_url, :class => "form-search", :method => :get do 
        = text_field_tag 'q', params[:q], :class => "search-query"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
app_frame-0.5.6 app/views/application/_toolbar.html.haml
app_frame-0.5.5 app/views/application/_toolbar.html.haml