{% load i18n %}
<div id="reset_pillow_checkpoint_modal" class="modal hide fade">
    <div class="modal-header">
        <a class="close" data-dismiss="modal">×</a>
        <h3></h3>
    </div>
    <form name="reset_pillow_checkpoint" method="post" action="{% url "reset_pillow_checkpoint" %}">
        <div class="modal-body">
            <p>{% trans "Are you sure you want to reset checkpoint for this pillow?" %}</p>
            <div class="alert">
            <p><i class="icon-warning-sign"></i><strong>{% trans "You still have to RESTART the pillow manually!" %}</strong></p>
            </div>
            <input type="hidden" id="pillow_name" name="pillow_name" />
        </div>
        <div class="modal-footer">
            <button class="btn btn-info" type="submit">{% trans "Reset" %}</button>
            <a href="#" class="btn" data-dismiss="modal">{% trans "Close" %}</a>
        </div>
    </form>
</div>
{% load i18n %}
<div id="reset_pillow_checkpoint_modal" class="modal hide fade">
    <div class="modal-header">
        <a class="close" data-dismiss="modal">×</a>
        <h3></h3>
    </div>
    <form name="reset_pillow_checkpoint" method="post" action="{% url "reset_pillow_checkpoint" %}">
        <div class="modal-body">
            <p>{% trans "Are you sure you want to reset checkpoint for this pillow?" %}</p>
            <div class="alert">
            <p><i class="icon-warning-sign"></i> {% trans "You still have to RESTART the pillow manually!" %}</p>
            <p><i class="icon-warning-sign"></i> {% trans "NOTE: this may invoke a huge indexing task that could slow down many parts of the site!" %}</p>
            </div>
            <input type="hidden" id="pillow_name" name="pillow_name" />
        </div>
        <div class="modal-footer">
            <button class="btn btn-info" type="submit">{% trans "Reset" %}</button>
            <a href="#" class="btn" data-dismiss="modal">{% trans "Close" %}</a>
        </div>
    </form>
</div>
Improve warning message on pillow reset button
Improve warning message on pillow reset button