Afform Gui - Support cloning existing forms
[civicrm-core.git] / ext / afform / core / ang / af / afField.html
CommitLineData
7f9236da
CW
1<label class="crm-af-field-label" ng-if="$ctrl.defn.label" for="{{:: fieldId }}">
2 {{:: $ctrl.defn.label }}
17d153bd 3</label>
7f9236da
CW
4<p class="crm-af-field-help-pre" ng-if="$ctrl.defn.help_pre">{{:: $ctrl.defn.help_pre }}</p>
5<div class="crm-af-field" ng-include="'~/af/fields/' + $ctrl.defn.input_type + '.html'"></div>
6<p class="crm-af-field-help-post" ng-if="$ctrl.defn.help_post">{{:: $ctrl.defn.help_post }}</p>