Skip to content

Commit 7bf8844

Browse files
committed
Fixed $method and $action
1 parent d56a1c2 commit 7bf8844

File tree

1 file changed

+2
-2
lines changed
  • src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client

1 file changed

+2
-2
lines changed

src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/form.xsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -814,8 +814,8 @@ WHERE
814814
<xsl:for-each select="$body">
815815
<xsl:apply-templates select="." mode="bs2:Form"> <!-- document level template -->
816816
<xsl:with-param name="about" select="()"/> <!-- don't set @about on the container until after the resource is saved -->
817-
<xsl:with-param name="method" select="'put'"/>
818-
<xsl:with-param name="action" select="ldh:href($ldt:base, ac:absolute-path(ldh:base-uri(.)), map{}, $doc-uri)" as="xs:anyURI"/>
817+
<xsl:with-param name="method" select="$form/@method"/>
818+
<xsl:with-param name="action" select="$form/@action" as="xs:anyURI"/>
819819
<xsl:with-param name="form-actions-class" select="'form-actions modal-footer'" as="xs:string?"/>
820820
<xsl:with-param name="classes" select="()"/>
821821
<!-- <xsl:with-param name="type-metadata" select="$type-metadata" tunnel="yes"/>-->

0 commit comments

Comments
 (0)