Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Update more templates

Patryk Zawadzki486cb5f296c8
diff --git a/checkout/templates/checkout/shipping.html b/checkout/templates/checkout/shipping.html
index 9b3a9adb99..2b311bba8b 100644
--- a/checkout/templates/checkout/shipping.html
+++ b/checkout/templates/checkout/shipping.html
@@ -7,7 +7,7 @@
{% block extra_forms %}
<fieldset>
<legend>
- Delivery method:
+ {% trans "Shipping method" %}:
</legend>
{{ step.forms.delivery|as_horizontal_form }}
</fieldset>
diff --git a/product/templates/product/details.html b/product/templates/product/details.html
index b2943b81b6..0e17ffb9dc 100644
--- a/product/templates/product/details.html
+++ b/product/templates/product/details.html
@@ -38,7 +38,7 @@
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
- <button class="btn btn-default">
+ <button class="btn btn-primary">
{% trans "Add to cart" %}
</button>
</div>
diff --git a/registration/templates/registration/change_password.html b/registration/templates/registration/change_password.html
index a354d8901e..e6a24de66a 100644
--- a/registration/templates/registration/change_password.html
+++ b/registration/templates/registration/change_password.html
@@ -18,8 +18,13 @@
{{ form|as_horizontal_form }}
<input type="hidden" name="next" value="{{ next }}" />
</fieldset>
- <div class="form-actions">
- <button type="submit" class="btn btn-primary">{% trans 'Update password' %}</button>
+
+ <div class="form-group">
+ <div class="col-lg-offset-2 col-lg-10">
+ <button class="btn btn-primary">
+ {% trans "Update password" %}
+ </button>
+ </div>
</div>
</form>
{% endblock %}
diff --git a/registration/templates/registration/login.html b/registration/templates/registration/login.html
index 657212fffe..cbbc96b05d 100644
--- a/registration/templates/registration/login.html
+++ b/registration/templates/registration/login.html
@@ -12,8 +12,13 @@
{{ form|as_horizontal_form }}
<input type="hidden" name="next" value="{{ next }}" />
</fieldset>
- <div class="form-actions">
- <button type="submit" class="btn btn-primary">{% trans 'Log in' %}</button>
+
+ <div class="form-group">
+ <div class="col-lg-offset-2 col-lg-10">
+ <button class="btn btn-primary">
+ {% trans "Log in" %}
+ </button>
+ </div>
</div>
</form>
<ul>
diff --git a/registration/templates/registration/request_email_confirmation.html b/registration/templates/registration/request_email_confirmation.html
index bf39f99765..a868112e2d 100644
--- a/registration/templates/registration/request_email_confirmation.html
+++ b/registration/templates/registration/request_email_confirmation.html
@@ -17,8 +17,12 @@
{{ form|as_horizontal_form }}
<input type="hidden" name="next" value="{{ next }}" />
</fieldset>
- <div class="form-actions">
- <button type="submit" class="btn btn-primary">{% trans 'Continue' %}</button>
+ <div class="form-group">
+ <div class="col-lg-offset-2 col-lg-10">
+ <button class="btn btn-primary">
+ {% trans "Continue" %}
+ </button>
+ </div>
</div>
</form>
{% endblock %}
diff --git a/registration/templates/registration/set_password.html b/registration/templates/registration/set_password.html
index bc5331ed6f..b33071eab0 100644
--- a/registration/templates/registration/set_password.html
+++ b/registration/templates/registration/set_password.html
@@ -11,14 +11,22 @@
<legend>{% trans 'Set password' %}</legend>
{{ form|as_horizontal_form }}
</fieldset>
- <div class="form-actions">
- <button type="submit" class="btn btn-primary">{% trans 'Set password' %}</button>
+ <div class="form-group">
+ <div class="col-lg-offset-2 col-lg-10">
+ <button class="btn btn-primary">
+ {% trans "Set password" %}
+ </button>
+ </div>
</div>
</form>
<form method="post" class="form-horizontal">
{% csrf_token %}
- <div class="form-actions">
- <button type="submit" class="btn btn-danger">{% trans "I don't want a password" %}</button>
+ <div class="form-group">
+ <div class="col-lg-offset-2 col-lg-10">
+ <button class="btn btn-default">
+ {% trans "I don't want a password" %}
+ </button>
+ </div>
</div>
</form>
{% endblock %}