o
    h                     @   sV   d dl mZ ddlmZmZ G dd dejZG dd dejZG dd	 d	ejZ	d
S )    )forms   )SystemSettingsCompanyProfilec                   @      e Zd ZG dd dZdS )SystemSettingsFormc                   @   s:   e Zd ZeZg dZejddidejddiddZdS )zSystemSettingsForm.Meta)categorykeyvaluedescriptionis_sensitiveis_requiredrows   attrs   )r
   r   N)	__name__
__module____qualname__r   modelfieldsr   Textareawidgets r   r   ./var/www/html/optinet_system/settings/forms.pyMeta   s    
r   Nr   r   r   r   r   r   r   r   r          r   c                   @   s*   e Zd ZejddejdddddZdS )	TestEmailFormzTest Email AddresszCEnter an email address to send a test email to verify configurationform-controlztest@example.com)classplaceholderr   )label	help_textwidgetN)r   r   r   r   
EmailField
EmailInput
test_emailr   r   r   r   r      s    
r   c                   @   r   )CompanyProfileFormc                   @   s   e Zd ZeZg dZejddidejddddejddidej	ddidej
ddidejddidejddidejddidejddidejddidejddiddZdS )	zCompanyProfileForm.Meta)company_namecompany_logofaviconaddressphoneemailwebsitetax_idbusiness_registrationdefault_currencytimezoner!   r    r   r   )r!   r   )r*   r-   r.   r/   r0   r1   r2   r3   r4   r+   r,   N)r   r   r   r   r   r   r   	TextInputr   r'   URLInput	FileInputr   r   r   r   r   r      s    
r   Nr   r   r   r   r   r)      r   r)   N)
djangor   modelsr   r   	ModelFormr   Formr   r)   r   r   r   r   <module>   s
   	
