Commit 039b6db483fff2aaeaa19a46018232626e6a0eba

Authored by Valery Sizov
1 parent ce51525e

design improve of form of key

app/assets/stylesheets/common.scss
@@ -1003,4 +1003,8 @@ p.time { @@ -1003,4 +1003,8 @@ p.time {
1003 color: #999; 1003 color: #999;
1004 line-height: 16px; 1004 line-height: 16px;
1005 font-weight:bold; 1005 font-weight:bold;
1006 -} 1006 +}
  1007 +
  1008 +.thin_area{
  1009 + height: 150px;
  1010 +}
app/views/keys/_form.html.haml
@@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@
11 .input= f.text_field :title 11 .input= f.text_field :title
12 .clearfix 12 .clearfix
13 = f.label :key 13 = f.label :key
14 - .input= f.text_area :key, :class => "xlarge" 14 + .input= f.text_area :key, :class => [:xxlarge, :thin_area]
15 .actions 15 .actions
16 = f.submit 'Save', :class => "primary btn" 16 = f.submit 'Save', :class => "primary btn"
17 = link_to "Cancel", keys_path, :class => "btn" 17 = link_to "Cancel", keys_path, :class => "btn"