ó
5ªdYc           @   s¬   d  d l  m Z d  d l m Z d  d l Td  d l m Z d e f d „  ƒ  YZ d e f d „  ƒ  YZ d	 e f d
 „  ƒ  YZ	 d e f d „  ƒ  YZ
 d e
 f d „  ƒ  YZ d S(   iÿÿÿÿ(   t	   ModelForm(   t   forms(   t   *(   t   BetterModelFormt   TheoryExamFormFormc           B   s   e  Z d  d d „  ƒ  YZ RS(   t   Metac           B   s   e  Z e Z d Z RS(   t   namet   introductiont   payment_amountt   typet   enabled(   s   names   introductions   payment_amounts   types   enabled(   t   __name__t
   __module__t   TheoryExamFormt   modelt   fields(    (    (    s7   /var/www/svtgbi.org/svtgbi/modules/theory_exam/forms.pyR   	   s   (    (   R   R   R   (    (    (    s7   /var/www/svtgbi.org/svtgbi/modules/theory_exam/forms.pyR      s   t   ExamLocationFormc           B   s   e  Z d  d d „  ƒ  YZ RS(   R   c           B   s   e  Z e Z d Z RS(   t	   exam_form(   s	   exam_form(   R   R   t   ExamLocationR   t   exclude(    (    (    s7   /var/www/svtgbi.org/svtgbi/modules/theory_exam/forms.pyR      s   (    (   R   R   R   (    (    (    s7   /var/www/svtgbi.org/svtgbi/modules/theory_exam/forms.pyR      s   t   ExamChoiceFormc           B   s   e  Z d  d d „  ƒ  YZ RS(   R   c           B   s   e  Z e Z d Z RS(   R   (   s	   exam_form(   R   R   t
   ExamChoiceR   R   (    (    (    s7   /var/www/svtgbi.org/svtgbi/modules/theory_exam/forms.pyR      s   (    (   R   R   R   (    (    (    s7   /var/www/svtgbi.org/svtgbi/modules/theory_exam/forms.pyR      s   t   TheoryApplicantDetailsFormResitc           B   s$   e  Z d  „  Z d d d „  ƒ  YZ RS(   c         O   s  t  t |  ƒ j | | Ž  t |  j d _ t |  j d _ t |  j d _ t |  j d _ t |  j d _ t |  j d _ t |  j d _ t |  j d _ t |  j d	 _ t |  j d
 _ t |  j d _ t |  j d _ t |  j d _ t |  j d _ t |  j d _ d |  j d _ d  S(   Nt   titlet
   first_namet   surnamet   email_addresst   contact_numbert   dobt	   job_titlet   current_employert   employment_start_datet   work_address_1t	   work_townt   work_countyt   work_postcodet   work_countryt   exam_choicest    (   t   superR   t   __init__t   TrueR   t   requiredt   label(   t   selft   argst   kwargs(    (    s7   /var/www/svtgbi.org/svtgbi/modules/theory_exam/forms.pyR(      s"    R   c           B   sô   e  Z e Z d  i d d d d d d d g d 6d	 d
 6d d 6f d i d d d g d 6d d
 6d d 6f d i d d d d d d g d 6d d
 6f d i d d d d d  d! g d 6d" d
 6f d# i d# g d 6d$ d
 6d% d 6f g Z i e j ƒ  d# 6Z RS(&   t   personal_detailst   membership_numberR   R   R   R   R   R   R   s   Personal Detailst   legendsE   Applicants for the theory exam must be an ordinary member of the SVT.t   descriptiont
   employmentR   R   R   t
   Employments}   Applicants for the theory exam must be currently employed in the UK or ireland to perform vascular diagnostic investigations.t   work_addressR    t   work_address_2R!   R"   R#   R$   s   Work Addresst   mailing_addresst   mailing_address_1t   mailing_address_2t   mailing_townt   mailing_countyt   mailing_postcodet   mailing_countrys   Mailing AddressR%   s   Exam Choices$   Which exam(s) would you like to sit?(   R   R   t   TheoryExamApplicationR   t	   fieldsetsR   t   CheckboxSelectMultiplet   widgets(    (    (    s7   /var/www/svtgbi.org/svtgbi/modules/theory_exam/forms.pyR   0   s   3'))'(    (   R   R   R(   R   (    (    (    s7   /var/www/svtgbi.org/svtgbi/modules/theory_exam/forms.pyR      s   	t   TheoryApplicantDetailsFormc           B   s   e  Z d  d d „  ƒ  YZ RS(   R   c           B   sô   e  Z e Z d  i d d d d d d d g d 6d	 d
 6d d 6f d i d d d g d 6d d
 6d d 6f d i d d d d d d g d 6d d
 6f d i d d d d d  d! g d 6d" d
 6f d# i d# g d 6d$ d
 6d% d 6f g Z i e j ƒ  d# 6Z RS(&   R/   R0   R   R   R   R   R   R   R   s   Personal DetailsR1   sE   Applicants for the theory exam must be an ordinary member of the SVT.R2   R3   R   R   R   R4   s}   Applicants for the theory exam must be currently employed in the UK or ireland to perform vascular diagnostic investigations.R5   R    R6   R!   R"   R#   R$   s   Work AddressR7   R8   R9   R:   R;   R<   R=   s   Mailing AddressR%   s   Exam Choices!   Which exam would you like to sit?(   R   R   R>   R   R?   R   R@   RA   (    (    (    s7   /var/www/svtgbi.org/svtgbi/modules/theory_exam/forms.pyR   @   s   3'))'(    (   R   R   R   (    (    (    s7   /var/www/svtgbi.org/svtgbi/modules/theory_exam/forms.pyRB   >   s   N(   t   django.formsR    t   djangoR   t   modelst   form_utils.formsR   R   R   R   R   RB   (    (    (    s7   /var/www/svtgbi.org/svtgbi/modules/theory_exam/forms.pyt   <module>   s   
#