{% extends "admin_base.html" %} {% block title %}Edit Review{% endblock %} {% block header_title %}Modify Review Content{% endblock %} {% block content %}

Edit Feedback

Refine existing social proof

Back to List
{{ form.hidden_tag() }}
{{ form.customer_name(class="w-full mui-input font-bold text-gray-700") }}
{{ form.rating(class="w-full mui-input font-black text-amber-500 appearance-none", type="number", min="1", max="5") }}
{{ form.comment(class="w-full mui-input font-medium text-gray-700 h-32 py-4") }}
{% if review.profile_pic_path %}
{% else %}
{{ review.customer_name[0]|upper if review.customer_name else '?' }}
{% endif %}
{{ form.profile_pic(class="block w-full text-[10px] text-gray-400 file:mr-4 file:py-2 file:px-4 file:rounded-xl file:border-0 file:text-[10px] file:font-black file:uppercase file:bg-indigo-600 file:text-white cursor-pointer") }}
{% if review.image_path %}
{% else %}
{% endif %}
{{ form.image(class="block w-full text-[10px] text-gray-400 file:mr-4 file:py-2 file:px-4 file:rounded-xl file:border-0 file:text-[10px] file:font-black file:uppercase file:bg-gray-800 file:text-white cursor-pointer") }}
{% endblock %}