Permalink
Browse files

Resize the width property for textfields in _form.html.haml partial

  • Loading branch information...
1 parent 176018f commit efa6fd222a7c4256f73d4d944e6fcff8b791c18f Ramón Martínez Olvera committed Feb 23, 2012
@@ -23,7 +23,7 @@
.span-6.last= f.input :doi, :as => :string, :input_html => { :size => '20', :autocomplete => "off" }
.row
- .span-9= f.input :url, :as => :string, :input_html => { :size => '50', :autocomplete => "off" }
+ .span-9= f.input :url, :as => :string, :input_html => { :size => '40', :autocomplete => "off" }
.span-9.last= f.input :other, :as => :text, :input_html => { :size => '50x1' }
= f.hidden_field :articlestatus_id, :value => 3
@@ -4,7 +4,7 @@
%h3='Información del capítulo'
.section-with-border-and-bg
.row
- .span-9= f.input :title, :as => :string, :input_html => {:size => 50}
+ .span-9= f.input :title, :as => :string, :input_html => {:size => '40'}
.span-9.last= f.association :bookchaptertype, :as => :radio, :wrapper_class => 'radio-set'
.row
@@ -3,8 +3,8 @@
%h3='Información del trabajo presentado'
.section-with-border-and-bg
- .span-9= f.input :authors, :as => :string, :input_html => {:size => 50, :required => true}
- .span-9.last= f.input :title, :as => :string, :input_html => {:size => 50, :required => true}
+ .span-9= f.input :authors, :as => :string, :input_html => {:size => '40', :required => true}
+ .span-9.last= f.input :title, :as => :string, :input_html => {:size => '40', :required => true}
.span-18.last= f.association :talktype, :as => :radio, :wrapper_class => 'radio-set'
@@ -13,6 +13,6 @@
= f.input :newsdate, :as => :string, :input_html => { :size => '10', :autocomplete => "off", :class => 'date'}, :required => true
.row
- .span-9= f.input :url, :as => :string, :input_html => { :size => '50', :autocomplete => "off" }
+ .span-9= f.input :url, :as => :string, :input_html => { :size => '40', :autocomplete => "off" }
.span-9.last= render :partial => 'user_newspaperarticles/form', :locals => {:newspaperarticle => @newspaper_article, :f => f}
@@ -3,7 +3,7 @@
= render :partial => "/shared/errors", :object => f.object.errors
.row
- .span-9= f.input :title, :as => :string, :input_html => {:size => 50}
+ .span-9= f.input :title, :as => :string, :input_html => {:size => '40'}
.span-9.last= f.association :modality, :as => :radio, :wrapper_class => 'radio-set'
.row
@@ -1,3 +1,3 @@
%div{ :class => 'span-7 section_left last' }
%div{:class => 'span-7 last'}
- = f.input :name, :as => :string, :html_input => { :size => '50' }
+ = f.input :name, :as => :string, :html_input => { :size => 38 }
@@ -3,8 +3,8 @@
= render :partial => "/shared/errors", :object => f.object.errors
.row
- .span-9= f.input :title, :as => :string, :input_html => {:size => 50}
- .span-9.last= f.input :authors, :as => :string, :input_html => {:size => 50}
+ .span-9= f.input :title, :as => :string, :input_html => {:size => '40'}
+ .span-9.last= f.input :authors, :as => :string, :input_html => {:size => '40'}
.row
.span-6
@@ -23,7 +23,7 @@
.span-6.last= f.input :doi, :as => :string, :input_html => { :size => '20', :autocomplete => "off" }
.row
- .span-9= f.input :url, :as => :string, :input_html => { :size => '50', :autocomplete => "off" }
+ .span-9= f.input :url, :as => :string, :input_html => { :size => '40', :autocomplete => "off" }
.span-9.last= f.input :other, :as => :text, :input_html => { :size => '50x1' }
@@ -1,9 +1,9 @@
.row
= render :partial => "/shared/errors", :object => f.object.errors
.row
- .span-8= f.input :author_name, :as => :string, :input_html => { :size => '50' }
- .span-10.last= f.input :homepage, :as => :string, :input_html => { :size => '50' }
+ .span-8= f.input :author_name, :as => :string, :input_html => { :size => '40' }
+ .span-10.last= f.input :homepage, :as => :string, :input_html => { :size => '40' }
.row
- .span-8= f.input :blog, :as => :string, :input_html => { :size => '50' }
- .span-10.last= f.input :calendar, :as => :string, :input_html => { :size => '50' }
+ .span-8= f.input :blog, :as => :string, :input_html => { :size => '40' }
+ .span-10.last= f.input :calendar, :as => :string, :input_html => { :size => '40' }

0 comments on commit efa6fd2

Please sign in to comment.