Ajout Formulaire Posts + Species avec authorisation #7

Manually merged
clement.freville2 merged 11 commits from forms into main 6 months ago
Collaborator
There is no content yet.
clement.freville2 was assigned by hugo.pradier2 6 months ago
hugo.pradier2 added 5 commits 6 months ago
continuous-integration/drone/push Build is passing Details
247f9e6a01
add form species
continuous-integration/drone/push Build is passing Details
8b9735b75c
add route valid after success
continuous-integration/drone/push Build is failing Details
1d3ef1bfb8
add form post
continuous-integration/drone/push Build is passing Details
94992c09db
correction lint ci
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is failing Details
189a9fc79a
ajout authorisations avant post species et posts
clement.freville2 requested changes 6 months ago
$form = $this->createForm(PostType::class, $post);
$form->handleRequest($request);

If a date is not specified, this line crashes the application.

If a date is not specified, this line crashes the application.
clement.freville2 marked this conversation as resolved
class SpeciesController extends AbstractController
{
#[Route('/species', name: 'app_species')]
-    #[Route('/species', name: 'app_species')]
+    #[Route('/species/add', name: 'app_species')]
```diff - #[Route('/species', name: 'app_species')] + #[Route('/species/add', name: 'app_species')] ```
clement.freville2 marked this conversation as resolved
{% extends 'base.html.twig' %}
{% block title %}Hello SpeciesController!{% endblock %}

This file is not used.

This file is not used.
clement.freville2 marked this conversation as resolved
hugo.pradier2 added 1 commit 6 months ago
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is passing Details
be057a316d
correction suite a demande ajout
hugo.pradier2 requested review from clement.freville2 6 months ago
hugo.pradier2 added 1 commit 6 months ago
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is passing Details
c806227de2
ajout edit post
clement.freville2 added 1 commit 6 months ago
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is passing Details
541ec566d1
Reformat
bastien.ollier added 1 commit 6 months ago
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
b7a750604a
update form
bastien.ollier added 1 commit 6 months ago
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
9afe77b4ed
update PostController
clement.freville2 added 1 commit 6 months ago
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is passing Details
1dc528f269
Fix tests
clement.freville2 approved these changes 6 months ago
clement.freville2 referenced this issue from a commit 6 months ago
clement.freville2 merged commit 49d60871c9 into main manually 6 months ago
clement.freville2 deleted branch forms 6 months ago

Reviewers

clement.freville2 approved these changes 6 months ago
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
The pull request has been manually merged as 49d60871c9.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: clement.freville2/herbarium#7
Loading…
There is no content yet.