Commit 56b351f72751dbc13463222ffa2906b84b649339

Authored by Antonio Terceiro
1 parent c492f002

Being consistent with textarea fields sizes

(ActionItem1733)
app/views/cms/_textile_article.rhtml
@@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@
12 <%= labelled_form_field(_('Lead'), text_area(:article, 'abstract', :cols => 64, :rows => 10)) %> 12 <%= labelled_form_field(_('Lead'), text_area(:article, 'abstract', :cols => 64, :rows => 10)) %>
13 </div> 13 </div>
14 <div style="margin-top: 10px;"> 14 <div style="margin-top: 10px;">
15 - <%= labelled_form_field(_('Text'), text_area(:article, 'body', :cols => 64)) %> 15 + <%= labelled_form_field(_('Text'), text_area(:article, 'body', :cols => 64, :rows => 30)) %>
16 </div> 16 </div>
17 17
18 <%= javascript_include_tag 'article'%> 18 <%= javascript_include_tag 'article'%>
app/views/cms/_tiny_mce_article.rhtml
@@ -16,10 +16,10 @@ @@ -16,10 +16,10 @@
16 <em><%= _('Used when a short version of your text is needed.') %></em> 16 <em><%= _('Used when a short version of your text is needed.') %></em>
17 17
18 <div id="article-lead"> 18 <div id="article-lead">
19 - <%= labelled_form_field(_('Lead'), text_area(:article, 'abstract', :style => 'width: 100%; height: 300px;')) %> 19 + <%= labelled_form_field(_('Lead'), text_area(:article, 'abstract', :style => 'width: 100%; height: 200px;')) %>
20 </div> 20 </div>
21 <div style="margin-top: 10px;"> 21 <div style="margin-top: 10px;">
22 - <%= labelled_form_field(_('Text'), text_area(:article, 'body', :style => 'width:100%')) %> 22 + <%= labelled_form_field(_('Text'), text_area(:article, 'body', :style => 'width:100%; height: 500px;')) %>
23 </div> 23 </div>
24 24
25 </div> 25 </div>
app/views/tasks/_textile_article.rhtml
@@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
7 <%= labelled_form_field(_('Lead'), f.text_area(:abstract, :cols => 64, :rows => 10)) %> 7 <%= labelled_form_field(_('Lead'), f.text_area(:abstract, :cols => 64, :rows => 10)) %>
8 </div> 8 </div>
9 <div id="article-body-field" style="margin-top: 10px;"> 9 <div id="article-body-field" style="margin-top: 10px;">
10 - <%= labelled_form_field(_('Text'), f.text_area(:body, :cols => 64)) %> 10 + <%= labelled_form_field(_('Text'), f.text_area(:body, :cols => 64, :rows => 30)) %>
11 </div> 11 </div>
12 12
13 <%= javascript_include_tag 'article'%> 13 <%= javascript_include_tag 'article'%>
app/views/tasks/_tiny_mce_article.rhtml
@@ -6,10 +6,10 @@ @@ -6,10 +6,10 @@
6 <% end %> 6 <% end %>
7 7
8 <div id="article-lead"> 8 <div id="article-lead">
9 - <%= labelled_form_field(_('Lead'), f.text_area(:abstract, :style => 'width: 100%; height: 300px;')) %> 9 + <%= labelled_form_field(_('Lead'), f.text_area(:abstract, :style => 'width: 100%; height: 200px;')) %>
10 </div> 10 </div>
11 <div id="article-body-field" style="margin-top: 10px;"> 11 <div id="article-body-field" style="margin-top: 10px;">
12 - <%= labelled_form_field(_('Text'), f.text_area(:body, :style => 'width:100%')) %> 12 + <%= labelled_form_field(_('Text'), f.text_area(:body, :style => 'width:100%; height: 500px;')) %>
13 </div> 13 </div>
14 14
15 <%= javascript_include_tag 'article' %> 15 <%= javascript_include_tag 'article' %>