Afform - move contentEditable directive into crmUI library for reusability
[civicrm-core.git] / ext / afform / admin / ang / afGuiEditor / elements / afGuiButton.html
CommitLineData
e72f4d81 1<div class="af-gui-bar">
e72f4d81 2 <div class="form-inline pull-right">
b4def6e9 3 <div class="btn-group pull-right" af-gui-menu>
d7056de0 4 <button type="button" class="btn btn-default btn-xs dropdown-toggle af-gui-add-element-button" data-toggle="dropdown" title="{{:: ts('Configure') }}">
3fc5bbff
CW
5 <span><i class="crm-i fa-gear"></i></span>
6 </button>
ab3c1d83 7 <ul class="dropdown-menu" ng-if="menu.open" ng-include="'~/afGuiEditor/elements/afGuiButton-menu.html'"></ul>
3fc5bbff 8 </div>
e72f4d81
CW
9 </div>
10</div>
4bd44053 11<button type="button" class="btn {{ getSetStyle() }} disabled">
e72f4d81 12 <span class="crm-editable-enabled" ng-click="pickIcon()" >
ab3c1d83 13 <i class="crm-i {{ $ctrl.node['crm-icon'] }}"></i>
e72f4d81 14 </span>
9eed04d9 15 <span crm-ui-editable ng-model="$ctrl.node['#children'][0]['#text']" >
ab3c1d83 16 {{ $ctrl.node['#children'][0]['#text'] }}
e72f4d81
CW
17 </span>
18</button>