correct padding in issue form and in profile form

This commit is contained in:
Aleksei Kvitinskii 2011-11-07 20:21:42 +02:00
parent 06e916743e
commit eb5fa8344e
3 changed files with 19 additions and 8 deletions

View file

@ -87,6 +87,17 @@ h2{margin: 1.5em 0}
/* Forms */
input[type="text"]:focus, input[type="password"]:focus { outline: none; }
input.text{border: 1px solid #ccc; border-radius: 4px; display: block; padding: 10px}
.form-row{
padding: 0px 0px 10px 0px;
}
.form-row label{
font-weight:bold;
display: inline-block;
padding: 0px 0px 5px 0px;
}
/* eo Forms */
/* Tables */

View file

@ -5,21 +5,21 @@
- @issue.errors.full_messages.each do |msg|
%li= msg
.span-8
.form-row
= f.label :title
= f.text_area :title, :style => "width:450px; height:100px", :maxlength => 255
.span-8
.form-row
= f.label :assignee_id
= f.select(:assignee_id, @project.users.all.collect {|p| [ p.name, p.id ] }, { :include_blank => "Select user" })
.span-1
.form-row
= f.label :critical, "Critical"
%br
= f.check_box :critical
- unless @issue.new_record?
.span-2.right
.form-row
= f.label :closed
%br
= f.check_box :closed
%hr
.span-6
.form-row
= f.submit 'Save', :class => "lbutton vm"

View file

@ -16,15 +16,15 @@
- @user.errors.full_messages.each do |msg|
%li= msg
.div
.form-row
= f.label :skype
%br
= f.text_field :skype
.div
.form-row
= f.label :linkedin
%br
= f.text_field :linkedin
.div
.form-row
= f.label :twitter
%br
= f.text_field :twitter