Commit 08d7505d authored by Phillip Stephens's avatar Phillip Stephens

Fix NewEditPage.html

parent 56d30696
......@@ -15,5 +15,5 @@ def is_site_locked():
return configuration.locked
GOOGLE_RECAPTCHA_SECRET_KEY='6LcBPK4UAAAAAF3-YpH5E1W8j48U3OCPgLuRaXME'
GOOGLE_RECAPTCHA_SITE_KEY='6LcBPK4UAAAAAKs13opqkNGd0x11HAxDdIZmyK5P'
GOOGLE_RECAPTCHA_SITE_KEY='6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI' # Google Test key - Replace immediately with your key
GOOGLE_RECAPTCHA_SECRET_KEY='6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe' # Google Test key - Replace immediately with your key
......@@ -110,8 +110,12 @@
<div class="row">
<div class="col-9"></div>
<div class="col-2 btn-group">
<a href="{% url 'pages.view.page' page.slug %}" class="btn btn-danger">Cancel</a>
<button type="submit" class="btn btn-success">{% if '/new' in request.path %}Cancel{% else %}Save{% endif %}</button>
{% if page.slug %}
<a href="{% url 'pages.view.page' page.slug %}" class="btn btn-danger">Cancel</a>
{% else %}
<a href="{% url 'home' %}" class="btn btn-danger">Cancel</a>
{% endif %}
<button type="submit" class="btn btn-success">{% if '/create' in request.path %}Create{% else %}Save{% endif %}</button>
</div>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment