mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-10 03:49:24 +00:00
Create a generic form fragment renderer
This commit is contained in:
@ -416,6 +416,6 @@ class CounterClick(CounterTabsMixin, CanViewMixin, DetailView):
|
||||
kwargs["refill_form"] = self.refill_form or RefillForm()
|
||||
kwargs["barmens_can_refill"] = self.object.can_refill()
|
||||
kwargs["student_card"] = StudentCardFormView.get_template_data(
|
||||
self.request, self.customer
|
||||
).as_dict()
|
||||
self.customer
|
||||
).render(self.request)
|
||||
return kwargs
|
||||
|
Reference in New Issue
Block a user