<%= 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) %>
<%= f.label :tag_list %> <%= render 'alchemy/admin/partials/autocomplete_tag_list', f: f %>
<%= f.submit Alchemy.t(:save) %> <% end %>