ensuring classes are consistent

This commit is contained in:
Dave Cranwell 2014-04-09 12:11:53 +01:00
parent e2cf9f16e4
commit 8afd7e6088
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
<button class="action-preview button"
<button class="action-preview button icon icon-view"
data-action="{% url 'wagtailadmin_pages_preview_on_create' content_type.app_label content_type.model parent_page.id %}{% if mode %}?mode={{ mode|urlencode }}{% endif %}"
data-placeholder="{% url 'wagtailadmin_pages_preview_placeholder' %}"
data-windowname="wagtail_preview_{{ parent_page.id }}_child" value="{{ label }}" />
data-windowname="wagtail_preview_{{ parent_page.id }}_child">{{ label }}</button>

View file

@ -55,7 +55,7 @@
<li class="actions preview">
{% trans 'Preview' as preview_label %}
{% if display_modes|length > 1 %}
<div class="dropdown dropup dropdown-button match-width icon icon-view">
<div class="dropdown dropup dropdown-button match-width">
{% include "wagtailadmin/pages/_preview_button_on_edit.html" with label=preview_label %}
<div class="dropdown-toggle icon icon-arrow-up"></div>
<ul role="menu">