Skip to content
Snippets Groups Projects
Select Git revision
  • d72e33574b377613567fd566927f17c974ef8909
  • main default protected
  • renovate/django-5.x
  • renovate/beautifulsoup4-4.x
  • renovate/django-tex-1.x
  • renovate/jsonschema-4.x
  • renovate/djangorestframework-3.x
  • renovate/django-bootstrap5-25.x
  • renovate/django-debug-toolbar-6.x
  • koma/feature/preference-polling-form
10 results

action_intermediate.html

  • Benjamin Hättasch's avatar
    Benjamin Hättasch authored
    Use official fontawesome django app for static file handling
    Switch to fork/new version of django-bootstrap (for icon field and rendering shortcuts)
    Add migration to bump icon field of dashboard buttons to new version
    Update templates to load new app and use new tags
    2455da83
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    action_intermediate.html 783 B
    {% extends "admin/base_site.html" %}
    {% load tags_AKModel %}
    
    {% load i18n %}
    {% load django_bootstrap5 %}
    {% load fontawesome_6 %}
    
    
    {% block title %}{{event}}: {{ title }}{% endblock %}
    
    {% block content %}
        {% block action_preview %}
            <p>
                {{ preview|linebreaksbr }}
            </p>
        {% endblock %}
    
        <form method="post">{% csrf_token %}
            {% bootstrap_form form %}
    
            <div class="float-end">
                <button type="submit" class="save btn btn-success" value="Submit">
                    {% fa6_icon "check" 'fas' %} {% trans "Confirm" %}
                </button>
            </div>
            <a href="javascript:history.back()" class="btn btn-info">
                {% fa6_icon "times" 'fas' %} {% trans "Cancel" %}
            </a>
        </form>
    {% endblock %}