diff --git a/app/views/accounts/edit.html.slim b/app/views/accounts/edit.html.slim index d5fd99f..57bccfe 100644 --- a/app/views/accounts/edit.html.slim +++ b/app/views/accounts/edit.html.slim @@ -9,7 +9,7 @@ .image-inputs .file#file-input.is-light.my-4 label.file-label.is-light - = f.file_field :avatar, class: 'file-input' + = f.file_field :avatar, class: 'file-input', accept: "image/*" span.file-cta span.file-icon i.fa.fa-camera @@ -37,7 +37,7 @@ = f.check_box :notify_parents, class: "checkbox mr-2" = f.label :notify_parents, "Report transactions to parents" .notification.is-light.mt-3 - | If checked, all users with access to your kid's account, including you, will get email notifications + | If checked, all users with access to your kid's account, including you, will get email notifications | about balance changes. .buttons - if current_user.parent? diff --git a/app/views/accounts/new.html.slim b/app/views/accounts/new.html.slim index 147c297..d895dc7 100644 --- a/app/views/accounts/new.html.slim +++ b/app/views/accounts/new.html.slim @@ -9,7 +9,7 @@ = image_tag('user.svg', class:'is-rounded', id:'account-image', alt: 'avatar') .file#file-input.is-light.is-pulled-right label.file-label.is-light - = form.file_field :avatar, class: "file-input" + = form.file_field :avatar, class: "file-input", accept: "image/*" span.file-cta span.file-icon i.fa.fa-camera diff --git a/app/views/devise/registrations/edit_profile.slim b/app/views/devise/registrations/edit_profile.slim index a412bea..420c3ac 100644 --- a/app/views/devise/registrations/edit_profile.slim +++ b/app/views/devise/registrations/edit_profile.slim @@ -9,7 +9,7 @@ .column .file#file-input.is-light.is-pulled-right label.file-label.is-light - = f.file_field :avatar, class: 'file-input' + = f.file_field :avatar, class: 'file-input', accept: "image/*" span.file-cta span.file-icon i.fa.fa-camera