Commit 5fbaa212e1ea08421077d68495b404af253598b8

Authored by Daniela Feitosa
Committed by Antonio Terceiro
1 parent d6c35f54

ActionItem1271: displaying step buttons on wizard

app/views/account/_profile_details.rhtml
... ... @@ -11,7 +11,7 @@
11 11 <%= hidden_field_tag(:confirmation, 1) %>
12 12 <%= hidden_field_tag(:wizard, true) %>
13 13 <% if @profile.members.include?(user) %>
14   - <%= link_to( _('Leave'), @profile.leave_url.merge(:confirmation => 1, :wizard => true }, :method => 'post') %>
  14 + <%= link_to( _('Leave'), @profile.leave_url.merge(:confirmation => 1, :wizard => true ), :method => 'post') %>
15 15 <% else %>
16 16 <%= submit_button(:ok, _("Join now")) %>
17 17 <% end %>
... ...
app/views/search/communities.rhtml
1 1 <% if @wizard && user %>
2 2 <h2><%= _('Hello %s, now you can choose yours groups') % user.identifier %></h2>
3   -<% else %>
4   -
5   -<% if @wizard %>
6 3 <%= render :partial => 'account/wizard_steps' %>
7   -<% end %>
  4 +<% else %>
8 5  
9 6 <%= search_page_title( __('Communities'), { :query => @query,
10 7 :category => @category ? @category.name : nil,
... ...