Project

General

Profile

« Previous | Next » 

Revision 7970

missed a couple: use class="input-block-level" for large textarea inputs

View differences:

lib/style/common/templates/metacatui/entryForm.js
9 9
function addParagraph() {
10 10
    var newParaWidget = document.createElement("textarea");
11 11
    newParaWidget.setAttribute("rows", "6");
12
    newParaWidget.className="longwidth";
12
    newParaWidget.className="input-block-level";
13 13
    newParaWidget.setAttribute("name", "methodPara");
14 14

  
15 15
    var TR = document.createElement("tr");
......
83 83
    var textArea = document.createElement("textarea");
84 84
    textArea.setAttribute("name", "methodPara"+index);
85 85
    textArea.setAttribute("rows", 6); 
86
    textArea.className="longwidth";
86
    textArea.className="input-block-level";
87 87
    TD.appendChild(textArea);
88 88
    TR.appendChild(labelTD);
89 89
    TR.appendChild(TD);
lib/style/common/templates/metacatui/entryForm.tmpl
984 984
											<tr><td><textarea class="input-block-level" rows="6" cols="60" name="methodPara"></textarea></td></tr>
985 985
								        [% END %]
986 986
								        [% FOREACH para = methodPara %]
987
								           <tr><td><textarea rows="6" cols="60" name="methodPara">[% para %]</textarea></td></tr>
987
								           <tr><td><textarea class="input-block-level" rows="6" cols="60" name="methodPara">[% para %]</textarea></td></tr>
988 988
								        [% END %]
989 989
								        	<tr class="sectbody" id="addparabutton1">
990 990
									    		<td align="left">
......
1011 1011
								<div class="control-group">
1012 1012
									<label class="control-label" for="samplingDescription">Sampling Description</label>
1013 1013
									<div class="controls">
1014
										<textarea rows="6" cols="60" name="samplingDescription">[% samplingDescription %]</textarea>
1014
										<textarea class="input-block-level" rows="6" cols="60" name="samplingDescription">[% samplingDescription %]</textarea>
1015 1015
										<span class="help-block">
1016 1016
									        Describe the sampling design of the study.  For example, you might 
1017 1017
        									describe the way in which treatments were assigned to sampling units.</span>

Also available in: Unified diff