-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apply: Handle inward transfer on company search
- Loading branch information
Showing
3 changed files
with
81 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{% extends "layout/base.html" %} | ||
{% load buttons_form %} | ||
|
||
{% block title %} | ||
Transférer une candidature vers une autre structure | ||
{{ block.super }} | ||
{% endblock %} | ||
|
||
{% block content_title %} | ||
{% include "apply/includes/job_application_outward_transfer_progress.html" with job_app_to_transfer=job_app_to_transfer progress=progress only %} | ||
<h1>Confirmation du transfer</h1> | ||
{% endblock %} | ||
|
||
|
||
{% block content %} | ||
<section class="s-section-twocolumns s-section"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-12"> | ||
<div class="c-form"> | ||
<div class="col-12 p-0"> | ||
<p> | ||
Êtes-vous sûr de vouloir transférer la candidature de <b>{{ job_app_to_tranfer.job_seeker.get_full_name }}</b> dans la structure suivante ? | ||
</p> | ||
{% include "companies/includes/_company_info.html" with company=company extra_box_class="mb-3 mb-lg-5" only %} | ||
</div> | ||
|
||
<form method="post" action="{% url 'apply:transfer' job_application_id=job_app_to_transfer.id %}"> | ||
{% csrf_token %} | ||
|
||
<input type="hidden" name="target_company_id" value="{{ company.pk }}" /> | ||
<input type="hidden" name="back_url" value="{{ back_url }}" /> | ||
|
||
{% itou_buttons_form primary_label="Confirmer" secondary_url=back_url reset_url=reset_url show_mandatory_fields_mention=False %} | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters