From 24575d5cff3aa37946ce19f2ec26f5dc0efb2b32 Mon Sep 17 00:00:00 2001 From: did Date: Fri, 2 Dec 2011 23:31:15 +0100 Subject: [PATCH] polish the new membership page --- .../stylesheets/locomotive/formtastic_changes.scss | 14 +++++++++++++- app/views/locomotive/memberships/new.html.haml | 3 +-- doc/TODO | 4 ++-- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/locomotive/formtastic_changes.scss b/app/assets/stylesheets/locomotive/formtastic_changes.scss index 00d37657..551ad49c 100644 --- a/app/assets/stylesheets/locomotive/formtastic_changes.scss +++ b/app/assets/stylesheets/locomotive/formtastic_changes.scss @@ -259,7 +259,7 @@ form.formtastic { color: #1F82BC !important; } } - } // li.string + } // li.string, li.password &.code { @@ -340,6 +340,18 @@ form.formtastic { margin-bottom: 0px; } } + + &.string { + padding-top: 16px; + + input[type=text] { + width: 868px; + } + + div.inline-errors { + margin-left: 0px; + } + } } // li.no-label &#site_memberships_input { diff --git a/app/views/locomotive/memberships/new.html.haml b/app/views/locomotive/memberships/new.html.haml index b0042d96..2d8b984f 100644 --- a/app/views/locomotive/memberships/new.html.haml +++ b/app/views/locomotive/memberships/new.html.haml @@ -9,7 +9,6 @@ = f.inputs :name => :membership_email, :class => 'inputs email' do - / = f.input :email, :css => 'string full', :with_label => false } do - = f.input :email, :label => false + = f.input :email, :label => false, :wrapper_html => { :class => 'no-label' } = render 'locomotive/shared/form_actions', :back_url => edit_current_site_url, :button_label => :create \ No newline at end of file diff --git a/doc/TODO b/doc/TODO index 7806974a..095f3ace 100644 --- a/doc/TODO +++ b/doc/TODO @@ -22,8 +22,8 @@ x edit my site x save - fix other sections x edit my account - - create a new site - - create a new account + x create a new site + x create a new account - theme assets - content types