Sha256: 28ee28a3913d504c21f5c7cd2852b7f690281cf45be7a2a17bffd9c1852be1e6
Contents?: true
Size: 430 Bytes
Versions: 4
Compression:
Stored size: 430 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 = '';}" %a.button.action{ :href => url_for([:new, :dash, @model.name.underscore.to_sym]) } = t('dash.grid.add')
Version data entries
4 entries across 2 versions & 1 rubygems