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