theliatype in form : types now extends bastype which implement typeinterface

basetype provides verifiyForm method wich can be call in Callback constraint
This commit is contained in:
Etienne Roudeix
2013-10-16 17:10:53 +02:00
parent 60fd54d5c3
commit a2048bec24
22 changed files with 71 additions and 29 deletions

View File

@@ -88,7 +88,7 @@
{form_tagged_fields form=$form tag='requirements'}
<div class="form-group {if $error}has-error{/if} js-tax-requirements" data-tax-type="{$data.tax_type}" {if $data.tax_type != $TYPE}style="display: none"{/if}>
<label for="{$label_attr.for}" class="control-label">
{intl l=$label} :
{intl l=$label} : {$formType}
</label>
{if $formType == 'choice'}
<select name="{$name}">