mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-12 04:49:25 +00:00
Swag dropdown on user account + autofocus for refillings on counters
This commit is contained in:
@ -63,6 +63,9 @@ class RefillForm(forms.ModelForm):
|
||||
class Meta:
|
||||
model = Refilling
|
||||
fields = ['amount', 'payment_method', 'bank']
|
||||
widgets = {
|
||||
'amount': forms.NumberInput(attrs={'class':'focus'},)
|
||||
}
|
||||
|
||||
class CounterTabsMixin(TabedViewMixin):
|
||||
def get_tabs_title(self):
|
||||
|
Reference in New Issue
Block a user