2011-12-20 21:47:09 +01:00
|
|
|
.ui-box.width-100p
|
|
|
|
%h3 Design
|
|
|
|
= form_for @user, :url => profile_update_path, :method => :put do |f|
|
|
|
|
.data
|
|
|
|
.left.dark_scheme_box
|
|
|
|
%label{:for => "user_dark_scheme_false"}
|
|
|
|
= image_tag "white.png", :width => 310, :height => 212
|
|
|
|
%center
|
|
|
|
%h4
|
|
|
|
= f.radio_button :dark_scheme, false
|
|
|
|
White code preview
|
|
|
|
.right.dark_scheme_box
|
|
|
|
%label{:for => "user_dark_scheme_true"}
|
|
|
|
= image_tag "dark.png", :width => 310, :height => 212
|
|
|
|
%center
|
|
|
|
%h4
|
|
|
|
= f.radio_button :dark_scheme, true
|
|
|
|
Dark code preview
|
|
|
|
.clear
|
|
|
|
.buttons
|
2012-01-27 08:19:55 +01:00
|
|
|
= f.submit 'Save', :class => "btn"
|
2011-12-20 21:47:09 +01:00
|
|
|
|