Fixes and improvements

* fixes group check on detail views
* adds check for required fields in BaseForm for showing required field hint or not in template
This commit is contained in:
mipel
2021-08-04 08:41:21 +02:00
parent cd5b2e264b
commit d773c3b3d4
4 changed files with 16 additions and 7 deletions

View File

@@ -17,4 +17,6 @@
{% endfor %}
</tbody>
</table>
<small>{% trans 'Fields with * are required.' %}</small>
{% if form.has_required_fields %}
<small>{% trans 'Fields with * are required.' %}</small>
{% endif %}