Browse files

Resize the width property for textarea fields in _form.html.haml partial

  • Loading branch information...
1 parent 770b30f commit 176018f3c87462e4901a9ba99bbb2a7f4c9222f6 Ramón Martínez Olvera committed Feb 23, 2012
View
6 app/views/articles/_form.html.haml
@@ -3,8 +3,8 @@
= render :partial => "/shared/errors", :object => f.object.errors
.row
- .span-9= f.input :authors, :as => :text, :input_html => { :size => '60x3' }
- .span-9.last= f.input :title, :as => :text, :input_html => { :size => '60x3' }
+ .span-9= f.input :authors, :as => :text, :input_html => { :size => '50x3' }
+ .span-9.last= f.input :title, :as => :text, :input_html => { :size => '50x3' }
.row
#journal.span-6.last
@@ -24,7 +24,7 @@
.row
.span-9= f.input :url, :as => :string, :input_html => { :size => '50', :autocomplete => "off" }
- .span-9.last= f.input :other, :as => :text, :input_html => { :size => '60x1' }
+ .span-9.last= f.input :other, :as => :text, :input_html => { :size => '50x1' }
= f.hidden_field :articlestatus_id, :value => 3
- unless UserArticle.where(:user_id => current_user.id, :article_id => @article.id).first.nil?
View
2 app/views/conferences/_form.html.haml
@@ -14,7 +14,7 @@
= f.label :month, :required => true
= select_month_for 'month', 'conference'
.row
- .span-12.last= f.input :location, :as => :text, :input_html => { :size => '60x1' }
+ .span-12.last= f.input :location, :as => :text, :input_html => { :size => '50x1' }
#institution.has-many-associations{'data-remote-resource' => 'institutions', 'data-has-many-association' => 'conference_institutions'}
%b=t(:organized_by)
View
2 app/views/courses/_form.html.haml
@@ -20,4 +20,4 @@
.row
.span-6= f.association :country, :collection => Country.all, :input_html => {:class => 'chosen-select', :required => true}
- .span-12.last= f.input :location, :as => :text, :input_html => { :size => '60x1' }
+ .span-12.last= f.input :location, :as => :text, :input_html => { :size => '50x1' }
View
2 app/views/external_jobpositions/_form.html.haml
@@ -4,7 +4,7 @@
#institution.span-6{'data-controller-name' => 'institutions'}
= f.association :institution, :using => :name, :input_html => {:class => 'chosen-select', :prompt => true, :required => true}
= link_to_new_record 'Agregar institución', new_institution_path
- .span-12.last= f.input :descr, :as => :text, :input_html => { :size => '60x1' }
+ .span-12.last= f.input :descr, :as => :text, :input_html => { :size => '50x1' }
.row
.span-5
= f.label :start_date
View
2 app/views/institutional_activities/_form.html.haml
@@ -4,7 +4,7 @@
.row
.span-9
- = f.input :descr, :as => :text, :input_html => { :size => '60x2' }
+ = f.input :descr, :as => :text, :input_html => { :size => '50x2' }
.span-9.last
#institution
= f.association :institution, :using => :name, :input_html => {:prompt => true, :class => 'chosen-select', :required => true}
View
6 app/views/newspaper_articles/_form.html.haml
@@ -2,8 +2,8 @@
.row
= render :partial => "/shared/errors", :object => f.object.errors
.row
- .span-9= f.input :authors, :as => :text, :input_html => { :size => '60x1' }
- .span-last= f.input :title, :as => :text, :input_html => { :size => '60x1' }
+ .span-9= f.input :authors, :as => :text, :input_html => { :size => '50x1' }
+ .span-last= f.input :title, :as => :text, :input_html => { :size => '50x1' }
.row
#newspaper.span-6
@@ -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 => '60', :autocomplete => "off" }
+ .span-9= f.input :url, :as => :string, :input_html => { :size => '50', :autocomplete => "off" }
.span-9.last= render :partial => 'user_newspaperarticles/form', :locals => {:newspaperarticle => @newspaper_article, :f => f}
View
4 app/views/other_works/_form.html.haml
@@ -3,8 +3,8 @@
= render :partial => "/shared/errors", :object => f.object.errors
.row
- .span-9= f.input :authors, :as => :text, :input_html => { :size => '60x2' }
- .span-9.last= f.input :title, :as => :text, :input_html => { :size => '60x2' }
+ .span-9= f.input :authors, :as => :text, :input_html => { :size => '50x2' }
+ .span-9.last= f.input :title, :as => :text, :input_html => { :size => '50x2' }
.row
.span-3
View
4 app/views/outreach_works/_form.html.haml
@@ -3,8 +3,8 @@
= render :partial => "/shared/errors", :object => f.object.errors
.row
- .span-9= f.input :authors, :as => :text, :input_html => { :size => '60x1' }
- .span-9.last= f.input :title, :as => :text, :input_html => { :size => '60x1' }
+ .span-9= f.input :authors, :as => :text, :input_html => { :size => '50x1' }
+ .span-9.last= f.input :title, :as => :text, :input_html => { :size => '50x1' }
.row
#institution.span-6.last
View
4 app/views/popular_science_works/_form.html.haml
@@ -4,8 +4,8 @@
.row
- .span-9= f.input :authors, :as => :text, :input_html => { :size => '60x1' }
- .span-9.last= f.input :title, :as => :text, :input_html => { :size => '60x1' }
+ .span-9= f.input :authors, :as => :text, :input_html => { :size => '50x1' }
+ .span-9.last= f.input :title, :as => :text, :input_html => { :size => '50x1' }
.row
View
2 app/views/prizes/_form.html.haml
@@ -2,7 +2,7 @@
.span-6
= f.association :prizetype, :using => :name, :input_html => {:class => 'chosen-select', :prompt => true, :required => true}
.span-12.last
- = f.input :name, :as => :text, :input_html => { :size => '60x1' }, :wrapper_class => 'span-12 last'
+ = f.input :name, :as => :text, :input_html => { :size => '50x1' }, :wrapper_class => 'span-12 last'
#institution.span-6{'data-controller-name' => 'institutions'}
= f.association :institution, :using => :name, :input_html => {:class => 'chosen-select', :prompt => true, :required => true}
View
2 app/views/proceedings/_form.html.haml
@@ -4,7 +4,7 @@
= render :partial => "/shared/errors", :object => f.object.errors
.row
- .span-9= f.input :title, :as => :text, :input_html => { :size => '60x1' }
+ .span-9= f.input :title, :as => :text, :input_html => { :size => '50x1' }
.span-3.last= f.input :year, :as => :string, :input_html => { :size => '4', :autocomplete => "off" }
View
4 app/views/projects/_form.html.haml
@@ -7,8 +7,8 @@
.span-6.last= f.input :abbrev, :as => :string, :input_html => { :size => '30' }
.row
- .span-9= f.input :responsible, :as => :text, :input_html => { :size => '60x1', :required => true}
- .span-9.last= f.input :descr, :as => :text, :input_html => { :size => '60x1', :required => true}
+ .span-9= f.input :responsible, :as => :text, :input_html => { :size => '50x1', :required => true}
+ .span-9.last= f.input :descr, :as => :text, :input_html => { :size => '50x1', :required => true}
.row
.span-18= f.association :projecttype, :collection => Projecttype.all, :as => :radio, :wrapper_class =>'radio-set'
View
4 app/views/refereed_inproceedings/_form.html.haml
@@ -4,8 +4,8 @@
= render :partial => "/shared/errors", :object => f.object.errors
.row
- .span-9= f.input :authors, :as => :text, :input_html => { :size => '60x2' }
- .span-9.last= f.input :title, :as => :text, :input_html => { :size => '60x2' }
+ .span-9= f.input :authors, :as => :text, :input_html => { :size => '50x2' }
+ .span-9.last= f.input :title, :as => :text, :input_html => { :size => '50x2' }
.row
.span-4= f.input :pages, :as => :string, :input_html => { :size => '20', :autocomplete => "off", :required => true }
View
2 app/views/regular_courses/_form.html.haml
@@ -3,7 +3,7 @@
= render :partial => "/shared/errors", :object => f.object.errors
.row
- .span-9= f.input :title, :as => :string, :input_html => {:size => 60}
+ .span-9= f.input :title, :as => :string, :input_html => {:size => 50}
.span-9.last= f.association :modality, :as => :radio, :wrapper_class => 'radio-set'
.row
View
14 app/views/reviews/_form.html.haml
@@ -5,21 +5,21 @@
.row
.span-9
- if f.object.new_record?
- = f.input :authors, :as => :text, :input_html => { :size => '60x1', :value => current_user.author_name }, :required => true
+ = f.input :authors, :as => :text, :input_html => { :size => '50x1', :value => current_user.author_name }, :required => true
- else
- = f.input :authors, :as => :text, :input_html => { :size => '60x1' }, :required => true
- .span-9.last= f.input :title, :as => :text, :input_html => { :size => '60x1' }, :required => true
+ = f.input :authors, :as => :text, :input_html => { :size => '50x1' }, :required => true
+ .span-9.last= f.input :title, :as => :text, :input_html => { :size => '50x1' }, :required => true
.row
- .span-9= f.input :reviewed_work_title, :as => :text, :input_html => { :size => '60x1' }, :required => true
- .span-9.last= f.input :reviewed_work_publication, :as => :text, :input_html => { :size => '60x1' }
+ .span-9= f.input :reviewed_work_title, :as => :text, :input_html => { :size => '50x1' }, :required => true
+ .span-9.last= f.input :reviewed_work_publication, :as => :text, :input_html => { :size => '50x1' }
.row
- .span-9= f.input :published_on, :as => :text, :input_html => { :size => '60x1' }, :required => true
+ .span-9= f.input :published_on, :as => :text, :input_html => { :size => '50x1' }, :required => true
.span-3= f.input :year, :as => :string, :input_html => { :size => '4', :autocomplete => "off" }
.span-6.last
= f.label :month, :required => true
= select_month_for 'month', 'review'
.row
- = f.input :other, :as => :text, :input_html => { :size => '60x1' }
+ = f.input :other, :as => :text, :input_html => { :size => '50x1' }
View
6 app/views/seminaries/_form.html.haml
@@ -5,10 +5,10 @@
.row
.span-9
- if f.object.new_record?
- = f.input :instructors, :as => :text, :input_html => { :size => '60x1', :value => current_user.author_name }
+ = f.input :instructors, :as => :text, :input_html => { :size => '50x1', :value => current_user.author_name }
- else
- = f.input :instructors, :as => :text, :input_html => { :size => '60x1' }
- .span-9.last= f.input :title, :as => :text, :input_html => { :size => '60x1' }
+ = f.input :instructors, :as => :text, :input_html => { :size => '50x1' }
+ .span-9.last= f.input :title, :as => :text, :input_html => { :size => '50x1' }
.row
.span-9= f.association :seminarytype, :using => :name, :as => :radio, :wrapper_class => 'radio-set'
View
4 app/views/teaching_products/_form.html.haml
@@ -3,8 +3,8 @@
= render :partial => "/shared/errors", :object => f.object.errors
.row
- .span-9= f.input :authors, :as => :text, :input_html => { :size => '60x1' }
- .span-9.last= f.input :title, :as => :text, :input_html => { :size => '60x1' }
+ .span-9= f.input :authors, :as => :text, :input_html => { :size => '50x1' }
+ .span-9.last= f.input :title, :as => :text, :input_html => { :size => '50x1' }
.row
.span-6
View
6 app/views/technical_products/_form.html.haml
@@ -3,15 +3,15 @@
= render :partial => "/shared/errors", :object => f.object.errors
.row
- .span-9= f.input :authors, :as => :text, :input_html => { :size => '60x1' }
- .span-9.last= f.input :title, :as => :text, :input_html => { :size => '60x1' }
+ .span-9= f.input :authors, :as => :text, :input_html => { :size => '50x1' }
+ .span-9.last= f.input :title, :as => :text, :input_html => { :size => '50x1' }
.row
.span-9= f.association :techproductstatus, :collection => Techproductstatus.all, :using => :name, :as => :radio, :prompt => true, :wrapper_class => 'radio-set'
.span-9.last= f.association :techproducttype, :collection => Techproducttype.all, :using => :name, :input_html => {:prompt => true, :class => 'chosen-select', :required => true}
.row
- .span-9= f.input :descr, :as => :text, :input_html => { :size => '60x1' }
+ .span-9= f.input :descr, :as => :text, :input_html => { :size => '50x1' }
#institution.span-9.last
= f.association :institution, :using => :name, :input_html => {:prompt => true, :class => 'chosen-select', :required => true}
= link_to_new_record 'Agregar institución', new_institution_path
View
4 app/views/technical_reports/_form.html.haml
@@ -3,8 +3,8 @@
= render :partial => "/shared/errors", :object => f.object.errors
.row
- .span-9= f.input :authors, :as => :text, :input_html => { :size => '60x1' }
- .span-9.last= f.input :title, :as => :text, :input_html => { :size => '60x1' }
+ .span-9= f.input :authors, :as => :text, :input_html => { :size => '50x1' }
+ .span-9.last= f.input :title, :as => :text, :input_html => { :size => '50x1' }
.row
.span-6= f.input :reference, :as => :string, :input_html => { :size => '20', :autocomplete => "off"}
View
2 app/views/techproducttypes/_form.html.haml
@@ -1,3 +1,3 @@
%div{ :class => 'span-7 section_left last' }
%div{:class => 'span-7 last'}
- = f.input :name, :as => :string, :html_input => { :size => '60' }
+ = f.input :name, :as => :string, :html_input => { :size => '50' }
View
6 app/views/unpublished_articles/_form.html.haml
@@ -3,8 +3,8 @@
= render :partial => "/shared/errors", :object => f.object.errors
.row
- .span-9= f.input :authors, :as => :text, :input_html => { :size => '60x3' }
- .span-9.last= f.input :title, :as => :text, :input_html => { :size => '60x3' }
+ .span-9= f.input :authors, :as => :text, :input_html => { :size => '50x3' }
+ .span-9.last= f.input :title, :as => :text, :input_html => { :size => '50x3' }
.row
#journal.span-6.last
@@ -24,7 +24,7 @@
.row
.span-9= f.input :url, :as => :string, :input_html => { :size => '50', :autocomplete => "off" }
- .span-9.last= f.input :other, :as => :text, :input_html => { :size => '60x1' }
+ .span-9.last= f.input :other, :as => :text, :input_html => { :size => '50x1' }
.span-18.last
View
4 app/views/unrefereed_inproceedings/_form.html.haml
@@ -4,8 +4,8 @@
= render :partial => "/shared/errors", :object => f.object.errors
.row
- .span-9= f.input :authors, :as => :text, :input_html => { :size => '60x2' }
- .span-9.last= f.input :title, :as => :text, :input_html => { :size => '60x2' }
+ .span-9= f.input :authors, :as => :text, :input_html => { :size => '50x2' }
+ .span-9.last= f.input :title, :as => :text, :input_html => { :size => '50x2' }
.row
.span-4= f.input :pages, :as => :string, :input_html => { :size => '20', :autocomplete => "off", :required => true }
View
2 app/views/user_adscriptions/_form.html.haml
@@ -14,7 +14,7 @@
%div{:class=> 'span-6'}
= f.collection_select :adscription_id, Adscription.all, :id, :name, { :prompt => true }
%div{:class=> 'span-18 last'}
- = f.text_area :descr, :size => '60x3'
+ = f.text_area :descr, :size => '50x3'
%div{ :class => 'span-24 last' }
%div{:class=> 'span-6'}
View
2 app/views/user_adscriptions/_mini_form.html.haml
@@ -2,7 +2,7 @@
= f.input :adscription_id, :as =>:radio, :collection => Adscription.enabled
.span-12.last
- = f.input :descr, :as => :text, :input_html => {:size => '60x3'}
+ = f.input :descr, :as => :text, :input_html => {:size => '50x3'}
.span-18.last
View
2 app/views/user_schoolarships/_form.html.haml
@@ -6,7 +6,7 @@
#schoolarship.span-8
= f.association :schoolarship, :using => :name, :input_html => {:prompt => true, :class => 'chosen-select'}
= link_to_new_record 'Agregar una beca', new_schoolarship_path
- .span-10.last=f.input :descr, :as => :text, :input_html => { :size => '60x1' }
+ .span-10.last=f.input :descr, :as => :text, :input_html => { :size => '50x1' }
.row
.span-4= f.input :start_date, :as => :string, :required => true, :input_html => { :size => '10', :class => 'date'}
View
4 app/views/user_skills/_form.html.haml
@@ -7,7 +7,7 @@
= link_to_new_record 'Agregar una skill', new_skilltype_path
.row
- .span-8.last=f.input :descr, :as => :text, :input_html => { :size => '60x1' }
+ .span-8.last=f.input :descr, :as => :text, :input_html => { :size => '50x1' }
.row
- .span-8.last= f.input :descr_en, :as => :text, :input_html => { :size => '60x1' }
+ .span-8.last= f.input :descr_en, :as => :text, :input_html => { :size => '50x1' }

0 comments on commit 176018f

Please sign in to comment.