Juanfran 2014-08-12 12:38:26 +02:00
parent bc637b20a9
commit 6d4fac10bb
2 changed files with 6 additions and 1 deletions

View File

@ -87,7 +87,7 @@ module.controller("ProjectProfileController", ProjectProfileController)
ProjectProfileDirective = ($log, $repo, $confirm, $location) ->
link = ($scope, $el, $attrs) ->
form = $el.find("form").checksley()
form = $el.find("form").checksley({"onlyOneErrorElement": true})
submit = =>
return if not form.validate()

View File

@ -4,6 +4,11 @@ fieldset {
padding: 0;
position: relative;
width: 100%;
label {
~.checksley-error-list {
top: 31px;
}
}
}
input[type="text"],