ProductPaymentForm: Set input fields input-no-border style
This commit is contained in:
		
					parent
					
						
							
								8758cd1cd8
							
						
					
				
			
			
				commit
				
					
						e3ec67d32c
					
				
			
		
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -120,6 +120,9 @@ class ProductPaymentForm(GenericPaymentForm): | ||||||
|                 payment_type=_('One time payment') |                 payment_type=_('One time payment') | ||||||
|             ) |             ) | ||||||
|         self.fields['recurring'].widget = forms.HiddenInput() |         self.fields['recurring'].widget = forms.HiddenInput() | ||||||
|  |         self.fields['product_name'].widget.attrs['class'] = 'input-no-border' | ||||||
|  |         self.fields['amount'].widget.attrs['class'] = 'input-no-border' | ||||||
|  |         self.fields['description'].widget.attrs['class'] = 'input-no-border' | ||||||
| 
 | 
 | ||||||
|     def clean_amount(self): |     def clean_amount(self): | ||||||
|         amount = self.cleaned_data.get('amount') |         amount = self.cleaned_data.get('amount') | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue