%= form_for([:admin, @attachment], :url => {:action => :update, :query => params[:query], :page => params[:page]}) do |f| -%>
<%= f.label 'name', :class => "short" %> | <%= f.text_field 'name', :class => 'thin_border very_long' %> |
<%= f.button t('save'), :class => 'button' %> |