why i have to add _form ⇒ $form, if i include part of form designed in latte template
Notice: This thread is very old.
- mcmatak
- Member | 504
why i have to add _form ⇒ $form, if i include part of form designed in latte template
{form xForm}
<div class="modal-body">
{include $formPath, _form => $form}
</div>
<div class="modal-footer">
{input save}
{input remove}
<button type="button" class="btn btn-default" data-dismiss="modal">{_adm.buttons.close}</button>
</div>
{/form}
inside this latte template is input macro
<div class="form-group required">
{input number}
</div>