{# GET /admin/validation/new — crate::pages::add_validation::ui::FieldValidationPage #} {% extends "ui/form_page.html" %} {% import "ui/alert.html" as alert %} {% block title %}Add field validation{% endblock %} {% block eyebrow %}Validation{% endblock %} {% block heading %}Add field validation{% endblock %} {% block lead %}

Attach validation to one column of one table.

{% endblock %} {% block form %}
{% include "pages/add_validation/shared_fields.html" %}
{% for profile in page.profiles %}{% endfor %} {% for table in page.tables %}{% endfor %}
{%- if let Some(message) = page.error %}{% call alert::error("Could not save validation", message) %}{% endcall %}{% endif -%}
Cancel
{% endblock %}