2011-09-09 23:30:03 +00:00
|
|
|
%h1 Settings
|
2011-09-12 16:16:13 +00:00
|
|
|
%ul.tabs#settings-tabs
|
2011-09-09 23:30:03 +00:00
|
|
|
%li.active
|
2011-09-12 16:16:13 +00:00
|
|
|
%a{ :href => "#", :'data-tab' => 'account' } Account
|
2011-09-09 23:30:03 +00:00
|
|
|
%li
|
2011-09-12 16:16:13 +00:00
|
|
|
%a{ :href => "#", :'data-tab' => 'site' } Site
|
2011-09-09 23:30:03 +00:00
|
|
|
%li
|
2011-09-12 16:16:13 +00:00
|
|
|
%a{ :href => "#", :'data-tab' => 'music' } Music
|
2011-09-09 23:30:03 +00:00
|
|
|
%li
|
2011-09-12 16:16:13 +00:00
|
|
|
%a{ :href => "#", :'data-tab' => 'lastfm' } Last.fm
|
2011-09-09 23:30:03 +00:00
|
|
|
|
2011-09-12 16:16:13 +00:00
|
|
|
.forms#settings-forms
|
2011-09-09 23:30:03 +00:00
|
|
|
.form.account
|
|
|
|
%form
|
|
|
|
%fieldset
|
|
|
|
.clearfix
|
2011-09-12 16:16:13 +00:00
|
|
|
%label{ :for => "name" } Username
|
2011-09-09 23:30:03 +00:00
|
|
|
.input
|
2011-09-12 16:16:13 +00:00
|
|
|
%input.xlarge#name{ :name => "name", :size => 30, :type => "text", :value => @user.name }
|
2011-09-09 23:30:03 +00:00
|
|
|
.clearfix
|
2011-09-12 16:16:13 +00:00
|
|
|
%label{ :for => "email" } Email
|
2011-09-09 23:30:03 +00:00
|
|
|
.input
|
2011-09-12 16:16:13 +00:00
|
|
|
%input.xlarge#email{ :name => "email", :size => 30, :type => "text", :value => @user.email }
|
2011-09-09 23:30:03 +00:00
|
|
|
.form.site
|
|
|
|
%form
|
|
|
|
%fieldset
|
|
|
|
.clearfix
|
2011-09-12 16:16:13 +00:00
|
|
|
%label{ :for => "lang" } Language
|
2011-09-09 23:30:03 +00:00
|
|
|
.input
|
2011-09-12 16:16:13 +00:00
|
|
|
%select.medium#lang{ :name => "lang" }
|
|
|
|
%option{ :value => "en", :selected => (@user.lang == 'en') } English
|
|
|
|
%option{ :value => "ru", :selected => (@user.lang == 'ru') } Русский
|
2011-09-09 23:30:03 +00:00
|
|
|
.form.music
|
|
|
|
%form
|
|
|
|
%fieldset
|
|
|
|
.clearfix
|
2011-09-12 16:16:13 +00:00
|
|
|
%label{ :for => "album_types" } Show
|
2011-09-09 23:30:03 +00:00
|
|
|
.input
|
|
|
|
%ul.inputs-list
|
|
|
|
%li
|
|
|
|
%label.disabled
|
2011-09-12 16:16:13 +00:00
|
|
|
%input{ :name => "show_album", :type => "checkbox", :checked => "checked", :disabled => "disabled" }
|
2011-09-09 23:30:03 +00:00
|
|
|
%span Albums
|
|
|
|
%li
|
|
|
|
%label
|
2011-09-12 16:16:13 +00:00
|
|
|
%input{ :name => "show_single", :type => "checkbox", :disabled => "disabled" }
|
2011-09-09 23:30:03 +00:00
|
|
|
%span Singles
|
|
|
|
%li
|
|
|
|
%label
|
2011-09-12 16:16:13 +00:00
|
|
|
%input{ :name => "show_live", :type => "checkbox", :disabled => "disabled" }
|
2011-09-09 23:30:03 +00:00
|
|
|
%span Live shows
|
|
|
|
%li
|
|
|
|
%label
|
2011-09-12 16:16:13 +00:00
|
|
|
%input{ :name => "show_bootleg", :type => "checkbox", :disabled => "disabled" }
|
2011-09-09 23:30:03 +00:00
|
|
|
%span Bootlegs
|
|
|
|
.form.lastfm
|
|
|
|
%form
|
|
|
|
%fieldset
|
|
|
|
.clearfix
|
2011-09-12 16:16:13 +00:00
|
|
|
%label{ :for => "lastfm_username" } Username
|
2011-09-09 23:30:03 +00:00
|
|
|
.input
|
|
|
|
.input-append
|
2011-09-12 16:16:13 +00:00
|
|
|
%input#lastfm_username{ :name => "lastfm_username", :type => "text", :disabled => "disabled", :value => @user.lastfm_username }
|
|
|
|
%label.add-on.disabled{ :class => ('active' unless @user.lastfm_key.nil?) }
|
|
|
|
%input{ :type => "checkbox", :disabled => "disabled", :checked => (!@user.lastfm_key.nil?) }
|