add "js-tooltip" class to "POST" button (#6344)

the tool tip of "POST" button is different from other buttons, since it loses the "js-tooltip" class.
This commit is contained in:
HoangYell 2018-12-03 19:10:05 +07:00 committed by Tom Christie
parent 5a54f897ec
commit b61806e3b3

View File

@ -201,7 +201,7 @@
{% csrf_token %} {% csrf_token %}
{{ post_form }} {{ post_form }}
<div class="form-actions"> <div class="form-actions">
<button class="btn btn-primary" title="Make a POST request on the {{ name }} resource">POST</button> <button class="btn btn-primary js-tooltip" title="Make a POST request on the {{ name }} resource">POST</button>
</div> </div>
</fieldset> </fieldset>
</form> </form>
@ -215,7 +215,7 @@
<fieldset> <fieldset>
{% include "rest_framework/raw_data_form.html" %} {% include "rest_framework/raw_data_form.html" %}
<div class="form-actions"> <div class="form-actions">
<button class="btn btn-primary" title="Make a POST request on the {{ name }} resource">POST</button> <button class="btn btn-primary js-tooltip" title="Make a POST request on the {{ name }} resource">POST</button>
</div> </div>
</fieldset> </fieldset>
</form> </form>