fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [13527] agegroup_edit.xsl


From: Saul
Subject: [Fmsystem-commits] [13527] agegroup_edit.xsl
Date: Thu, 25 Jun 2015 22:49:06 +0000

Revision: 13527
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13527
Author:   psaul
Date:     2015-06-25 22:49:05 +0000 (Thu, 25 Jun 2015)
Log Message:
-----------
agegroup_edit.xsl

Modified Paths:
--------------
    branches/dev-syncromind/booking/templates/base/agegroup_edit.xsl

Modified: branches/dev-syncromind/booking/templates/base/agegroup_edit.xsl
===================================================================
--- branches/dev-syncromind/booking/templates/base/agegroup_edit.xsl    
2015-06-25 22:48:41 UTC (rev 13526)
+++ branches/dev-syncromind/booking/templates/base/agegroup_edit.xsl    
2015-06-25 22:49:05 UTC (rev 13527)
@@ -1,62 +1,64 @@
 <xsl:template match="data" xmlns:php="http://php.net/xsl";>
-    <div id="content">
-    <h3><xsl:value-of select="php:function('lang', 'Edit agegroup 
group')"/></h3>
+    <!--div id="content"-->
+    <!--h3><xsl:value-of select="php:function('lang', 'Edit agegroup 
group')"/></h3-->
     <xsl:call-template name="msgbox"/>
-       <xsl:call-template name="yui_booking_i18n"/>
-    <form action="" method="POST">
-    
-    
-        <dl class="form-col">
-            <dt><label for="field_name"><xsl:value-of 
select="php:function('lang', 'Name')" /></label></dt>
-            <dd>
-                <input id="field_name" name="name" type="text">
-                    <xsl:attribute name="value"><xsl:value-of 
select="resource/name"/></xsl:attribute>
-                </input>
-            </dd>
-            <dt><label for="field_active"><xsl:value-of 
select="php:function('lang', 'Active')" /></label></dt>
-            <dd>
-                <select id="field_active" name="active">
-                    <option value="1">
-                       <xsl:if test="resource/active=1">
-                               <xsl:attribute 
name="selected">checked</xsl:attribute>
-                       </xsl:if>
-                        <xsl:value-of select="php:function('lang', 'Active')" 
/>
-                    </option>
-                    <option value="0">
-                       <xsl:if test="resource/active=0">
-                               <xsl:attribute 
name="selected">checked</xsl:attribute>
-                       </xsl:if>
-                        <xsl:value-of select="php:function('lang', 
'Inactive')" />
-                    </option>
-                </select>
-            </dd>
-            <dt><label for="field_sort"><xsl:value-of 
select="php:function('lang', 'Sort order')" /></label></dt>
-            <dd>
-                <input id="field_sort" name="sort" type="text" 
value="{resource/sort}"/>
-            </dd>
-
-            <dt><label for="field_description"><xsl:value-of 
select="php:function('lang', 'Description')" /></label></dt>
-            <dd>
-                <textarea cols="5" rows="5" id="field_description" 
name="description">
-                   <xsl:value-of select="resource/description"/>
-                </textarea>
-            </dd>
-        </dl>
-
-
-
+       <!--xsl:call-template name="yui_booking_i18n"/-->
+    <form action="" method="POST" id='form' class="pure-form 
pure-form-aligned" name="form">
+        <input type="hidden" name="tab" value=""/>
+        <div id="tab-content">
+            <xsl:value-of disable-output-escaping="yes" 
select="resource/tabs"/>
+            <div id="agegroup_edit">
+                <div class="pure-control-group">
+                        <label>
+                            <xsl:value-of select="php:function('lang', 
'Name')" />
+                        </label>
+                        <input id="field_name" name="name" type="text">
+                            <xsl:attribute name="value"><xsl:value-of 
select="resource/name"/></xsl:attribute>
+                        </input>
+                </div>
+                <div class="pure-control-group">
+                    <label><xsl:value-of select="php:function('lang', 
'Active')" /></label>
+                        <select id="field_active" name="active">
+                            <option value="1">
+                                <xsl:if test="resource/active=1">
+                                        <xsl:attribute 
name="selected">checked</xsl:attribute>
+                                </xsl:if>
+                                <xsl:value-of select="php:function('lang', 
'Active')" />
+                            </option>
+                            <option value="0">
+                                <xsl:if test="resource/active=0">
+                                        <xsl:attribute 
name="selected">checked</xsl:attribute>
+                                </xsl:if>
+                                <xsl:value-of select="php:function('lang', 
'Inactive')" />
+                            </option>
+                        </select>
+                </div>
+                <div class="pure-control-group">
+                    <label><xsl:value-of select="php:function('lang', 'Sort 
order')" /></label>
+                        <input id="field_sort" name="sort" type="text" 
value="{resource/sort}"/>
+                </div>
+                <div class="pure-control-group">
+                    <label>
+                        <xsl:value-of select="php:function('lang', 
'Description')" />
+                    </label>
+                        <textarea cols="5" rows="5" id="field_description" 
name="description">
+                           <xsl:value-of select="resource/description"/>
+                        </textarea>
+                </div>
+            </div>
+        </div>
         <div class="form-buttons">
-            <input type="submit">
-                               <xsl:attribute name="value"><xsl:value-of 
select="php:function('lang', 'Update')" /></xsl:attribute>
-                       </input>
+            <input type="submit" class="button pure-button 
pure-button-primary">
+                <xsl:attribute name="value"><xsl:value-of 
select="php:function('lang', 'Update')" /></xsl:attribute>
+            </input>
             <a class="cancel">
                 <xsl:attribute name="href"><xsl:value-of 
select="resource/cancel_link"></xsl:value-of></xsl:attribute>
                 <xsl:value-of select="php:function('lang', 'Cancel')" />
             </a>                       
-               </div>        
+        </div>        
     </form>
-    </div>
-    <script type="text/javascript">
+    <!--/div-->
+    <!--script type="text/javascript">
         YAHOO.booking.initialSelection = <xsl:value-of 
select="booking/resources_json"/>;
-    </script>
+    </script-->
 </xsl:template>




reply via email to

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