From 5fbaa212e1ea08421077d68495b404af253598b8 Mon Sep 17 00:00:00 2001 From: Daniela Soares Feitosa Date: Tue, 6 Oct 2009 20:19:41 -0300 Subject: [PATCH] ActionItem1271: displaying step buttons on wizard --- app/views/account/_profile_details.rhtml | 2 +- app/views/search/communities.rhtml | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/app/views/account/_profile_details.rhtml b/app/views/account/_profile_details.rhtml index 43ce7e4..bd6dff2 100644 --- a/app/views/account/_profile_details.rhtml +++ b/app/views/account/_profile_details.rhtml @@ -11,7 +11,7 @@ <%= hidden_field_tag(:confirmation, 1) %> <%= hidden_field_tag(:wizard, true) %> <% if @profile.members.include?(user) %> - <%= link_to( _('Leave'), @profile.leave_url.merge(:confirmation => 1, :wizard => true }, :method => 'post') %> + <%= link_to( _('Leave'), @profile.leave_url.merge(:confirmation => 1, :wizard => true ), :method => 'post') %> <% else %> <%= submit_button(:ok, _("Join now")) %> <% end %> diff --git a/app/views/search/communities.rhtml b/app/views/search/communities.rhtml index 69cde46..cff7582 100644 --- a/app/views/search/communities.rhtml +++ b/app/views/search/communities.rhtml @@ -1,10 +1,7 @@ <% if @wizard && user %>

<%= _('Hello %s, now you can choose yours groups') % user.identifier %>

-<% else %> - -<% if @wizard %> <%= render :partial => 'account/wizard_steps' %> -<% end %> +<% else %> <%= search_page_title( __('Communities'), { :query => @query, :category => @category ? @category.name : nil, -- libgit2 0.21.2