I have never met this before, no select option etc.. do not know much about the PHP, here is the code part. thank you
PHP:
<div class="col-xs-12 form-group">
<!----><div ng-repeat="title in formSettings[field].options" class="gender-radio-container" ng-class="{ 'has-error' : form[field].$invalid && form.$submitted }">
<div class="gender-radio" ng-click="lead.title = title.title; lead.gender = title.gender" ng-class="{ 'has-success' : form[field].$valid && lead.gender == title.gender }">
<span ng-show="lead[field] == title[field]" class="glyphicon glyphicon-ok ng-hide"></span>
</div>
<div class="gender-radio-label">M</div>
</div><!----><div ng-repeat="title in formSettings[field].options" class="gender-radio-container" ng-class="{ 'has-error' : form[field].$invalid && form.$submitted }">
<div class="gender-radio" ng-click="lead.title = title.title; lead.gender = title.gender" ng-class="{ 'has-success' : form[field].$valid && lead.gender == title.gender }">
<span ng-show="lead[field] == title[field]" class="glyphicon glyphicon-ok ng-hide"></span>
</div>
<div class="gender-radio-label">Mlle</div>
</div><!---->
</div>
Вложения
-
9,4 КБ Просмотры: 51