Use small tables for edit pages.

This commit is contained in:
Jan Böhmer 2019-08-30 16:57:28 +02:00
parent c4d5d4291b
commit 63508293bd
3 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@
{% endset %} {% endset %}
<table class="table table-striped" id="attachments_table" data-prototype="{{ form_widget(form.attachments.vars.prototype)|e('html_attr') }}"> <table class="table table-striped table-sm" id="attachments_table" data-prototype="{{ form_widget(form.attachments.vars.prototype)|e('html_attr') }}">
<tbody> <tbody>
{% for attachment in form.attachments %} {% for attachment in form.attachments %}
<tr> <tr>

View file

@ -6,7 +6,7 @@
{% endset %} {% endset %}
<table class="table table-striped" id="lots_table" data-prototype="{{ form_widget(form.partLots.vars.prototype)|e('html_attr') }}"> <table class="table table-striped table-sm" id="lots_table" data-prototype="{{ form_widget(form.partLots.vars.prototype)|e('html_attr') }}">
<tbody> <tbody>
{% for lot in form.partLots %} {% for lot in form.partLots %}
<tr> <tr>

View file

@ -1,6 +1,6 @@
{% form_theme form with ['Parts/edit/edit_form_styles.html.twig', "bootstrap_4_layout.html.twig"] %} {% form_theme form with ['Parts/edit/edit_form_styles.html.twig', "bootstrap_4_layout.html.twig"] %}
<table class="table table-striped" id="orderdetails_table" data-prototype="{{ form_widget(form.orderdetails.vars.prototype)|e('html_attr') }}"> <table class="table table-striped table-sm" id="orderdetails_table" data-prototype="{{ form_widget(form.orderdetails.vars.prototype)|e('html_attr') }}">
<tbody> <tbody>
{% for detail in form.orderdetails %} {% for detail in form.orderdetails %}
{{ form_widget(detail) }} {{ form_widget(detail) }}