mirror of
https://github.com/netbox-community/netbox.git
synced 2026-02-04 06:16:23 -06:00
15 lines
542 B
HTML
15 lines
542 B
HTML
{% load buttons %}
|
|
{% load i18n %}
|
|
|
|
<div class="alert alert-warning d-flex align-items-center" role="alert">
|
|
<span class="text-warning fs-1">
|
|
<i class="mdi mdi-alert"></i>
|
|
</span>
|
|
<span class="flex-fill">
|
|
{% blocktrans trimmed with model=model|meta:"verbose_name" prerequisite_model=prerequisite_model|meta:"verbose_name" %}
|
|
Before you can add a {{ model }} you must first create a <strong>{{ prerequisite_model }}</strong>.
|
|
{% endblocktrans %}
|
|
</span>
|
|
{% add_button prerequisite_model return_url=request.path %}
|
|
</div>
|