app/views/alchemy/admin/attachments/edit.html.erb in alchemy_cms-3.2.1 vs app/views/alchemy/admin/attachments/edit.html.erb in alchemy_cms-3.3.0.rc1
- old
+ new
@@ -1,10 +1,10 @@
<%= alchemy_form_for([:admin, @attachment],
- url: {action: :update, query: params[:query], page: params[:page]}) do |f| -%>
+ 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: _t(:attachment_filename_notice) %>
+ <%= f.input :file_name, input_html: {autofocus: true}, hint: Alchemy.t(:attachment_filename_notice) %>
<div class="input string">
<%= f.label :tag_list %>
<%= render 'alchemy/admin/partials/autocomplete_tag_list', f: f %>
</div>
- <%= f.submit _t(:save) %>
+ <%= f.submit Alchemy.t(:save) %>
<% end %>