summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-04-17 23:33:15 -0700
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-04-17 23:33:15 -0700
commitea818346a941d1a791cb655e543d29ef6c528e12 (patch)
tree5451e600ddd96b16f2b0529f44096ea43d2cf982
parente52cb32f9a38beaad5b845d21959cd2e24497cc3 (diff)
parent8b5ef3c24fb4aa277239aeade47edaf3114fc831 (diff)
downloadgitlab-ce-ea818346a941d1a791cb655e543d29ef6c528e12.tar.gz
Merge pull request #687 from fixe/label-typo
Fixed typo in label
-rw-r--r--app/views/admin/users/_form.html.haml12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/views/admin/users/_form.html.haml b/app/views/admin/users/_form.html.haml
index d493ebf7852..883a7d72c6b 100644
--- a/app/views/admin/users/_form.html.haml
+++ b/app/views/admin/users/_form.html.haml
@@ -12,12 +12,12 @@
= f.label :name
.input
= f.text_field :name
- %span.help-inline * requried
+ %span.help-inline * required
.clearfix
= f.label :email
.input
= f.text_field :email
- %span.help-inline * requried
+ %span.help-inline * required
.clearfix
= f.label :password
.input= f.password_field :password
@@ -42,10 +42,10 @@
.alert
.clearfix
%p Give user ability to manage application.
- = f.label :admin, :class => "checkbox" do
+ = f.label :admin, :class => "checkbox" do
= f.check_box :admin
%span Administrator
- - unless @admin_user.new_record?
+ - unless @admin_user.new_record?
.alert.alert-error
- if @admin_user.blocked
%span
@@ -57,7 +57,7 @@
Blocked user will removed from all projects &amp; will not be able to login to GitLab.
.actions
= f.submit 'Save', :class => "btn primary"
- - if @admin_user.new_record?
+ - if @admin_user.new_record?
= link_to 'Cancel', admin_users_path, :class => "btn"
- - else
+ - else
= link_to 'Cancel', admin_user_path(@admin_user), :class => "btn"