Welcome to mirror list, hosted at ThFree Co, Russian Federation.

field-radio.html « form-field « angularjs « CorePluginsAdmin « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 449d09621ff0685584146d66d41ab1aa9df6fcf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<div>
    <label class="fieldRadioTitle" ng-show="formField.title">{{ formField.title }}</label>

    <p ng-repeat="radioModel in formField.availableOptions"
    class="radio">
    <input ng-model="formField.value"
           ng-value="radioModel.key"
           type="radio"
           id="{{ formField.name + radioModel.key }}"
           name="{{ formField.name }}"
           ng-disabled="radioModel.disabled"
           piwik-attributes="{{formField.uiControlAttributes}}"
    >
    <label for="{{ formField.name + radioModel.key }}">{{ radioModel.value }}
        <span class="form-description" ng-show="radioModel.description">{{ radioModel.description }}</span></label>
    </p>
</div>