forked from MarseyWorld/MarseyWorld
fix "publish" button alignment
parent
77f422b750
commit
681171b3e9
|
@ -1,5 +1,5 @@
|
||||||
{% if v and v.id==p.author_id and p.private %}
|
{% if v and v.id==p.author_id and p.private %}
|
||||||
<form action="/publish/{{p.id}}" method="post" class="d-flex">
|
<form action="/publish/{{p.id}}" method="post" class="d-flex mb-0">
|
||||||
<input type="hidden" name="formkey", value="{{v|formkey}}">
|
<input type="hidden" name="formkey", value="{{v|formkey}}">
|
||||||
<button type="submit" class="list-inline-item text-small p-0 m-0 mr-3 border-0 nobackground font-weight-bold" type="submit" data-nonce="{{g.nonce}}" data-onclick="disable(this)"><i class="fas fa-globe"></i>Publish</button>
|
<button type="submit" class="list-inline-item text-small p-0 m-0 mr-3 border-0 nobackground font-weight-bold" type="submit" data-nonce="{{g.nonce}}" data-onclick="disable(this)"><i class="fas fa-globe"></i>Publish</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{% if v and v.id==p.author_id and p.private %}
|
{% if v and v.id==p.author_id and p.private %}
|
||||||
<form class="btn-block" action="/publish/{{p.id}}" method="post">
|
<form class="btn-block mb-0" action="/publish/{{p.id}}" method="post">
|
||||||
<input type="hidden" name="formkey", value="{{v|formkey}}">
|
<input type="hidden" name="formkey", value="{{v|formkey}}">
|
||||||
<button type="submit" class="nobackground btn btn-link btn-lg text-left text-muted" data-bs-dismiss="modal" type="submit" data-nonce="{{g.nonce}}" data-onclick="disable(this)"><i class="fas fa-globe text-center mr-2"></i>Publish</button>
|
<button type="submit" class="nobackground btn btn-link btn-lg text-left text-muted" data-bs-dismiss="modal" type="submit" data-nonce="{{g.nonce}}" data-onclick="disable(this)"><i class="fas fa-globe text-center mr-2"></i>Publish</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in New Issue