Admin helpers
hypha.apply.funds.admin_helpers
¶
VerboseLabelModelChoiceField
¶
FundChooserForm
¶
Bases: ParentChooserForm
Changes the default chooser to be fund orientated
parent_page
class-attribute
instance-attribute
¶
parent_page = VerboseLabelModelChoiceField(label=gettext_lazy('Fund or RFP'), required=True, empty_label=None, queryset=none(), widget=RadioSelect())
RoundFundChooserView
¶
ButtonsWithPreview
¶
Bases: PageButtonHelper
preview_button
¶
Source code in hypha/apply/funds/admin_helpers.py
get_buttons_for_obj
¶
Source code in hypha/apply/funds/admin_helpers.py
ApplicationFormButtonHelper
¶
Bases: ButtonHelper
prepare_classnames
¶
Parse classname sets into final css classes list.
copy_form_button
¶
Source code in hypha/apply/funds/admin_helpers.py
get_buttons_for_obj
¶
Override the getting of buttons, appending copy form button.