Commit 96443415 authored by Tino Goratsch's avatar Tino Goratsch

made it possible to add some custom CSS selectors to the submit button form element renderer

parent ceb39462
{extends file="asset:System/Partials/form_group.base.tpl"}
{block FORM_GROUP_FORM_FIELD}
<button type="submit" name="submit" class="btn btn-primary">
<button type="submit" name="submit" class="btn btn-primary{if !empty($btn_class_submit)} {$btn_class_submit}{/if}">
{if !empty($submitLabel)}
{$submitLabel}
{else}
......@@ -9,7 +9,9 @@
{/if}
</button>
{if !empty($back_url)}
<a href="{$back_url}" class="btn btn-default">{lang t="system|cancel"}</a>
<a href="{$back_url}" class="btn btn-default{if !empty($btn_class_back)} {$btn_class_back}{/if}">
{lang t="system|cancel"}
</a>
{/if}
{if !empty($form_token)}
{$form_token}
......
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