Fixing username translation

stable
Alejandro Alonso 2015-05-18 11:01:16 +02:00
parent 0f6fc3fa4c
commit f9327e4f17
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ div.wrapper(tg-user-profile, ng-controller="UserSettingsController as ctrl",
div.data div.data
fieldset fieldset
label(for="email", translate"USER_PROFILE.FIELD.USERNAME") label(for="email", translate="USER_PROFILE.FIELD.USERNAME")
input(type="text", name="username", id="username", placeholder="{{'USER_PROFILE.FIELD.USERNAME' | translate}}", input(type="text", name="username", id="username", placeholder="{{'USER_PROFILE.FIELD.USERNAME' | translate}}",
ng-model="user.username", data-required="true", data-maxlength="255", ng-model="user.username", data-required="true", data-maxlength="255",
data-regexp="^[\\w.-]+$") data-regexp="^[\\w.-]+$")