mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
create edit page
This commit is contained in:
@@ -7,6 +7,11 @@ chill_person_view:
|
||||
menu: person
|
||||
order: 50
|
||||
label: menu.person.general_view
|
||||
|
||||
chill_person_general_edit:
|
||||
pattern: /view/{id}/edit
|
||||
defaults: {_controller: CLChillPersonBundle:Person:edit }
|
||||
|
||||
|
||||
|
||||
chill_person_search:
|
||||
|
14
Resources/views/Person/edit.html.twig
Normal file
14
Resources/views/Person/edit.html.twig
Normal file
@@ -0,0 +1,14 @@
|
||||
{% extends "CLChillPersonBundle::layout.html.twig" %}
|
||||
|
||||
{% set activeRouteKey = '' %}
|
||||
|
||||
{% block title %}CLChillPersonBundle:Person:see{% endblock %}
|
||||
|
||||
{% block personcontent %}
|
||||
|
||||
{% form_theme form 'CLChillMainBundle:Form:fields.html.twig' %}
|
||||
|
||||
{{ form(form) }}
|
||||
|
||||
|
||||
{% endblock personcontent %}
|
Reference in New Issue
Block a user