1
0
Fork 0
oldhaven/app/views/user/_settings.html.haml

37 lines
1.4 KiB
Plaintext
Raw Normal View History

2011-11-29 17:03:28 +00:00
.modal#settings
.modal-header
%a.close.close-btn ×
%h3= t('settings.title')
.modal-body
.forms#settings-forms
.form.account
%form{ :action => "/", :method => 'post' }
%fieldset
.clearfix
%label{ :for => "name" }= I18n.t 'settings.username'
.input
%input.xlarge#name{ :name => "name", :size => 30, :type => "text", :value => "" }
.clearfix
%label{ :for => "lang" }= I18n.t 'settings.lang.title'
.input
%select.large#lang{ name: "lang" }
%option{ :value => "en" }= I18n.t 'settings.lang.en'
%option{ :value => "ru" }= I18n.t 'settings.lang.ru'
.clearfix.lastfm-on
%label= I18n.t 'settings.lastfm'
.input
%ul.inputs-list
%li
= t('settings.logged_in_as')
%span.label.notice.lastfm-login
%a.label.important.lastfm-disconnect= t('settings.disconnect')
.clearfix.lastfm-off
%label= I18n.t 'settings.lastfm'
.input
%ul.inputs-list
%li
%a.label.success.lastfm-connect= t('settings.connect')
.modal-footer
%a.save-btn.btn.primary= t('settings.save')
%a.close-btn.btn.secondary= t('settings.cancel')