2012-01-29 22:59:12 +01:00
|
|
|
%h3 Design
|
|
|
|
%hr
|
|
|
|
= form_for @user, :url => profile_update_path, :method => :put do |f|
|
|
|
|
.row
|
|
|
|
%label.span4{:for => "user_dark_scheme_false"}
|
|
|
|
= image_tag "white.png", :width => 210
|
|
|
|
%center
|
|
|
|
%h4
|
|
|
|
= f.radio_button :dark_scheme, false
|
|
|
|
White code preview
|
|
|
|
%label.span4{:for => "user_dark_scheme_true"}
|
|
|
|
= image_tag "dark.png", :width => 210
|
|
|
|
%center
|
|
|
|
%h4
|
|
|
|
= f.radio_button :dark_scheme, true
|
|
|
|
Dark code preview
|
|
|
|
.clearfix
|
|
|
|
.actions
|
|
|
|
= f.submit 'Save', :class => "btn"
|
2011-12-20 21:47:09 +01:00
|
|
|
|