<%= t('page.search_term') -%>: <%= search_field_tag 'query', h(@query), {:id => 'search_form_top', :class => 'search_form', :placeholder => t('page.search_term')} -%> <%= submit_tag t('page.search') -%>
<%- end -%><%= t('activerecord.attributes.subject.term') -%> | |
---|---|
<%= link_to subject.term, subject -%> | <%- if can? :update, subject -%> <%= link_to t('page.edit'), edit_subject_path(subject) -%> <%- end -%> <%- if can? :delete, subject -%> <%= link_to t('page.destroy'), subject, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%> <%- end -%> |