Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

♻️ [#999] REFACTOR some incorrect nested semantics #1011

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/sdg/templates/organisaties/invitation/create.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@
</div>
</div>
<hr class="divider">
<div class="form-actions">
<div class="form__actions">
<input type="hidden" name="next" value="{{ redirect_field_value }}">
<div class="form__buttons">
<div>
<input type="submit" class="button" value="{% trans 'Opslaan' %}">
<a href="{% url 'organisaties:roles:list' pk=lokaleoverheid.pk %}">
<button type="button" class="button button--light">{% trans 'Annuleren' %}</button>
<a href="{% url 'organisaties:roles:list' pk=lokaleoverheid.pk %}" class="button button--light">
{% trans 'Annuleren' %}
</a>
</div>
</div>
Expand Down
10 changes: 6 additions & 4 deletions src/sdg/templates/organisaties/roles/delete.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@
{% csrf_token %}
<p>{% blocktrans with user=object.user %}Weet je zeker dat je <span class="primary text-bold">{{ user }}</span> wilt verwijderen?{% endblocktrans %}</p>
<hr class="divider">
<input type="submit" class="button" value="{% trans 'Verwijderen' %}">
<a href="{% url 'organisaties:roles:list' pk=lokaleoverheid.pk %}">
<button type="button" class="button button--light">{% trans 'Annuleren' %}</button>
</a>
<div class="form__actions">
<button type="submit" class="button">{% trans "Verwijderen" %}</button>
<a href="{% url 'organisaties:roles:list' pk=lokaleoverheid.pk %}" class="button button--light">
{% trans 'Annuleren' %}
</a>
</div>
</form>
{% endblock inner_content %}
4 changes: 2 additions & 2 deletions src/sdg/templates/organisaties/roles/update.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
<hr class="divider">
<div class="form__buttons">
<input type="submit" class="button" value="{% trans 'Opslaan' %}">
<a href="{% url 'organisaties:roles:list' pk=lokaleoverheid.pk %}">
<button type="button" class="button button--light">{% trans 'Annuleren' %}</button>
<a href="{% url 'organisaties:roles:list' pk=lokaleoverheid.pk %}" class="button button--light">
{% trans 'Annuleren' %}
</a>
</div>
</form>
Expand Down
12 changes: 5 additions & 7 deletions src/sdg/templates/organisaties/update.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,11 @@
{% field form.contact_formulier_link %}
</div>
<hr class="divider">
<div class="form-actions">
<div class="form__buttons">
<input type="submit" value="Opslaan" class="primaryAction login_button button">
<a href="{% url 'organisaties:catalogi:list' pk=lokaleoverheid.pk %}">
<button type="button" class="button button--light">{% trans 'Annuleren' %}</button>
</a>
</div>
<div class="form__actions">
<button type="submit" class="button">{% trans "Opslaan" %}</button>
<a href="{% url 'organisaties:edit' pk=lokaleoverheid.pk %}" class="button button--light">
{% trans 'Annuleren' %}
</a>
</div>
</form>
{% endblock inner_content %}
Loading