diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-23 10:11:09 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-23 10:11:09 +0400 |
commit | ab9d02365181df373beffbe7732b36b9b3f7a307 (patch) | |
tree | 4dc15b36db8f256f032bb58b889e28850d3c1b0b /app/views/admin | |
parent | f17ddeb394ced4322f9b29eada92d5086bdef03b (diff) |
Create dir with namespace. Create namespace with user
Diffstat (limited to 'app/views/admin')
-rw-r--r-- | app/views/admin/users/_form.html.haml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/app/views/admin/users/_form.html.haml b/app/views/admin/users/_form.html.haml index 7010c2727c6..312398565c9 100644 --- a/app/views/admin/users/_form.html.haml +++ b/app/views/admin/users/_form.html.haml @@ -16,6 +16,11 @@ = f.text_field :name %span.help-inline * required .clearfix + = f.label :username + .input + = f.text_field :username + %span.help-inline * required + .clearfix = f.label :email .input = f.text_field :email @@ -26,11 +31,11 @@ = f.label :force_random_password do %span Generate random password .input= f.check_box :force_random_password, {}, true, nil - + %div.password-fields .clearfix = f.label :password - .input= f.password_field :password, disabled: f.object.force_random_password + .input= f.password_field :password, disabled: f.object.force_random_password .clearfix = f.label :password_confirmation .input= f.password_field :password_confirmation, disabled: f.object.force_random_password |