Commit d4c0d5d8 by Torkel Ödegaard

changed position for checkbox label

parent 12c770f0
......@@ -72,12 +72,7 @@ function (angular, kbn) {
' ng-checked="' + attrs.model + '"></input>' +
' <label for="' + scope.$id + attrs.model + '" class="cr1"></label>';
if (attrs.position === "front") {
template = label + template;
} else {
template = template + label;
}
elem.replaceWith($compile(angular.element(template))(scope));
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment