Fixed profile editing failing due to old argument.

This commit is contained in:
flash 2023-08-06 19:09:59 +00:00
parent bab8b29c5b
commit 2214dffc5b

View file

@ -12,7 +12,7 @@
{% block content %}
{% if profile_is_editing %}
<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 %}
{{ input_file_raw('avatar[file]', 'profile__hidden', ['image/png', 'image/jpeg', 'image/gif'], {'id':'avatar-selection'}) }}