Skip to content

Commit

Permalink
Afform - Better descriptive labels for text element
Browse files Browse the repository at this point in the history
  • Loading branch information
colemanw committed Mar 20, 2022
1 parent 77cdde5 commit 7ccdc9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<li ng-click="$event.stopPropagation()">
<div class="af-gui-field-select-in-dropdown">
<label>{{:: ts('Style:') }}</label>
<label>{{:: ts('Element:') }}</label>
<select class="form-control" ng-model="$ctrl.node['#tag']" title="{{:: ts('Text style') }}">
<option ng-repeat="(opt, label) in tags" value="{{ opt }}">{{ label }}</option>
</select>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
ctrl = this;

$scope.tags = {
p: ts('Normal Text'),
p: ts('Paragraph'),
legend: ts('Fieldset Legend'),
h1: ts('Heading 1'),
h2: ts('Heading 2'),
Expand Down

0 comments on commit 7ccdc9a

Please sign in to comment.