#options = form_tag request.fullpath, :method => 'get', :id => 'search' do = text_field_tag :q, (params[:q].present? ? params[:q] : t('layouts.dash.options.search_text')), :onblur => "if (this.value == '') {this.value = '#{t('layouts.dash.options.search_text')}';}", :onfocus => "if (this.value == '#{t('layouts.dash.options.search_text')}') {this.value = '';}" %a.button.action{ :href => url_for([:new, :dash, @model.name.underscore.to_sym]) } = t('global.add')