diff --git a/views/box_organizer/_download_block.html.erb b/views/box_organizer/_download_block.html.erb index 6473177..847f1d7 100644 --- a/views/box_organizer/_download_block.html.erb +++ b/views/box_organizer/_download_block.html.erb @@ -1,4 +1,3 @@ -<%= javascript_include_tag "edit-link-list.js" %>
-
- <% new = {'icon' => 'ok'} %> - <%= render :partial => 'download_list', :locals => {:download => new} %> -
+ -<%= link_to_function(_('New link'), 'add_new_link();', :class => 'button icon-add with-text') %> +<%= link_to_function _('New link'), 'add_new_link(); return false', :class => 'button icon-add with-text download-new-link-button' %>
-- libgit2 0.21.2