Make recurring monthly and amount in chf explicit
This commit is contained in:
		
					parent
					
						
							
								a90bec98ec
							
						
					
				
			
			
				commit
				
					
						114dbd8242
					
				
			
		
					 1 changed files with 8 additions and 3 deletions
				
			
		|  | @ -54,9 +54,14 @@ class HostingUserLoginForm(forms.Form): | ||||||
| 
 | 
 | ||||||
| class GenericPaymentForm(forms.Form): | class GenericPaymentForm(forms.Form): | ||||||
|     amount = forms.FloatField( |     amount = forms.FloatField( | ||||||
|         widget=forms.TextInput(), max_value=999999, min_value=1 |                 widget=forms.TextInput( | ||||||
|     ) |                             attrs={'placeholder': _('Amount in CHF')} | ||||||
|     recurring = forms.BooleanField(required=False) |                         ), | ||||||
|  |                 max_value=999999, | ||||||
|  |                 min_value=1 | ||||||
|  |              ) | ||||||
|  |     recurring = forms.BooleanField(required=False, | ||||||
|  |                                    label=_("Recurring monthly")) | ||||||
|     description = forms.CharField( |     description = forms.CharField( | ||||||
|         widget=forms.Textarea(attrs={'style': "height: 150px;"}), |         widget=forms.Textarea(attrs={'style': "height: 150px;"}), | ||||||
|         required=False |         required=False | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue