File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 1818</ div >
1919{% endblock %}
2020
21- {% block topbar_actions %}
22- {% if not is_create and object %}
23- < a href ="{% url 'manage_contact_create' object.pk %} " class ="btn btn-sm btn-secondary "> + Contact</ a >
24- < a href ="{% url 'manage_composer' %}?new=1&sponsor_id={{ object.pk }} " class ="btn btn-sm btn-primary "> + Sponsorship</ a >
25- {% endif %}
26- {% endblock %}
27-
2821{% block manage_content %}
2922 < div class ="manage-form ">
30- < h2 style ="font-size:18px;font-weight:700;color:#1a1a2e;margin:0 0 20px; "> {% if is_create %}New Sponsor{% else %}Edit Sponsor: {{ object.name }}{% endif %}</ h2 >
23+ < div style ="display:flex;justify-content:space-between;align-items:center;margin-bottom:20px; ">
24+ < h2 style ="font-size:18px;font-weight:700;color:#1a1a2e;margin:0; "> {% if is_create %}New Sponsor{% else %}Edit Sponsor: {{ object.name }}{% endif %}</ h2 >
25+ {% if not is_create and object %}
26+ < div style ="display:flex;gap:6px; ">
27+ < a href ="{% url 'manage_contact_create' object.pk %} " style ="font-size:12px;color:#3776ab;text-decoration:none;font-weight:500;padding:4px 10px;border:1px solid #ccc;border-radius:3px; "> + Contact</ a >
28+ < a href ="{% url 'manage_composer' %}?new=1&sponsor_id={{ object.pk }} " style ="font-size:12px;color:#fff;text-decoration:none;font-weight:500;padding:4px 10px;border:1px solid #3776ab;border-radius:3px;background:#3776ab; "> + Sponsorship</ a >
29+ </ div >
30+ {% endif %}
31+ </ div >
3132
3233 {% if form.errors %}
3334 < div class ="form-errors ">
You can’t perform that action at this time.
0 commit comments