8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-28 15:42:25 +00:00

[Printer] Remove unused sr-only to display field labels in template

This commit is contained in:
Maxime Bombar 2018-10-20 16:25:02 +02:00 committed by root
parent 641073e0a6
commit a3cc9857e2

View file

@ -16,8 +16,8 @@
<div id="form_set" class="form-group"> <div id="form_set" class="form-group">
{% for job in jobform.forms %} {% for job in jobform.forms %}
<div class='file_to_print form-inline'> <div class='file_to_print form-inline'>
{% massive_bootstrap_form job "" label_class='sr-only' %} {% massive_bootstrap_form job "" %}
<button class="btn btn-danger btn-sm" id="id_form-0-job-remove" type="button"> <button class="btn btn-danger" id="id_form-0-job-remove" type="button">
<span class="fa fa-times"></span> <span class="fa fa-times"></span>
</button> </button>
</div> </div>
@ -30,7 +30,7 @@
</form> </form>
<script type="text/javascript"> <script type="text/javascript">
var template = `{% bootstrap_form jobform.empty_form label_class='sr-only' %} var template = `{% bootstrap_form jobform.empty_form %}
<button class="btn btn-danger btn-sm" <button class="btn btn-danger btn-sm"
id="id_form-__prefix__-job-remove" type="button"> id="id_form-__prefix__-job-remove" type="button">
<span class="fa fa-times"></span> <span class="fa fa-times"></span>