Changeset View
Changeset View
Standalone View
Standalone View
users/templates/users/settings/emails.html
| {% extends 'users/settings/base.html' %} | {% extends 'users/settings/base.html' %} | ||||
| {% block settings %} | {% block settings %} | ||||
| <p class="subtitle">Settings</p> | <p class="subtitle">Settings</p> | ||||
| <h1 class="mb-3">Emails</h1> | <h1 class="mb-3">Emails</h1> | ||||
| <div class="settings-form"> | <div class="settings-form"> | ||||
| <div class="row"> | <div class="row"> | ||||
| <div class="col"> | <div class="col"> | ||||
| <h2 class="mb-0">Newsletter</h2> | <h2 class="mb-0">Newsletter</h2> | ||||
| <p>We occasionally send out emails with updates on whats new in the Blender Cloud.</p> | <p>We occasionally send out emails with updates on whats new in the Blender Cloud.</p> | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| <form id="settings-form" method="POST" action="/settings/emails"> | <form id="settings-form" method="POST" action="/settings/emails"> | ||||
| {% for field in form %} | {% for field in form %} | ||||
| <div class="form-group form-check pl-0 mb-3"> | <div class="form-group form-check pl-0 mb-3"> | ||||
| {% csrf_token %} | {% csrf_token %} | ||||
| {{ field.errors }} | {{ field.errors }} | ||||
| <label class="form-check-label"> | <label class="form-check-label"> | ||||
| {{ field }} | {{ field }} | ||||
| Keep me updated with Blender Cloud news. | Keep me updated with Blender Cloud news. | ||||
| </label> | </label> | ||||
| </div> | </div> | ||||
| {% endfor %} | {% endfor %} | ||||
| <button type="submit" class="btn btn-primary">Save changes</button> | <button type="submit" class="btn btn-primary">Save changes</button> | ||||
| </form> | </form> | ||||
| </div> | </div> | ||||
| {% endblock settings %} | {% endblock settings %} | ||||