mirror of
https://github.com/ae-utbm/sith.git
synced 2026-11-20 16:09:54 +00:00
Add club group
This commit is contained in:
1 parent
fb25e4586e
commit
04b200cdc5
5 files changed
+41
-9
No files matched your search
@@ -49,7 +49,18 @@
|
||||
{{ subform.is_active.help_text }}
|
||||
</span>
|
||||
</div>
|
||||
{% set groups = subform.instance.linked_groups.all()|list %}
|
||||
<div class="form-group">
|
||||
<div>
|
||||
{{ subform.is_stock_group }}
|
||||
{{ subform.is_stock_group.label_tag() }}
|
||||
</div>
|
||||
<span class="helptext">
|
||||
{{ subform.is_stock_group.help_text }}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
{# I don't know why it has no id in my case.... Maybe I'm big dum #}
|
||||
{% set groups = subform.instance.linked_groups.all()|list if subform.instance.pk else [] %}
|
||||
{% if groups %}
|
||||
<div>
|
||||
<p>
|
||||
|
||||
Reference in new issue
Block a user