diff --git a/web/app/assets/stylesheets/web/main.scss b/web/app/assets/stylesheets/web/main.scss index cfdae525c..7cc20672b 100644 --- a/web/app/assets/stylesheets/web/main.scss +++ b/web/app/assets/stylesheets/web/main.scss @@ -330,8 +330,12 @@ body.web { // all custom CSS for the register page goes here .register-page { + display:inline-block; + .register-container { padding:0 10px 10px; + margin-left: 45px; + margin-top: 20px; } input.register-musician { @@ -364,6 +368,7 @@ body.web { div.register-as { margin-left:45px; + display:none; } input.register-fan { @@ -401,18 +406,15 @@ body.web { } - .register-left { - select { width:104%; } div.field { - margin-top:31px; - width:43%; - float:left; + margin-top: 18px; + width: 100%; } - } + .register-right { diff --git a/web/app/controllers/users_controller.rb b/web/app/controllers/users_controller.rb index c9b48d6af..e439281da 100644 --- a/web/app/controllers/users_controller.rb +++ b/web/app/controllers/users_controller.rb @@ -452,6 +452,10 @@ JS end end end + if instruments.length == 0 + # default to guitar when non-specified + instruments << {:instrument_id => "acoustic guitar", :proficiency_level => 3, :priority => 1} + end return instruments end diff --git a/web/app/views/users/new.html.erb b/web/app/views/users/new.html.erb index 8c2f46163..16a52d554 100644 --- a/web/app/views/users/new.html.erb +++ b/web/app/views/users/new.html.erb @@ -7,7 +7,6 @@ <%= form_for(@user, :url => @signup_postback, :method => :post) do |f| %> -
| - _checkbox" name="jam_ruby_user[instruments][<%= instrument.id %>][selected]" type="checkbox"/><%= instrument.description %> - | -- | -