{% extends "mockingbird/base.html" %} {% block content %}

{% if route.pk %}Edit route{% else %}New route{% endif %}

{% csrf_token %}
{% for f in form %}{% if f.name != 'matchers_text' %}
{{ f.label_tag }}{{ f }}{{ f.errors }}
{% endif %}{% endfor %}
Patterns: /users/{id}, /users/{id:int}, /files/*. Static segments beat params, params beat wildcards, then priority.
{{ form.matchers_text.label_tag }}{{ form.matchers_text }}
{{ form.matchers_text.help_text }}
{{ form.matchers_text.errors }}

Response variants

{{ formset.management_form }}{{ formset.non_form_errors }}
{% for vf in formset %}{% include "mockingbird/_variant.html" with vf=vf %}{% endfor %}
Weighted mode picks randomly by weight; sequence modes use variants in order (first call, second call...).

Preview against a sample request

(nothing rendered yet)
Cancel
{% endblock %} {% block scripts %} {% endblock %}