generated from api-platform/api-platform
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/development' into dev-gino
- Loading branch information
Showing
12 changed files
with
131 additions
and
74 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
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
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
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
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
48 changes: 48 additions & 0 deletions
48
api/templates/dashboard/modals/object_dossier_modal.html.twig
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,48 @@ | ||
<div class="modal fade" id="modalObjectDossier{{ dossier.id }}" tabindex="-1" role="dialog" aria-labelledby="modalObjectDossierTitle{{ dossier.id }}" aria-hidden="true"> | ||
<div class="modal-dialog modal-dialog-centered" role="document"> | ||
<div class="modal-content"> | ||
<div class="modal-body"> | ||
|
||
<!-- Close --> | ||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"> | ||
<span aria-hidden="true">×</span> | ||
</button> | ||
|
||
<!-- Heading --> | ||
<h2 class="font-weight-bold text-center mb-1" id="modalObjectDossierTitle{{ dossier.id }}"> | ||
{{ 'object to this dossier'|trans|capitalize }} | ||
</h2> | ||
<h3 class="text-center"> | ||
{{ dossier.name }} | ||
</h3> | ||
|
||
<!-- Divider --> | ||
<hr class="border-gray-300 my-6"> | ||
|
||
<!-- Form --> | ||
<form method="post" action="{{ path('app_dashboard_dossiers') }}" enctype="multipart/form-data"> | ||
<input type="hidden" name="dossierID" value="{{ dossier.id }}"> | ||
|
||
<!-- Explanation --> | ||
<div class="form-group"> | ||
<label for="explanation">{{ 'please explain your objection'|trans|capitalize }} <span class="text-danger">*</span></label> | ||
<textarea class="form-control" name="explanation" id="explanation" | ||
cols="2" rows="3" style="max-height: 20rem; min-height: 3.5rem" | ||
placeholder="{{ 'explanation'|trans|capitalize }}" | ||
required | ||
></textarea> | ||
</div> | ||
|
||
<!-- Submit --> | ||
<button | ||
name="dossierObjection" | ||
value="true" | ||
class="btn btn-block btn-primary mt-3 lift"> | ||
{{ 'submit'|trans|capitalize }} | ||
</button> | ||
|
||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
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