mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
aside activity category changed into final class
This commit is contained in:
parent
357b87dadb
commit
b571620e6c
@ -9,7 +9,7 @@ use Doctrine\ORM\Mapping as ORM;
|
||||
/**
|
||||
* @ORM\Entity
|
||||
*/
|
||||
class AsideActivityCategory
|
||||
final class AsideActivityCategory
|
||||
{
|
||||
/**
|
||||
* @ORM\Id
|
||||
|
@ -1,27 +1,11 @@
|
||||
{% extends '@ChillMain/Admin/layout.html.twig' %}
|
||||
{% extends "@ChillActivity/Admin/layout_activity.html.twig" %}
|
||||
|
||||
{% block title %}
|
||||
{% include('@ChillMain/CRUD/_new_title.html.twig') %}
|
||||
{% include('@ChillMain/CRUD/_new_title.html.twig') %}
|
||||
{% endblock %}
|
||||
|
||||
{% block admin_content %}
|
||||
{% embed '@ChillMain/CRUD/_new_content.html.twig' %}
|
||||
{% block content_form_actions_save_and_show %}{% endblock %}
|
||||
{% endembed %}
|
||||
{% block layout_wvm_content %}
|
||||
{% embed '@ChillMain/CRUD/_new_content.html.twig' %}
|
||||
{% block content_form_actions_save_and_show %}{% endblock %}
|
||||
{% endembed %}
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
|
||||
<h1>Creér un activité annexe</h1>
|
||||
|
||||
{{ form_start(asideActivityForm) }}
|
||||
|
||||
<label>Utilisateur</label>
|
||||
<input name='user' value='{{ app.user.username }}'>
|
||||
|
||||
{{ form_widget(asideActivityForm) }}
|
||||
|
||||
<button type="submit" class="btn btn-primary">Creér</button>
|
||||
{{ form_end(asideActivityForm)}}
|
||||
|
||||
{% endblock %}
|
Loading…
x
Reference in New Issue
Block a user