app/views/alchemy/admin/attachments/new.html.erb in alchemy_cms-2.1.12 vs app/views/alchemy/admin/attachments/new.html.erb in alchemy_cms-2.2.rc1
- old
+ new
@@ -1,11 +1,11 @@
<%= form_for([:admin, @attachment], :html => {:multipart => true}) do |f| %>
- <%= render(
- :partial => "alchemy/admin/partials/upload_form",
- :locals => {
- :file_types => configuration(:uploader)[:allowed_filetypes][:attachments],
- :file_types_description => t('documents'),
- :model_name => 'attachment',
- :item_type => t('files')
- }
- ) %>
+ <%= render(
+ :partial => "alchemy/admin/partials/upload_form",
+ :locals => {
+ :file_types => configuration(:uploader)[:allowed_filetypes][:attachments],
+ :file_types_description => t('documents'),
+ :model_name => 'attachment',
+ :item_type => t('files')
+ }
+ ) %>
<% end %>