Skip to content

Commit

Permalink
Made chosen work.
Browse files Browse the repository at this point in the history
  • Loading branch information
harrislapiroff committed Apr 6, 2014
1 parent 95ec0f2 commit ca28cd5
Show file tree
Hide file tree
Showing 18 changed files with 6,443 additions and 3 deletions.
10 changes: 8 additions & 2 deletions argus/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,16 @@ class TransactionForm(forms.ModelForm):
class Meta:
model = Transaction
widgets = {
'paid_by': forms.Select,
'paid_to': forms.Select,
'memo': forms.TextInput,
'amount': forms.NumberInput(attrs={'step': 0.01}),
'sharers': forms.CheckboxSelectMultiple,
'paid_at': forms.DateTimeInput,
'category': forms.Select,
'notes': forms.Textarea,
'split': forms.RadioSelect,
}
'sharers': forms.CheckboxSelectMultiple,
}

def __init__(self, group, *args, **kwargs):
super(TransactionForm, self).__init__(*args, **kwargs)
Expand Down
Binary file added argus/static/argus/lib/chosen/chosen-sprite.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added argus/static/argus/lib/chosen/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit ca28cd5

Please sign in to comment.