From 0e859c8ff7ebe515f6b39546fba15f8b209f032f Mon Sep 17 00:00:00 2001 From: Valessio S Brito Date: Wed, 5 Aug 2009 15:10:31 -0300 Subject: [PATCH] Changes needed for the wizard --- app/views/friends/invite.rhtml | 7 ++++--- app/views/layouts/wizard.rhtml | 15 +++++++++++++-- app/views/memberships/new_community.rhtml | 14 +++++++++----- app/views/search/communities.rhtml | 23 ++++++++++++----------- 4 files changed, 38 insertions(+), 21 deletions(-) diff --git a/app/views/friends/invite.rhtml b/app/views/friends/invite.rhtml index ab87d30..9ff94c5 100644 --- a/app/views/friends/invite.rhtml +++ b/app/views/friends/invite.rhtml @@ -1,3 +1,7 @@ +<% if @wizard %> + <%= render :partial => 'account/wizard_steps'%> +<% end %> +

<%= __('Invite your friends') %>

<% unless @friends %> @@ -101,6 +105,3 @@ <% end %> -<% if @wizard %> - <%= render :partial => 'account/wizard_steps'%> -<% end %> diff --git a/app/views/layouts/wizard.rhtml b/app/views/layouts/wizard.rhtml index dbc1a9c..08fc08e 100644 --- a/app/views/layouts/wizard.rhtml +++ b/app/views/layouts/wizard.rhtml @@ -7,13 +7,14 @@ <%= javascript_include_tag 'jquery-latest.js' %> <%= # Load the principal css files: stylesheet_import( %w( common button search forms profiles) ) + "\n" + - stylesheet_import( %w( common button search forms profiles), + stylesheet_import( %w( common button search forms profiles wizard), :themed_source => true ) + "\n" + # Load the boxes's css file if each exists: import_blocks_stylesheets + @@ -21,10 +22,20 @@ stylesheet_import( "controller_"+ @controller.controller_name(), :themed_source => true ) %> -
+ <%= _('Help') %> <%= yield %>
+