{% extends 'layouts/dashboard.html' %} {% load static %} {% block title %}{% if object %}Edit Creative{% else %}New Creative{% endif %} - Adtlas{% endblock %} {% block meta_description %}{% if object %}Edit creative: {{ object.name }}{% else %}Create a new creative asset{% endif %}{% endblock %} {% block extra_css %} {% endblock %} {% block content %}

{% if object %}Edit Creative{% else %}Create New Creative{% endif %}

Creative Information
{% csrf_token %}
Basic Information
{% if form.name.errors %}
{{ form.name.errors.0 }}
{% endif %}
{% if form.campaign.errors %}
{{ form.campaign.errors.0 }}
{% endif %}
{% if form.description.errors %}
{{ form.description.errors.0 }}
{% endif %}
Creative File
{% if not object or not object.primary_file %}
Drop files here or click to upload

Supported formats: JPG, PNG, GIF, MP4, MOV, AVI, MP3, WAV

Uploading...

{% else %}
Current File:
{% if object.creative_format.format_type == 'video' %} {% elif object.creative_format.format_type == 'audio' %}
{% else %} {{ object.name }} {% endif %}
{{ object.primary_file.name }} ({{ object.file_size|filesizeformat }})
Drop new file here or click to upload

Supported formats: JPG, PNG, GIF, MP4, MOV, AVI, MP3, WAV

{% endif %} {% if form.primary_file.errors %}
{{ form.primary_file.errors.0 }}
{% endif %}
Properties
{% if form.creative_format.errors %}
{{ form.creative_format.errors.0 }}
{% endif %}
Leave empty for auto-detection
{% if form.duration.errors %}
{{ form.duration.errors.0 }}
{% endif %}
{% if form.priority.errors %}
{{ form.priority.errors.0 }}
{% endif %}
{% if form.deadline.errors %}
{{ form.deadline.errors.0 }}
{% endif %}
Separate multiple tags with commas
{% if form.tags.errors %}
{{ form.tags.errors.0 }}
{% endif %}
Cancel
Upload Guidelines
Supported Formats:
  • Images: JPG, PNG, GIF
  • Videos: MP4, MOV, AVI
  • Audio: MP3, WAV
File Size Limits:
  • Images: Max 10MB
  • Videos: Max 100MB
  • Audio: Max 50MB
Best Practices:
  • Use descriptive names for your creatives
  • Add relevant tags for better organization
  • Set appropriate deadlines for review
  • Include detailed descriptions
{% if object %}
Current Status
Status: {{ object.get_creative_status_display }}
Created: {{ object.created_at|date:"M d, Y H:i" }}
{% if object.updated_at != object.created_at %}
Last Updated: {{ object.updated_at|date:"M d, Y H:i" }}
{% endif %}
{% endif %}
{% endblock %} {% block extra_js %} {% endblock %}