fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [13494]


From: Nelson Guerra
Subject: [Fmsystem-commits] [13494]
Date: Wed, 24 Jun 2015 22:42:53 +0000

Revision: 13494
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13494
Author:   nelson224
Date:     2015-06-24 22:42:53 +0000 (Wed, 24 Jun 2015)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind/rental/templates/base/contract.xsl

Modified: branches/dev-syncromind/rental/templates/base/contract.xsl
===================================================================
--- branches/dev-syncromind/rental/templates/base/contract.xsl  2015-06-24 
22:42:32 UTC (rev 13493)
+++ branches/dev-syncromind/rental/templates/base/contract.xsl  2015-06-24 
22:42:53 UTC (rev 13494)
@@ -27,7 +27,47 @@
                        <div id="tab-content">
                                <xsl:value-of disable-output-escaping="yes" 
select="tabs"/>
                                <div id="details">
-                                       <fieldset></fieldset>
+                                       <fieldset>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="lang_field_of_responsibility"/>
+                                                       </label>
+                                                       <xsl:choose>
+                                                               <xsl:when 
test="contract_id > 0">
+                                                                       <input 
type="hidden" name="location_id" id="location_id" value="{location_id}"/>
+                                                               </xsl:when>
+                                                       </xsl:choose>
+                                                       <xsl:value-of 
select="value_field_of_responsibility"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="lang_contract_type"/>
+                                                       </label>
+                                                       <select 
id="contract_type" name="contract_type">
+                                                               
<xsl:apply-templates select="list_contract_type/options"/>
+                                                       </select>
+                                               </div>  
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="lang_executive_officer"/>
+                                                       </label>
+                                                       <select 
id="executive_officer" name="executive_officer">
+                                                               
<xsl:apply-templates select="list_executive_officer/options"/>
+                                                       </select>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="lang_date_start"/>
+                                                       </label>
+                                                       <input type="text" 
id="date_start" name="date_start" size="10" value="{value_date_start}" 
readonly="readonly"/>
+                                               </div>  
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="lang_date_end"/>
+                                                       </label>
+                                                       <input type="text" 
id="date_end" name="date_end" size="10" value="{value_date_end}" 
readonly="readonly"/>
+                                               </div>  
+                                       </fieldset>
                                </div>
                        </div>
                        <div class="proplist-col">
@@ -40,4 +80,13 @@
                </xsl:variable>
                <form name="cancel_form" id="cancel_form" 
action="{$cancel_url}" method="post"></form>
        </div>
+</xsl:template>
+
+<xsl:template match="options">
+       <option value="{id}">
+               <xsl:if test="selected != 0">
+                       <xsl:attribute name="selected" value="selected"/>
+               </xsl:if>
+               <xsl:value-of disable-output-escaping="yes" select="name"/>
+       </option>
 </xsl:template>
\ No newline at end of file




reply via email to

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