Commit e89eeecc authored by Keval Pandya's avatar Keval Pandya

[Improved] Improved code of InvoiceAddress.html

parent 6f2c2df4
Pipeline #6732 passed with stages
in 2 minutes and 36 seconds
......@@ -13,16 +13,22 @@ Edit.html: keep
Otherwise your changes will be overwritten the next time you save the extension in the extension builder
<f:section name="content">
<div class="container">
<h1>
<f:translate key="tx_t3omy_domain_model_invoiceaddress"/>
</h1>
<f:flashMessages/>
<f:render partial="FormErrors"/>
<f:form action="update" controller="InvoiceAddress" name="invoiceAddress" object="{user}">
<f:render partial="InvoiceAddress/FormFields" arguments="{user:user}"/>
<f:form.submit value="Save" class="btn btn-primary mr-3"/>
</f:form>
</div>
<f:if condition="{user}">
<div class="container">
<h1>
<f:translate key="tx_t3omy_domain_model_invoiceaddress"/>
</h1>
<f:flashMessages/>
<f:render partial="FormErrors"/>
<f:form action="update" controller="InvoiceAddress" name="invoiceAddress" object="{user}">
<f:render partial="InvoiceAddress/FormFields" arguments="{user:user}"/>
<div class="form-group row">
<div class="col-sm-10 col-md-8 col-lg-10 offset-lg-2 offset-md-4">
<f:form.submit value="Update Invoice Address" class="btn btn-success btn-large"/>
</div>
</div>
</f:form>
</div>
</f:if>
</f:section>
</html>
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment