summaryrefslogtreecommitdiff
path: root/app/views/profiles/show.html.haml
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-03-17 14:30:38 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2016-03-17 14:30:38 -0500
commitbc70597908c2aa144472b28c891306a6d9390c34 (patch)
tree0603ed29b8ca813344a3f9dc92b858a24ba3c233 /app/views/profiles/show.html.haml
parent9ed1cbf2176bcab22d522373b2830338dc5c7c69 (diff)
downloadgitlab-ce-bc70597908c2aa144472b28c891306a6d9390c34.tar.gz
Fix failing spec
Diffstat (limited to 'app/views/profiles/show.html.haml')
-rw-r--r--app/views/profiles/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/profiles/show.html.haml b/app/views/profiles/show.html.haml
index 2d9129470f8..dcb3be9585d 100644
--- a/app/views/profiles/show.html.haml
+++ b/app/views/profiles/show.html.haml
@@ -26,7 +26,7 @@
%a.btn.js-choose-user-avatar-button
Browse file...
%span.avatar-file-name.prepend-left-default.js-avatar-filename No file chosen
- = f.file_field :avatar_dialog_trigger, class: "js-user-avatar-input hidden", accept: "image/*"
+ = f.file_field :avatar, class: "js-user-avatar-input hidden", accept: "image/*"
.help-block
The maximum file size allowed is 200KB.
- if @user.avatar?