Commit ea818346a941d1a791cb655e543d29ef6c528e12

Authored by Dmitriy Zaporozhets
2 parents e52cb32f 8b5ef3c2

Merge pull request #687 from fixe/label-typo

Fixed typo in label
Showing 1 changed file with 6 additions and 6 deletions   Show diff stats
app/views/admin/users/_form.html.haml
... ... @@ -12,12 +12,12 @@
12 12 = f.label :name
13 13 .input
14 14 = f.text_field :name
15   - %span.help-inline * requried
  15 + %span.help-inline * required
16 16 .clearfix
17 17 = f.label :email
18 18 .input
19 19 = f.text_field :email
20   - %span.help-inline * requried
  20 + %span.help-inline * required
21 21 .clearfix
22 22 = f.label :password
23 23 .input= f.password_field :password
... ... @@ -42,10 +42,10 @@
42 42 .alert
43 43 .clearfix
44 44 %p Give user ability to manage application.
45   - = f.label :admin, :class => "checkbox" do
  45 + = f.label :admin, :class => "checkbox" do
46 46 = f.check_box :admin
47 47 %span Administrator
48   - - unless @admin_user.new_record?
  48 + - unless @admin_user.new_record?
49 49 .alert.alert-error
50 50 - if @admin_user.blocked
51 51 %span
... ... @@ -57,7 +57,7 @@
57 57 Blocked user will removed from all projects & will not be able to login to GitLab.
58 58 .actions
59 59 = f.submit 'Save', :class => "btn primary"
60   - - if @admin_user.new_record?
  60 + - if @admin_user.new_record?
61 61 = link_to 'Cancel', admin_users_path, :class => "btn"
62   - - else
  62 + - else
63 63 = link_to 'Cancel', admin_user_path(@admin_user), :class => "btn"
... ...