%= alchemy_form_for([:admin, @attachment], url: {action: :update, q: params[:q], page: params[:page]}) do |f| -%> <%= f.input :name, input_html: {autofocus: true} %> <%= f.input :file_name, input_html: {autofocus: true}, hint: Alchemy.t(:attachment_filename_notice) %>