Fixed profile editing failing due to old argument.
This commit is contained in:
parent
bab8b29c5b
commit
2214dffc5b
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% if profile_is_editing %}
|
{% if profile_is_editing %}
|
||||||
<form class="profile" method="post" action="{{ url('user-profile', {'user': profile_user.id}) }}" enctype="multipart/form-data">
|
<form class="profile" method="post" action="{{ url('user-profile', {'user': profile_user.id}) }}" enctype="multipart/form-data">
|
||||||
{{ input_csrf('profile') }}
|
{{ input_csrf() }}
|
||||||
|
|
||||||
{% if perms.edit_avatar %}
|
{% if perms.edit_avatar %}
|
||||||
{{ input_file_raw('avatar[file]', 'profile__hidden', ['image/png', 'image/jpeg', 'image/gif'], {'id':'avatar-selection'}) }}
|
{{ input_file_raw('avatar[file]', 'profile__hidden', ['image/png', 'image/jpeg', 'image/gif'], {'id':'avatar-selection'}) }}
|
||||||
|
|
Loading…
Reference in a new issue