Skip to content

Commit

Permalink
👽 [#3566] Update remaining openforms-button -> utrecht-button
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-maertens committed Nov 1, 2023
1 parent 5d6f711 commit fb0a02e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ <h1 class="title">
{% include "includes/forms/field_wrapper.html" with field=form.bsn type='bsn' only %}

<div class="openforms-toolbar openforms-toolbar--reverse">
<button class="openforms-button openforms-button--primary" type="submit">
<span class="openforms-button__label">{% trans "Continue" %}</span>
<button class="utrecht-button utrecht-button--primary-action" type="submit">
{% trans "Continue" %}
</button>
</div>
</div>
Expand All @@ -47,16 +47,16 @@ <h1 class="title">
{% include "includes/forms/field_wrapper.html" with field=form.kvk only %}

<div class="openforms-toolbar openforms-toolbar--reverse">
<button class="openforms-button openforms-button--primary" type="submit">
<span class="openforms-button__label">{% trans "Continue" %}</span>
<button class="utrecht-button utrecht-button--primary-action" type="submit">
{% trans "Continue" %}
</button>
</div>
</div>

<div class="auth-mode auth-mode--employee">
<div class="openforms-toolbar openforms-toolbar--reverse">
<button class="openforms-button openforms-button--primary" type="submit" name="skip_subject" value="on">
<span class="openforms-button__label">{{ form.skip_subject.label }}</span>
<button class="utrecht-button utrecht-button--primary-action" type="submit" name="skip_subject" value="on">
{{ form.skip_subject.label }}
</button>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ <h1 class="title">
{% include "includes/forms/field_wrapper.html" with field=form.code type='text' only %}

<div class="openforms-toolbar openforms-toolbar--reverse openforms-toolbar--bottom">
<button class="openforms-button openforms-button--primary" type="submit">
<span class="openforms-button__label">{% trans "Submit" %}</span>
<button class="utrecht-button utrecht-button--primary-action" type="submit">
{% trans "Submit" %}
</button>
</div>
</form>
<form method="post" action="{% url "authentication:logout" %}">{% csrf_token %}
<div class="openforms-toolbar openforms-toolbar--reverse openforms-toolbar--bottom">
<button class="openforms-button openforms-button--danger" type="submit">
<span class="openforms-button__label">{% trans "Log out" %}</span>
<button class="utrecht-button utrecht-button--primary-action utrecht-button--danger" type="submit">
{% trans "Log out" %}
</button>
</div>
</form>
Expand Down
4 changes: 2 additions & 2 deletions src/openforms/templates/includes/cookie-notice.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
<li class="openforms-toolbar__list-item">
<button
type="submit"
class="utrecht-button utrecht-button--primary-action openforms-button openforms-button--primary cookie-notice__accept"
class="utrecht-button utrecht-button--primary-action cookie-notice__accept"
>{% trans "Accept all" %}</button>
</li>
<li class="openforms-toolbar__list-item">
<button
type="submit"
class="utrecht-button utrecht-button--primary-action openforms-button openforms-button--primary cookie-notice__decline"
class="utrecht-button utrecht-button--primary-action cookie-notice__decline"
>{% trans "Decline all" %}</button>
</li>
</ul>
Expand Down

0 comments on commit fb0a02e

Please sign in to comment.