
    vgS                     V    d Z ddlmZ ddlmZ ddlmZ  G d dej                        Zy)z^
widgets.py

This page is used to write custom form widget or override some functionalities.

    )forms)	mark_safe)settingsc                       e Zd ZdZddZy)RecruitmentAjaxWidgetzw
    This widget class is used to load the ajax script for the recruitment,
    the job position and to the stage.
    Nc                     dt         j                   dt         j                   d}d| d| d| d}|xs i }d|d	<   t        ||z         S )
Nz<link href="/zRrecruitment/widget/recruitment_widget_style.css">            </link><script src="/z0recruitment/widget/recruitmentAjax.js"></script>z
        <script id="zQScript">
            $(document).ready(function () {
                $("[for='id_z"']").remove()
                $("#z<Script").remove()
            });
        </script>
        Frequired)r   
STATIC_URLr   )selfnamevalueattrsrendererrendered_scriptadditional_scripts          '/var/www/horilla/recruitment/widgets.pyrenderzRecruitmentAjaxWidget.render   s}    )(*=*=)> ?""*"5"5!66fh!F !F #F 		 !j+<<==    )NN)__name__
__module____qualname____doc__r    r   r   r   r      s    
>r   r   N)	r   djangor   django.utils.safestringr   horillar   Widgetr   r   r   r   <module>r      s%     - 
>ELL >r   