Skip to content

Commit

Permalink
Merge pull request #2921 from spryker/bugfix/CORE-828-double-click-pr…
Browse files Browse the repository at this point in the history
…otection-for-submit-copy

Bugfix/core 828 double click protection for submit copy
  • Loading branch information
dereuromark authored Nov 7, 2017
2 parents 41627fb + b7e056e commit 8ca9336
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Spryker/Zed/Customer/Presentation/Add/index.twig
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
{{ form_start(form) }}
{{ form_widget(form) }}

<input type="submit" class="btn btn-primary" value="{{ 'Save' | trans }}" />
<input type="submit" class="btn btn-primary safe-submit" value="{{ 'Save' | trans }}" />
{{ form_end(form) }}

{% endblock %}
Expand Down
2 changes: 1 addition & 1 deletion src/Spryker/Zed/Customer/Presentation/Delete/index.twig
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{% block widget_content %}

<a href="{{ app.request.headers.get('referer') }}" class="btn btn-back">{{ 'Back' | trans}}</a>
<a href="{{ url('/customer/delete/confirm', {'id-customer': idCustomer}) }}" class="btn btn-danger">{{ 'Delete account' | trans}}</a>
<a href="{{ url('/customer/delete/confirm', {'id-customer': idCustomer}) }}" class="btn btn-danger safe-submit">{{ 'Delete account' | trans}}</a>

{% endblock %}

Expand Down
2 changes: 1 addition & 1 deletion src/Spryker/Zed/Customer/Presentation/Edit/index.twig
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{{ form_start(form) }}
{{ form_widget(form) }}

<input type="submit" class="btn btn-primary" value="{{ 'Save' | trans }}" />
<input type="submit" class="btn btn-primary safe-submit" value="{{ 'Save' | trans }}" />
{{ form_end(form) }}

{% endblock %}
Expand Down

0 comments on commit 8ca9336

Please sign in to comment.