[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [14090]
From: |
Nelson Guerra |
Subject: |
[Fmsystem-commits] [14090] |
Date: |
Fri, 02 Oct 2015 00:25:19 +0000 |
Revision: 14090
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14090
Author: nelson224
Date: 2015-10-02 00:25:18 +0000 (Fri, 02 Oct 2015)
Log Message:
-----------
Modified Paths:
--------------
branches/dev-syncromind/booking/templates/base/permission_form.xsl
Modified: branches/dev-syncromind/booking/templates/base/permission_form.xsl
===================================================================
--- branches/dev-syncromind/booking/templates/base/permission_form.xsl
2015-10-02 00:17:46 UTC (rev 14089)
+++ branches/dev-syncromind/booking/templates/base/permission_form.xsl
2015-10-02 00:25:18 UTC (rev 14090)
@@ -44,7 +44,7 @@
</label>
<div style="display:inline-block;">
<span><xsl:value-of select="node()"/></span>
- <select name='role' id='field_role'
style="display:block;">
+ <select name='role' id='field_role'
style="display:block;" data-validation="required">
<option value=''><xsl:value-of
select="php:function('lang', 'Select role...')" /></option>
<xsl:for-each select="available_roles/*">
<option>
@@ -67,6 +67,9 @@
<!--div class="autocomplete"-->
<input id="field_subject_name" name="subject_name"
type="text">
<xsl:attribute name="value"><xsl:value-of
select="subject_name"/></xsl:attribute>
+
<xsl:attribute name="data-validation">
+
<xsl:text>required</xsl:text>
+
</xsl:attribute>
</input>
<input id="field_subject_id" name="subject_id"
type="hidden">
<xsl:attribute name="value"><xsl:value-of
select="subject_id"/></xsl:attribute>
@@ -82,6 +85,9 @@
<!--div class="autocomplete"-->
<input id="field_object_name" name="object_name"
type="text">
<xsl:attribute name="value"><xsl:value-of
select="object_name"/></xsl:attribute>
+ <xsl:attribute
name="data-validation">
+
<xsl:text>required</xsl:text>
+
</xsl:attribute>
<xsl:if test="inline = '1'">
<xsl:attribute
name="disabled">disabled</xsl:attribute>
</xsl:if>
@@ -109,10 +115,10 @@
</xsl:choose>
</xsl:attribute>
</input>
- <a class="cancel">
- <xsl:attribute name="href"><xsl:value-of
select="cancel_link"/></xsl:attribute>
- <xsl:value-of select="php:function('lang', 'Cancel')"/>
- </a>
+ <input type="button" class="pure-button
pure-button-primary" name="cancel">
+ <xsl:attribute
name="onclick">window.location="<xsl:value-of
select="cancel_link"/>"</xsl:attribute>
+ <xsl:attribute
name="value"><xsl:value-of select="php:function('lang', 'Cancel')"
/></xsl:attribute>
+ </input>
</div>
</form>
</xsl:template>
\ No newline at end of file
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [14090],
Nelson Guerra <=