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

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CorePluginsAdmin/angularjs/form-field/field-radio.html')
-rw-r--r--plugins/CorePluginsAdmin/angularjs/form-field/field-radio.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/plugins/CorePluginsAdmin/angularjs/form-field/field-radio.html b/plugins/CorePluginsAdmin/angularjs/form-field/field-radio.html
new file mode 100644
index 0000000000..449d09621f
--- /dev/null
+++ b/plugins/CorePluginsAdmin/angularjs/form-field/field-radio.html
@@ -0,0 +1,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> \ No newline at end of file