From ec0f71a1ad2b1d4cceea1fa1f108a0a479a7bb73 Mon Sep 17 00:00:00 2001 From: Gabriela Navarro Date: Mon, 2 Mar 2015 16:06:21 -0300 Subject: [PATCH] Fixing view of the box-organizer --- views/box_organizer/_download_block.html.erb | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) 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