-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9005c16
commit 9abf6e0
Showing
3 changed files
with
39 additions
and
68 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 |
---|---|---|
@@ -1,59 +1,41 @@ | ||
{% extends "dashboard/siae_edit_base.html" %} | ||
{% load static bootstrap4 get_verbose_name %} | ||
|
||
{% block extra_css %} | ||
<style> | ||
#id_contact_email+small{ | ||
color: #FF5655 !important; | ||
} | ||
</style> | ||
{% endblock %} | ||
{% load static dsfr_tags get_verbose_name %} | ||
|
||
{% block content_siae_form %} | ||
<form method="POST" action="" class="mb-3 mb-lg-5"> | ||
<form method="post" action=""> | ||
{% csrf_token %} | ||
|
||
{% bootstrap_form_errors form type="all" %} | ||
|
||
<div class="fr-grid-row mb-3 mb-lg-5"> | ||
{% if form.non_field_errors %} | ||
<section class="fr-my-4v fr-input-group fr-input-group--error"> | ||
{{ form.non_field_errors }} | ||
</section> | ||
{% endif %} | ||
<div class="fr-grid-row"> | ||
<div class="fr-col-12"> | ||
<h3>Contacts affichés sur votre fiche commerciale</h3> | ||
</div> | ||
</div> | ||
|
||
<div class="fr-grid-row mb-3 mb-lg-5"> | ||
<div class="fr-grid-row fr-grid-row--gutters"> | ||
<div class="fr-col-12 fr-col-lg-8"> | ||
<div class="bg-white d-block rounded-lg shadow-lg fr-p-3 p-lg-5"> | ||
<fieldset> | ||
{% bootstrap_field form.contact_first_name %} | ||
{% bootstrap_field form.contact_last_name %} | ||
{% bootstrap_field form.contact_website %} | ||
{% bootstrap_field form.contact_email %} | ||
{% bootstrap_field form.contact_phone %} | ||
{% bootstrap_field form.contact_social_website %} | ||
</fieldset> | ||
</div> | ||
{% dsfr_form_field form.contact_first_name %} | ||
{% dsfr_form_field form.contact_last_name %} | ||
{% dsfr_form_field form.contact_website %} | ||
{% dsfr_form_field form.contact_email %} | ||
{% dsfr_form_field form.contact_phone %} | ||
{% dsfr_form_field form.contact_social_website %} | ||
</div> | ||
<div class="fr-col-12 fr-col-lg-4"> | ||
<div class="alert alert-info mt-3 mt-lg-0" role="alert"> | ||
<p class="mb-1"> | ||
<i class="ri-information-line ri-lg"></i> | ||
<strong>Contact commercial</strong> | ||
</p> | ||
<p class="mb-0"> | ||
Les informations de contact seront mis à disposition des acheteurs afin de leur permettre de vous contacter facilement. | ||
</p> | ||
</div> | ||
{% dsfr_alert type="info" title="Contact commercial" content="Les informations de contact seront mis à disposition des acheteurs afin de leur permettre de vous contacter facilement." %} | ||
</div> | ||
</div> | ||
|
||
<div class="fr-grid-row mt-3 mt-lg-5 justify-content-end"> | ||
<div class="fr-col-12 fr-col-lg-auto px-5 px-lg-6"> | ||
<button type="submit" class="btn btn-primary btn-block"> | ||
<span>Enregistrer mes modifications</span> | ||
</button> | ||
<div class="fr-grid-row fr-grid-row--gutters"> | ||
<div class="fr-col-12 fr-col-lg-8"> | ||
<ul class="fr-btns-group--right fr-btns-group fr-btns-group--inline"> | ||
<li> | ||
{% dsfr_button label="Enregistrer mes modifications" extra_classes="fr-mt-4v" %} | ||
</li> | ||
</ul> | ||
</div> | ||
<div class="fr-col-12 fr-col-lg-4"></div> | ||
</div> | ||
</form> | ||
{% endblock %} | ||
{% endblock content_siae_form %} |
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