CodeTheChangeUBC/reBOOT

View on GitHub
app/templates/admin/widgets/custom_foreign_key_raw_id.html

Summary

Maintainability
Test Coverage
{% include 'django/forms/widgets/input.html' %}
{% if related_url %}
  <a href="{{ related_url }}" class="related-lookup" id="lookup_id_{{ widget.name }}" title="Lookup and Add"></a>
  <a href="{{ related_add_url }}" class="addlink-impt related-lookup" id="lookup_id_{{ widget.name }}" title="Create and Add"></a>
{% endif %}
{% if link_label %}
  <strong>
    {% if link_url %}
      <a href="{{ link_url }}">
    {% endif %}
    {{ link_label }}
    {% if link_url %}</a>{% endif %}
  </strong>
{% endif %}