[FIX] EMPLOYEE:Fixed button positions in employee view
This commit is contained in:
@@ -292,8 +292,11 @@
|
||||
<form id="bulk-reject-form">
|
||||
<textarea name="rejection_reason" cols="40" rows="2" class="oh-input w-100" placeholder="Rejection reason" id="bulk_rejection_reason"></textarea>
|
||||
|
||||
<div class="d-flex justify-content-between w-100 align-items-center mt-4">
|
||||
<button type="button" class="oh-btn oh-btn--secondary oh-btn--shadow bulk_reject">
|
||||
<div class="d-flex flex-row-reverse">
|
||||
<button
|
||||
type="submit"
|
||||
class="oh-btn oh-btn--secondary mt-2 mr-0 oh-btn--w-100-resp"
|
||||
>
|
||||
{% trans "Save" %}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -46,9 +46,12 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="d-flex justify-content-between w-100 align-items-center mt-4">
|
||||
<button type="submit" class="oh-btn oh-btn--secondary oh-btn--shadow">
|
||||
{% trans "Save" %}
|
||||
<div class="d-flex flex-row-reverse">
|
||||
<button
|
||||
type="submit"
|
||||
class="oh-btn oh-btn--secondary mt-2 mr-0 oh-btn--w-100-resp"
|
||||
>
|
||||
{% trans "Save" %}
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@@ -45,11 +45,14 @@
|
||||
<li style="list-style:disc">{% trans "Max size of the file" %} {{form.instance.document_request_id.max_size}} MB</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="d-flex justify-content-between w-100 align-items-center mt-4">
|
||||
<button type="submit" class="oh-btn oh-btn--secondary oh-btn--shadow">
|
||||
{% trans "Save" %}
|
||||
</button>
|
||||
</div>
|
||||
<div class="d-flex flex-row-reverse mt-2">
|
||||
<button
|
||||
type="submit"
|
||||
class="oh-btn oh-btn--secondary mt-2 mr-0 oh-btn--w-100-resp"
|
||||
>
|
||||
{% trans "Save" %}
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<script>
|
||||
|
||||
@@ -9,9 +9,12 @@
|
||||
{{form.non_field_errors}}
|
||||
{{form.reject_reason}}
|
||||
{{form.reject_reason.errors}}
|
||||
<div class="d-flex justify-content-between w-100 align-items-center mt-4">
|
||||
<button type="submit" class="oh-btn oh-btn--secondary oh-btn--shadow">
|
||||
{% trans "Save" %}
|
||||
</button>
|
||||
</div>
|
||||
<div class="d-flex flex-row-reverse">
|
||||
<button
|
||||
type="submit"
|
||||
class="oh-btn oh-btn--secondary mt-2 mr-0 oh-btn--w-100-resp"
|
||||
>
|
||||
{% trans "Save" %}
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user