{% extends "base.html" %} {% load static i18n crispy_forms_tags %} {% block title %}Update Training Material - {{ block.super }}{% endblock %} {% block customCSS %} {% endblock %} {% block content %}

{% trans "Update Training Material:" %} {{ object.title }}

{% trans "Edit the details of this training document or guide." %}

{% trans "Material Details" %}

{% csrf_token %}
{# Title and Video Link on a single row #}
{{ form.title|attr:"class:form-control" }}
{{ form.video_link|attr:"class:form-control" }}
{# Content (Full width) #}
{{ form.content|attr:"class:form-control"|attr:"rows:6" }}
{# File Upload (Full width as it's often complex) #}
{{ form.file }} {% if form.file.help_text %}
{{ form.file.help_text }}
{% endif %}
{% endblock %}