fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [12191] make textarea responsive


From: Alejandro
Subject: [Fmsystem-commits] [12191] make textarea responsive
Date: Thu, 16 Oct 2014 23:07:24 +0000

Revision: 12191
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12191
Author:   nudrick
Date:     2014-10-16 23:07:23 +0000 (Thu, 16 Oct 2014)
Log Message:
-----------
make textarea responsive

Modified Paths:
--------------
    branches/dev-syncromind/property/templates/base/condition_survey.xsl

Modified: branches/dev-syncromind/property/templates/base/condition_survey.xsl
===================================================================
--- branches/dev-syncromind/property/templates/base/condition_survey.xsl        
2014-10-16 22:01:12 UTC (rev 12190)
+++ branches/dev-syncromind/property/templates/base/condition_survey.xsl        
2014-10-16 23:07:23 UTC (rev 12191)
@@ -34,9 +34,7 @@
 
         <xsl:value-of select="validator"/>
                
-               <h1><input type="text" id="txt1" value="{$action_url}" /></h1>
-        
-        <form name="form" class="pure-form pure-form-aligned" id="form" 
action="{$action_url}" method="post" ENCTYPE="multipart/form-data">
+               <form name="form" class="pure-form pure-form-aligned" id="form" 
action="{$action_url}" method="post" ENCTYPE="multipart/form-data">
                             
             <dl>
                 <xsl:choose>
@@ -98,16 +96,15 @@
                             </xsl:choose>
                         </div>
                         
-                        <div class="pure-control-group">
+                        <div class="pure-control-group" style="width:50%; ">
                             <label for="name">
                                 <xsl:value-of select="php:function('lang', 
'description')" />
                             </label>
                             <xsl:choose>
                                 <xsl:when test="editable = 1">
-                                    <textarea id="descr" name="values[descr]" 
rows="5" cols="60"
-                                                                          
data-validation="required">
-                                        <xsl:value-of select="survey/descr" 
disable-output-escaping="yes"/>
-                                    </textarea>
+                                                                       
<textarea id="descr" rows="6" style="width:60%; resize:none;" 
name="values[descr]" data-validation="required">
+                                                                               
<xsl:value-of select="survey/descr" disable-output-escaping="yes"/>
+                                                                       
</textarea>
                                 </xsl:when>
                                 <xsl:otherwise>
                                     <xsl:value-of select="survey/descr" 
disable-output-escaping="yes"/>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]