from django.conf.urls import *

urlpatterns = patterns('',

    url(r'^(?P<form_slug>[-\w]+)/$','modules.theory_exam.views.theory_exam',name='theory_exam'),
    url(r'^(?P<form_slug>[-\w]+)/start/$','modules.theory_exam.views.start_application',name='theory_exam_start'),
    url(r'^(?P<form_slug>[-\w]+)/(?P<application_id>[-\d]+)/restart/$','modules.theory_exam.views.restart_application',name='theory_exam_restart'),
    url(r'^(?P<form_slug>[-\w]+)/(?P<application_id>[-\d]+)/delete/$','modules.theory_exam.views.delete_application',name='theory_exam_delete'),
    url(r'^(?P<form_slug>[-\w]+)/(?P<application_id>[-\d]+)/applicant-details/$','modules.theory_exam.views.applicant_details',name='theory_exam_applicant'),

    url(r'^(?P<form_slug>[-\w]+)/(?P<application_id>[-\d]+)/payment/$','modules.theory_exam.views.payment',name='theory_exam_payment'),
    url(r'^(?P<form_slug>[-\w]+)/(?P<application_id>[-\d]+)/payment/process/$','modules.theory_exam.views.payment_process',name='theory_exam_payment_process'),
    url(r'^(?P<form_slug>[-\w]+)/(?P<application_id>[-\d]+)/payment/complete/$','modules.theory_exam.views.payment_complete',name='theory_exam_payment_complete'),
    url(r'^(?P<form_slug>[-\w]+)/(?P<application_id>[-\d]+)/payment/failure/$','modules.theory_exam.views.payment_failure',name='theory_exam_payment_failure'),

    url(r'^(?P<form_slug>[-\w]+)/complete/$','modules.theory_exam.views.complete',name='theory_exam_complete'),

)
