mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +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
|
* @ORM\Entity
|
||||||
*/
|
*/
|
||||||
class AsideActivityCategory
|
final class AsideActivityCategory
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @ORM\Id
|
* @ORM\Id
|
||||||
|
@ -1,27 +1,11 @@
|
|||||||
{% extends '@ChillMain/Admin/layout.html.twig' %}
|
{% extends "@ChillActivity/Admin/layout_activity.html.twig" %}
|
||||||
|
|
||||||
{% block title %}
|
{% block title %}
|
||||||
{% include('@ChillMain/CRUD/_new_title.html.twig') %}
|
{% include('@ChillMain/CRUD/_new_title.html.twig') %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block admin_content %}
|
{% block layout_wvm_content %}
|
||||||
{% embed '@ChillMain/CRUD/_new_content.html.twig' %}
|
{% embed '@ChillMain/CRUD/_new_content.html.twig' %}
|
||||||
{% block content_form_actions_save_and_show %}{% endblock %}
|
{% block content_form_actions_save_and_show %}{% endblock %}
|
||||||
{% endembed %}
|
{% endembed %}
|
||||||
{% endblock %}
|
{% 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