Sha256: 6d232900a39f78d2f51843a7f9624919174d0ed9289011f0a964bf5efbbca2d5
Contents?: true
Size: 461 Bytes
Versions: 2
Compression:
Stored size: 461 Bytes
Contents
#options = form_tag request.fullpath, :method => 'get', :id => 'search' do = text_field_tag :q, (params[:q].present? ? params[:q] : t('dash.grid.filter')), :onblur => "if (this.value == '') {this.value = '#{t('dash.grid.filter')}';}", :onfocus => "if (this.value == '#{t('dash.grid.filter')}') {this.value = '';}" - if add_button %a.button.action{ :href => main_app.url_for([:new, :dash, @model.name.underscore.to_sym]) } = t('dash.grid.add')
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_dash-0.0.6 | app/views/rails_dash/shared/_options.html.haml |
rails_dash-0.0.5 | app/views/rails_dash/shared/_options.html.haml |