From 56b351f72751dbc13463222ffa2906b84b649339 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Thu, 9 Dec 2010 11:58:40 -0300 Subject: [PATCH] Being consistent with textarea fields sizes --- app/views/cms/_textile_article.rhtml | 2 +- app/views/cms/_tiny_mce_article.rhtml | 4 ++-- app/views/tasks/_textile_article.rhtml | 2 +- app/views/tasks/_tiny_mce_article.rhtml | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/cms/_textile_article.rhtml b/app/views/cms/_textile_article.rhtml index e7490c6..9cf0413 100644 --- a/app/views/cms/_textile_article.rhtml +++ b/app/views/cms/_textile_article.rhtml @@ -12,7 +12,7 @@ <%= labelled_form_field(_('Lead'), text_area(:article, 'abstract', :cols => 64, :rows => 10)) %>
- <%= labelled_form_field(_('Text'), text_area(:article, 'body', :cols => 64)) %> + <%= labelled_form_field(_('Text'), text_area(:article, 'body', :cols => 64, :rows => 30)) %>
<%= javascript_include_tag 'article'%> diff --git a/app/views/cms/_tiny_mce_article.rhtml b/app/views/cms/_tiny_mce_article.rhtml index b278ba6..d2d3c1e 100644 --- a/app/views/cms/_tiny_mce_article.rhtml +++ b/app/views/cms/_tiny_mce_article.rhtml @@ -16,10 +16,10 @@ <%= _('Used when a short version of your text is needed.') %>
- <%= labelled_form_field(_('Lead'), text_area(:article, 'abstract', :style => 'width: 100%; height: 300px;')) %> + <%= labelled_form_field(_('Lead'), text_area(:article, 'abstract', :style => 'width: 100%; height: 200px;')) %>
- <%= labelled_form_field(_('Text'), text_area(:article, 'body', :style => 'width:100%')) %> + <%= labelled_form_field(_('Text'), text_area(:article, 'body', :style => 'width:100%; height: 500px;')) %>
diff --git a/app/views/tasks/_textile_article.rhtml b/app/views/tasks/_textile_article.rhtml index 0a27572..6801248 100644 --- a/app/views/tasks/_textile_article.rhtml +++ b/app/views/tasks/_textile_article.rhtml @@ -7,7 +7,7 @@ <%= labelled_form_field(_('Lead'), f.text_area(:abstract, :cols => 64, :rows => 10)) %>
- <%= labelled_form_field(_('Text'), f.text_area(:body, :cols => 64)) %> + <%= labelled_form_field(_('Text'), f.text_area(:body, :cols => 64, :rows => 30)) %>
<%= javascript_include_tag 'article'%> diff --git a/app/views/tasks/_tiny_mce_article.rhtml b/app/views/tasks/_tiny_mce_article.rhtml index 3859a4a..1bb197a 100644 --- a/app/views/tasks/_tiny_mce_article.rhtml +++ b/app/views/tasks/_tiny_mce_article.rhtml @@ -6,10 +6,10 @@ <% end %>
- <%= labelled_form_field(_('Lead'), f.text_area(:abstract, :style => 'width: 100%; height: 300px;')) %> + <%= labelled_form_field(_('Lead'), f.text_area(:abstract, :style => 'width: 100%; height: 200px;')) %>
- <%= labelled_form_field(_('Text'), f.text_area(:body, :style => 'width:100%')) %> + <%= labelled_form_field(_('Text'), f.text_area(:body, :style => 'width:100%; height: 500px;')) %>
<%= javascript_include_tag 'article' %> -- libgit2 0.21.2