diff --git a/app/views/attachments/_form.html.erb b/app/views/attachments/_form.html.erb index 092f68244..ca7558a70 100644 --- a/app/views/attachments/_form.html.erb +++ b/app/views/attachments/_form.html.erb @@ -25,4 +25,6 @@ (<%= l(:label_max_size) %>: <%= number_to_human_size(Setting.attachment_max_size.to_i.kilobytes) %>) -<%= javascript_include_tag 'attachments' %> +<% content_for :header_tags do %> + <%= javascript_include_tag 'attachments' %> +<% end %>