{% load buttons %}
{% load i18n %}

<div class="alert alert-warning text-end" role="alert">
  <div class="float-start">
    <i class="mdi mdi-alert"></i>
    {% blocktrans 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 %}
  </div>
  {% add_button prerequisite_model %}
</div>
