noosfero | WIP: Rails 5.1.6 Upgrade (!1438)
Gabriel Silva
gitlab at mg.gitlab.com
Wed Oct 31 13:17:29 BRST 2018
Gabriel Silva started a new discussion on app/views/profile/_profile_wall.html.erb:
> <% if allow_scrap? %>
> <div id='leave_scrap'>
> <%= flash[:error] %>
> - <%= form_remote_tag :url => {:controller => 'profile', :action => 'leave_scrap', :tab_action => 'wall' },
> - :update => 'profile_activities',
> - :success => "jQuery('#leave_scrap_content').val(''); if (jQuery('#filter-followed').length) jQuery('#filter-followed').tokenInput('clear')",
> - :complete => "jQuery('#leave_scrap_form').removeClass('loading').find('*').attr('disabled', false)",
> - :loading => "jQuery('#leave_scrap_form').addClass('loading').find('*').attr('disabled', true)",
> - :html => {:id => 'leave_scrap_form' } do %>
> + <%= format_name url: { controller: 'profile', action: 'leave_scrap', tab_action: 'wall' },
Is `format_name` really equivalent to `form_remote_tag`?
--
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1438#note_113535803
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20181031/8001a078/attachment-0001.html>
More information about the Noosfero-dev
mailing list