@@ -127,6 +127,41 @@ <h3>Tags</h3>
127127 </ div >
128128 </ section >
129129
130+ < section class ="detail-section manage-contact-panel " id ="manage-contact " aria-labelledby ="manage-contact-heading ">
131+ < div class ="section-header ">
132+ < h2 id ="manage-contact-heading "> Manage contact</ h2 >
133+ </ div >
134+ < div class ="manage-form-grid ">
135+ < form class ="summary-panel manage-form " method ="post " action ="{% url 'mailing:contact_subscription_update' contact.normalized_email %} ">
136+ {% csrf_token %}
137+ < h3 > Subscription</ h3 >
138+ {% include "mailing/operator/_form_fields.html" with form=subscription_form %}
139+ < div class ="toolbar "> < button type ="submit "> Update subscription</ button > </ div >
140+ </ form >
141+
142+ < form class ="summary-panel manage-form " method ="post " action ="{% url 'mailing:contact_state_update' contact.normalized_email %} ">
143+ {% csrf_token %}
144+ < h3 > State</ h3 >
145+ {% include "mailing/operator/_form_fields.html" with form=contact_state_form %}
146+ < div class ="toolbar "> < button type ="submit "> Update state</ button > </ div >
147+ </ form >
148+
149+ < form class ="summary-panel manage-form " method ="post " action ="{% url 'mailing:contact_tag_add' contact.normalized_email %} ">
150+ {% csrf_token %}
151+ < h3 > Add tag</ h3 >
152+ {% include "mailing/operator/_form_fields.html" with form=tag_add_form %}
153+ < div class ="toolbar "> < button type ="submit "> Add tag</ button > </ div >
154+ </ form >
155+
156+ < form class ="summary-panel manage-form " method ="post " action ="{% url 'mailing:contact_tag_remove' contact.normalized_email %} ">
157+ {% csrf_token %}
158+ < h3 > Remove tag</ h3 >
159+ {% include "mailing/operator/_form_fields.html" with form=tag_remove_form %}
160+ < div class ="toolbar "> < button type ="submit "> Remove tag</ button > </ div >
161+ </ form >
162+ </ div >
163+ </ section >
164+
130165 < section class ="detail-section " aria-labelledby ="recent-activity ">
131166 < div class ="section-header ">
132167 < h2 id ="recent-activity "> Recent Activity</ h2 >
@@ -158,35 +193,6 @@ <h2 id="recent-activity">Recent Activity</h2>
158193 {% endif %}
159194 </ section >
160195
161- < details class ="detail-section secondary-section " id ="manage-contact ">
162- < summary > Manage contact state, subscriptions, and tags</ summary >
163- < div class ="form-stack ">
164- < form method ="post " action ="{% url 'mailing:contact_state_update' contact.normalized_email %} ">
165- < h3 > State</ h3 >
166- {% include "mailing/operator/_form_fields.html" with form=contact_state_form %}
167- < div class ="toolbar "> < button type ="submit "> Update state</ button > </ div >
168- </ form >
169-
170- < form method ="post " action ="{% url 'mailing:contact_subscription_update' contact.normalized_email %} ">
171- < h3 > Subscription</ h3 >
172- {% include "mailing/operator/_form_fields.html" with form=subscription_form %}
173- < div class ="toolbar "> < button type ="submit "> Update subscription</ button > </ div >
174- </ form >
175-
176- < form method ="post " action ="{% url 'mailing:contact_tag_add' contact.normalized_email %} ">
177- < h3 > Add tag</ h3 >
178- {% include "mailing/operator/_form_fields.html" with form=tag_add_form %}
179- < div class ="toolbar "> < button type ="submit "> Add tag</ button > </ div >
180- </ form >
181-
182- < form method ="post " action ="{% url 'mailing:contact_tag_remove' contact.normalized_email %} ">
183- < h3 > Remove tag</ h3 >
184- {% include "mailing/operator/_form_fields.html" with form=tag_remove_form %}
185- < div class ="toolbar "> < button type ="submit "> Remove tag</ button > </ div >
186- </ form >
187- </ div >
188- </ details >
189-
190196 < details class ="detail-section secondary-section ">
191197 < summary > Full send eligibility by scope</ summary >
192198 {% if eligibility %}
0 commit comments