#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')