vues twig

This commit is contained in:
allavenavr 2024-11-21 17:04:56 +01:00
parent 2c63ca35e1
commit bef89483ef
49 changed files with 919 additions and 2 deletions

View File

@ -13,8 +13,7 @@
<h2> {{ ann.title }} </h2>
<h3> {{ ann.company.name }} </h3>
<p> {{ ann.description }} </p>
<p> {{ ann.creationDate }} </p>
------------------------------
{% endfor %}

View File

@ -0,0 +1,4 @@
<form method="post" action="{{ path('app_company_delete', {'id': company.id}) }}" onsubmit="return confirm('Are you sure you want to delete this item?');">
<input type="hidden" name="_token" value="{{ csrf_token('delete' ~ company.id) }}">
<button class="btn">Delete</button>
</form>

View File

@ -0,0 +1,4 @@
{{ form_start(form) }}
{{ form_widget(form) }}
<button class="btn">{{ button_label|default('Save') }}</button>
{{ form_end(form) }}

View File

@ -0,0 +1,13 @@
{% extends 'base.html.twig' %}
{% block title %}Edit Company{% endblock %}
{% block body %}
<h1>Edit Company</h1>
{{ include('company/_form.html.twig', {'button_label': 'Update'}) }}
<a href="{{ path('app_company_index') }}">back to list</a>
{{ include('company/_delete_form.html.twig') }}
{% endblock %}

View File

@ -0,0 +1,41 @@
{% extends 'base.html.twig' %}
{% block title %}Company index{% endblock %}
{% block body %}
<h1>Company index</h1>
<table class="table">
<thead>
<tr>
<th>Id</th>
<th>Name</th>
<th>Address</th>
<th>Tel</th>
<th>Mail</th>
<th>actions</th>
</tr>
</thead>
<tbody>
{% for company in companies %}
<tr>
<td>{{ company.id }}</td>
<td>{{ company.name }}</td>
<td>{{ company.address }}</td>
<td>{{ company.tel }}</td>
<td>{{ company.mail }}</td>
<td>
<a href="{{ path('app_company_show', {'id': company.id}) }}">show</a>
<a href="{{ path('app_company_edit', {'id': company.id}) }}">edit</a>
</td>
</tr>
{% else %}
<tr>
<td colspan="6">no records found</td>
</tr>
{% endfor %}
</tbody>
</table>
<a href="{{ path('app_company_new') }}">Create new</a>
{% endblock %}

View File

@ -0,0 +1,11 @@
{% extends 'base.html.twig' %}
{% block title %}New Company{% endblock %}
{% block body %}
<h1>Create new Company</h1>
{{ include('company/_form.html.twig') }}
<a href="{{ path('app_company_index') }}">back to list</a>
{% endblock %}

View File

@ -0,0 +1,38 @@
{% extends 'base.html.twig' %}
{% block title %}Company{% endblock %}
{% block body %}
<h1>Company</h1>
<table class="table">
<tbody>
<tr>
<th>Id</th>
<td>{{ company.id }}</td>
</tr>
<tr>
<th>Name</th>
<td>{{ company.name }}</td>
</tr>
<tr>
<th>Address</th>
<td>{{ company.address }}</td>
</tr>
<tr>
<th>Tel</th>
<td>{{ company.tel }}</td>
</tr>
<tr>
<th>Mail</th>
<td>{{ company.mail }}</td>
</tr>
</tbody>
</table>
<a href="{{ path('app_company_index') }}">back to list</a>
<a href="{{ path('app_company_edit', {'id': company.id}) }}">edit</a>
{{ include('company/_delete_form.html.twig') }}
{% endblock %}

View File

@ -0,0 +1,4 @@
<form method="post" action="{{ path('app_degree_delete', {'id': degree.id}) }}" onsubmit="return confirm('Are you sure you want to delete this item?');">
<input type="hidden" name="_token" value="{{ csrf_token('delete' ~ degree.id) }}">
<button class="btn">Delete</button>
</form>

View File

@ -0,0 +1,4 @@
{{ form_start(form) }}
{{ form_widget(form) }}
<button class="btn">{{ button_label|default('Save') }}</button>
{{ form_end(form) }}

View File

@ -0,0 +1,13 @@
{% extends 'base.html.twig' %}
{% block title %}Edit Degree{% endblock %}
{% block body %}
<h1>Edit Degree</h1>
{{ include('degree/_form.html.twig', {'button_label': 'Update'}) }}
<a href="{{ path('app_degree_index') }}">back to list</a>
{{ include('degree/_delete_form.html.twig') }}
{% endblock %}

View File

@ -0,0 +1,35 @@
{% extends 'base.html.twig' %}
{% block title %}Degree index{% endblock %}
{% block body %}
<h1>Degree index</h1>
<table class="table">
<thead>
<tr>
<th>Id</th>
<th>Label</th>
<th>actions</th>
</tr>
</thead>
<tbody>
{% for degree in degrees %}
<tr>
<td>{{ degree.id }}</td>
<td>{{ degree.label }}</td>
<td>
<a href="{{ path('app_degree_show', {'id': degree.id}) }}">show</a>
<a href="{{ path('app_degree_edit', {'id': degree.id}) }}">edit</a>
</td>
</tr>
{% else %}
<tr>
<td colspan="3">no records found</td>
</tr>
{% endfor %}
</tbody>
</table>
<a href="{{ path('app_degree_new') }}">Create new</a>
{% endblock %}

View File

@ -0,0 +1,11 @@
{% extends 'base.html.twig' %}
{% block title %}New Degree{% endblock %}
{% block body %}
<h1>Create new Degree</h1>
{{ include('degree/_form.html.twig') }}
<a href="{{ path('app_degree_index') }}">back to list</a>
{% endblock %}

View File

@ -0,0 +1,26 @@
{% extends 'base.html.twig' %}
{% block title %}Degree{% endblock %}
{% block body %}
<h1>Degree</h1>
<table class="table">
<tbody>
<tr>
<th>Id</th>
<td>{{ degree.id }}</td>
</tr>
<tr>
<th>Label</th>
<td>{{ degree.label }}</td>
</tr>
</tbody>
</table>
<a href="{{ path('app_degree_index') }}">back to list</a>
<a href="{{ path('app_degree_edit', {'id': degree.id}) }}">edit</a>
{{ include('degree/_delete_form.html.twig') }}
{% endblock %}

View File

@ -0,0 +1,4 @@
<form method="post" action="{{ path('app_employee_delete', {'id': employee.id}) }}" onsubmit="return confirm('Are you sure you want to delete this item?');">
<input type="hidden" name="_token" value="{{ csrf_token('delete' ~ employee.id) }}">
<button class="btn">Delete</button>
</form>

View File

@ -0,0 +1,4 @@
{{ form_start(form) }}
{{ form_widget(form) }}
<button class="btn">{{ button_label|default('Save') }}</button>
{{ form_end(form) }}

View File

@ -0,0 +1,13 @@
{% extends 'base.html.twig' %}
{% block title %}Edit Employee{% endblock %}
{% block body %}
<h1>Edit Employee</h1>
{{ include('employee/_form.html.twig', {'button_label': 'Update'}) }}
<a href="{{ path('app_employee_index') }}">back to list</a>
{{ include('employee/_delete_form.html.twig') }}
{% endblock %}

View File

@ -0,0 +1,49 @@
{% extends 'base.html.twig' %}
{% block title %}Employee index{% endblock %}
{% block body %}
<h1>Employee index</h1>
<table class="table">
<thead>
<tr>
<th>Id</th>
<th>Nickname</th>
<th>Roles</th>
<th>Password</th>
<th>FirstName</th>
<th>LastName</th>
<th>Tel</th>
<th>Address</th>
<th>Mail</th>
<th>actions</th>
</tr>
</thead>
<tbody>
{% for employee in employees %}
<tr>
<td>{{ employee.id }}</td>
<td>{{ employee.nickname }}</td>
<td>{{ employee.roles ? employee.roles|json_encode : '' }}</td>
<td>{{ employee.password }}</td>
<td>{{ employee.firstName }}</td>
<td>{{ employee.lastName }}</td>
<td>{{ employee.tel }}</td>
<td>{{ employee.address }}</td>
<td>{{ employee.mail }}</td>
<td>
<a href="{{ path('app_employee_show', {'id': employee.id}) }}">show</a>
<a href="{{ path('app_employee_edit', {'id': employee.id}) }}">edit</a>
</td>
</tr>
{% else %}
<tr>
<td colspan="10">no records found</td>
</tr>
{% endfor %}
</tbody>
</table>
<a href="{{ path('app_employee_new') }}">Create new</a>
{% endblock %}

View File

@ -0,0 +1,11 @@
{% extends 'base.html.twig' %}
{% block title %}New Employee{% endblock %}
{% block body %}
<h1>Create new Employee</h1>
{{ include('employee/_form.html.twig') }}
<a href="{{ path('app_employee_index') }}">back to list</a>
{% endblock %}

View File

@ -0,0 +1,54 @@
{% extends 'base.html.twig' %}
{% block title %}Employee{% endblock %}
{% block body %}
<h1>Employee</h1>
<table class="table">
<tbody>
<tr>
<th>Id</th>
<td>{{ employee.id }}</td>
</tr>
<tr>
<th>Nickname</th>
<td>{{ employee.nickname }}</td>
</tr>
<tr>
<th>Roles</th>
<td>{{ employee.roles ? employee.roles|json_encode : '' }}</td>
</tr>
<tr>
<th>Password</th>
<td>{{ employee.password }}</td>
</tr>
<tr>
<th>FirstName</th>
<td>{{ employee.firstName }}</td>
</tr>
<tr>
<th>LastName</th>
<td>{{ employee.lastName }}</td>
</tr>
<tr>
<th>Tel</th>
<td>{{ employee.tel }}</td>
</tr>
<tr>
<th>Address</th>
<td>{{ employee.address }}</td>
</tr>
<tr>
<th>Mail</th>
<td>{{ employee.mail }}</td>
</tr>
</tbody>
</table>
<a href="{{ path('app_employee_index') }}">back to list</a>
<a href="{{ path('app_employee_edit', {'id': employee.id}) }}">edit</a>
{{ include('employee/_delete_form.html.twig') }}
{% endblock %}

View File

@ -0,0 +1,4 @@
<form method="post" action="{{ path('app_faq_delete', {'id': faq.id}) }}" onsubmit="return confirm('Are you sure you want to delete this item?');">
<input type="hidden" name="_token" value="{{ csrf_token('delete' ~ faq.id) }}">
<button class="btn">Delete</button>
</form>

View File

@ -0,0 +1,4 @@
{{ form_start(form) }}
{{ form_widget(form) }}
<button class="btn">{{ button_label|default('Save') }}</button>
{{ form_end(form) }}

View File

@ -0,0 +1,13 @@
{% extends 'base.html.twig' %}
{% block title %}Edit FAQ{% endblock %}
{% block body %}
<h1>Edit FAQ</h1>
{{ include('faq/_form.html.twig', {'button_label': 'Update'}) }}
<a href="{{ path('app_faq_index') }}">back to list</a>
{{ include('faq/_delete_form.html.twig') }}
{% endblock %}

View File

@ -0,0 +1,39 @@
{% extends 'base.html.twig' %}
{% block title %}FAQ index{% endblock %}
{% block body %}
<h1>FAQ index</h1>
<table class="table">
<thead>
<tr>
<th>Id</th>
<th>Question</th>
<th>Answer</th>
<th>UpdateDate</th>
<th>actions</th>
</tr>
</thead>
<tbody>
{% for faq in faqs %}
<tr>
<td>{{ faq.id }}</td>
<td>{{ faq.question }}</td>
<td>{{ faq.answer }}</td>
<td>{{ faq.updateDate ? faq.updateDate|date('Y-m-d') : '' }}</td>
<td>
<a href="{{ path('app_faq_show', {'id': faq.id}) }}">show</a>
<a href="{{ path('app_faq_edit', {'id': faq.id}) }}">edit</a>
</td>
</tr>
{% else %}
<tr>
<td colspan="5">no records found</td>
</tr>
{% endfor %}
</tbody>
</table>
<a href="{{ path('app_faq_new') }}">Create new</a>
{% endblock %}

View File

@ -0,0 +1,11 @@
{% extends 'base.html.twig' %}
{% block title %}New FAQ{% endblock %}
{% block body %}
<h1>Create new FAQ</h1>
{{ include('faq/_form.html.twig') }}
<a href="{{ path('app_faq_index') }}">back to list</a>
{% endblock %}

View File

@ -0,0 +1,34 @@
{% extends 'base.html.twig' %}
{% block title %}FAQ{% endblock %}
{% block body %}
<h1>FAQ</h1>
<table class="table">
<tbody>
<tr>
<th>Id</th>
<td>{{ faq.id }}</td>
</tr>
<tr>
<th>Question</th>
<td>{{ faq.question }}</td>
</tr>
<tr>
<th>Answer</th>
<td>{{ faq.answer }}</td>
</tr>
<tr>
<th>UpdateDate</th>
<td>{{ faq.updateDate ? faq.updateDate|date('Y-m-d') : '' }}</td>
</tr>
</tbody>
</table>
<a href="{{ path('app_faq_index') }}">back to list</a>
<a href="{{ path('app_faq_edit', {'id': faq.id}) }}">edit</a>
{{ include('faq/_delete_form.html.twig') }}
{% endblock %}

View File

@ -0,0 +1,4 @@
<form method="post" action="{{ path('app_intern_delete', {'id': intern.id}) }}" onsubmit="return confirm('Are you sure you want to delete this item?');">
<input type="hidden" name="_token" value="{{ csrf_token('delete' ~ intern.id) }}">
<button class="btn">Delete</button>
</form>

View File

@ -0,0 +1,4 @@
{{ form_start(form) }}
{{ form_widget(form) }}
<button class="btn">{{ button_label|default('Save') }}</button>
{{ form_end(form) }}

View File

@ -0,0 +1,13 @@
{% extends 'base.html.twig' %}
{% block title %}Edit Intern{% endblock %}
{% block body %}
<h1>Edit Intern</h1>
{{ include('intern/_form.html.twig', {'button_label': 'Update'}) }}
<a href="{{ path('app_intern_index') }}">back to list</a>
{{ include('intern/_delete_form.html.twig') }}
{% endblock %}

View File

@ -0,0 +1,53 @@
{% extends 'base.html.twig' %}
{% block title %}Intern index{% endblock %}
{% block body %}
<h1>Intern index</h1>
<table class="table">
<thead>
<tr>
<th>Id</th>
<th>Nickname</th>
<th>Roles</th>
<th>Password</th>
<th>FirstName</th>
<th>LastName</th>
<th>Tel</th>
<th>Address</th>
<th>Mail</th>
<th>CoverLetter</th>
<th>Resume</th>
<th>actions</th>
</tr>
</thead>
<tbody>
{% for intern in interns %}
<tr>
<td>{{ intern.id }}</td>
<td>{{ intern.nickname }}</td>
<td>{{ intern.roles ? intern.roles|json_encode : '' }}</td>
<td>{{ intern.password }}</td>
<td>{{ intern.firstName }}</td>
<td>{{ intern.lastName }}</td>
<td>{{ intern.tel }}</td>
<td>{{ intern.address }}</td>
<td>{{ intern.mail }}</td>
<td>{{ intern.coverLetter }}</td>
<td>{{ intern.resume }}</td>
<td>
<a href="{{ path('app_intern_show', {'id': intern.id}) }}">show</a>
<a href="{{ path('app_intern_edit', {'id': intern.id}) }}">edit</a>
</td>
</tr>
{% else %}
<tr>
<td colspan="12">no records found</td>
</tr>
{% endfor %}
</tbody>
</table>
<a href="{{ path('app_intern_new') }}">Create new</a>
{% endblock %}

View File

@ -0,0 +1,11 @@
{% extends 'base.html.twig' %}
{% block title %}New Intern{% endblock %}
{% block body %}
<h1>Create new Intern</h1>
{{ include('intern/_form.html.twig') }}
<a href="{{ path('app_intern_index') }}">back to list</a>
{% endblock %}

View File

@ -0,0 +1,62 @@
{% extends 'base.html.twig' %}
{% block title %}Intern{% endblock %}
{% block body %}
<h1>Intern</h1>
<table class="table">
<tbody>
<tr>
<th>Id</th>
<td>{{ intern.id }}</td>
</tr>
<tr>
<th>Nickname</th>
<td>{{ intern.nickname }}</td>
</tr>
<tr>
<th>Roles</th>
<td>{{ intern.roles ? intern.roles|json_encode : '' }}</td>
</tr>
<tr>
<th>Password</th>
<td>{{ intern.password }}</td>
</tr>
<tr>
<th>FirstName</th>
<td>{{ intern.firstName }}</td>
</tr>
<tr>
<th>LastName</th>
<td>{{ intern.lastName }}</td>
</tr>
<tr>
<th>Tel</th>
<td>{{ intern.tel }}</td>
</tr>
<tr>
<th>Address</th>
<td>{{ intern.address }}</td>
</tr>
<tr>
<th>Mail</th>
<td>{{ intern.mail }}</td>
</tr>
<tr>
<th>CoverLetter</th>
<td>{{ intern.coverLetter }}</td>
</tr>
<tr>
<th>Resume</th>
<td>{{ intern.resume }}</td>
</tr>
</tbody>
</table>
<a href="{{ path('app_intern_index') }}">back to list</a>
<a href="{{ path('app_intern_edit', {'id': intern.id}) }}">edit</a>
{{ include('intern/_delete_form.html.twig') }}
{% endblock %}

View File

@ -0,0 +1,4 @@
<form method="post" action="{{ path('app_message_delete', {'id': message.id}) }}" onsubmit="return confirm('Are you sure you want to delete this item?');">
<input type="hidden" name="_token" value="{{ csrf_token('delete' ~ message.id) }}">
<button class="btn">Delete</button>
</form>

View File

@ -0,0 +1,4 @@
{{ form_start(form) }}
{{ form_widget(form) }}
<button class="btn">{{ button_label|default('Save') }}</button>
{{ form_end(form) }}

View File

@ -0,0 +1,13 @@
{% extends 'base.html.twig' %}
{% block title %}Edit Message{% endblock %}
{% block body %}
<h1>Edit Message</h1>
{{ include('message/_form.html.twig', {'button_label': 'Update'}) }}
<a href="{{ path('app_message_index') }}">back to list</a>
{{ include('message/_delete_form.html.twig') }}
{% endblock %}

View File

@ -0,0 +1,37 @@
{% extends 'base.html.twig' %}
{% block title %}Message index{% endblock %}
{% block body %}
<h1>Message index</h1>
<table class="table">
<thead>
<tr>
<th>Id</th>
<th>Content</th>
<th>SendingDate</th>
<th>actions</th>
</tr>
</thead>
<tbody>
{% for message in messages %}
<tr>
<td>{{ message.id }}</td>
<td>{{ message.content }}</td>
<td>{{ message.sendingDate ? message.sendingDate|date('Y-m-d H:i:s') : '' }}</td>
<td>
<a href="{{ path('app_message_show', {'id': message.id}) }}">show</a>
<a href="{{ path('app_message_edit', {'id': message.id}) }}">edit</a>
</td>
</tr>
{% else %}
<tr>
<td colspan="4">no records found</td>
</tr>
{% endfor %}
</tbody>
</table>
<a href="{{ path('app_message_new') }}">Create new</a>
{% endblock %}

View File

@ -0,0 +1,11 @@
{% extends 'base.html.twig' %}
{% block title %}New Message{% endblock %}
{% block body %}
<h1>Create new Message</h1>
{{ include('message/_form.html.twig') }}
<a href="{{ path('app_message_index') }}">back to list</a>
{% endblock %}

View File

@ -0,0 +1,30 @@
{% extends 'base.html.twig' %}
{% block title %}Message{% endblock %}
{% block body %}
<h1>Message</h1>
<table class="table">
<tbody>
<tr>
<th>Id</th>
<td>{{ message.id }}</td>
</tr>
<tr>
<th>Content</th>
<td>{{ message.content }}</td>
</tr>
<tr>
<th>SendingDate</th>
<td>{{ message.sendingDate ? message.sendingDate|date('Y-m-d H:i:s') : '' }}</td>
</tr>
</tbody>
</table>
<a href="{{ path('app_message_index') }}">back to list</a>
<a href="{{ path('app_message_edit', {'id': message.id}) }}">edit</a>
{{ include('message/_delete_form.html.twig') }}
{% endblock %}

View File

@ -0,0 +1,4 @@
<form method="post" action="{{ path('app_skill_delete', {'id': skill.id}) }}" onsubmit="return confirm('Are you sure you want to delete this item?');">
<input type="hidden" name="_token" value="{{ csrf_token('delete' ~ skill.id) }}">
<button class="btn">Delete</button>
</form>

View File

@ -0,0 +1,4 @@
{{ form_start(form) }}
{{ form_widget(form) }}
<button class="btn">{{ button_label|default('Save') }}</button>
{{ form_end(form) }}

View File

@ -0,0 +1,13 @@
{% extends 'base.html.twig' %}
{% block title %}Edit Skill{% endblock %}
{% block body %}
<h1>Edit Skill</h1>
{{ include('skill/_form.html.twig', {'button_label': 'Update'}) }}
<a href="{{ path('app_skill_index') }}">back to list</a>
{{ include('skill/_delete_form.html.twig') }}
{% endblock %}

View File

@ -0,0 +1,35 @@
{% extends 'base.html.twig' %}
{% block title %}Skill index{% endblock %}
{% block body %}
<h1>Skill index</h1>
<table class="table">
<thead>
<tr>
<th>Id</th>
<th>Label</th>
<th>actions</th>
</tr>
</thead>
<tbody>
{% for skill in skills %}
<tr>
<td>{{ skill.id }}</td>
<td>{{ skill.label }}</td>
<td>
<a href="{{ path('app_skill_show', {'id': skill.id}) }}">show</a>
<a href="{{ path('app_skill_edit', {'id': skill.id}) }}">edit</a>
</td>
</tr>
{% else %}
<tr>
<td colspan="3">no records found</td>
</tr>
{% endfor %}
</tbody>
</table>
<a href="{{ path('app_skill_new') }}">Create new</a>
{% endblock %}

View File

@ -0,0 +1,11 @@
{% extends 'base.html.twig' %}
{% block title %}New Skill{% endblock %}
{% block body %}
<h1>Create new Skill</h1>
{{ include('skill/_form.html.twig') }}
<a href="{{ path('app_skill_index') }}">back to list</a>
{% endblock %}

View File

@ -0,0 +1,26 @@
{% extends 'base.html.twig' %}
{% block title %}Skill{% endblock %}
{% block body %}
<h1>Skill</h1>
<table class="table">
<tbody>
<tr>
<th>Id</th>
<td>{{ skill.id }}</td>
</tr>
<tr>
<th>Label</th>
<td>{{ skill.label }}</td>
</tr>
</tbody>
</table>
<a href="{{ path('app_skill_index') }}">back to list</a>
<a href="{{ path('app_skill_edit', {'id': skill.id}) }}">edit</a>
{{ include('skill/_delete_form.html.twig') }}
{% endblock %}

View File

@ -0,0 +1,4 @@
<form method="post" action="{{ path('app_user_app_delete', {'id': user_app.id}) }}" onsubmit="return confirm('Are you sure you want to delete this item?');">
<input type="hidden" name="_token" value="{{ csrf_token('delete' ~ user_app.id) }}">
<button class="btn">Delete</button>
</form>

View File

@ -0,0 +1,4 @@
{{ form_start(form) }}
{{ form_widget(form) }}
<button class="btn">{{ button_label|default('Save') }}</button>
{{ form_end(form) }}

View File

@ -0,0 +1,13 @@
{% extends 'base.html.twig' %}
{% block title %}Edit UserApp{% endblock %}
{% block body %}
<h1>Edit UserApp</h1>
{{ include('user_app/_form.html.twig', {'button_label': 'Update'}) }}
<a href="{{ path('app_user_app_index') }}">back to list</a>
{{ include('user_app/_delete_form.html.twig') }}
{% endblock %}

View File

@ -0,0 +1,49 @@
{% extends 'base.html.twig' %}
{% block title %}UserApp index{% endblock %}
{% block body %}
<h1>UserApp index</h1>
<table class="table">
<thead>
<tr>
<th>Id</th>
<th>Nickname</th>
<th>Roles</th>
<th>Password</th>
<th>FirstName</th>
<th>LastName</th>
<th>Tel</th>
<th>Address</th>
<th>Mail</th>
<th>actions</th>
</tr>
</thead>
<tbody>
{% for user_app in user_apps %}
<tr>
<td>{{ user_app.id }}</td>
<td>{{ user_app.nickname }}</td>
<td>{{ user_app.roles ? user_app.roles|json_encode : '' }}</td>
<td>{{ user_app.password }}</td>
<td>{{ user_app.firstName }}</td>
<td>{{ user_app.lastName }}</td>
<td>{{ user_app.tel }}</td>
<td>{{ user_app.address }}</td>
<td>{{ user_app.mail }}</td>
<td>
<a href="{{ path('app_user_app_show', {'id': user_app.id}) }}">show</a>
<a href="{{ path('app_user_app_edit', {'id': user_app.id}) }}">edit</a>
</td>
</tr>
{% else %}
<tr>
<td colspan="10">no records found</td>
</tr>
{% endfor %}
</tbody>
</table>
<a href="{{ path('app_user_app_new') }}">Create new</a>
{% endblock %}

View File

@ -0,0 +1,11 @@
{% extends 'base.html.twig' %}
{% block title %}New UserApp{% endblock %}
{% block body %}
<h1>Create new UserApp</h1>
{{ include('user_app/_form.html.twig') }}
<a href="{{ path('app_user_app_index') }}">back to list</a>
{% endblock %}

View File

@ -0,0 +1,54 @@
{% extends 'base.html.twig' %}
{% block title %}UserApp{% endblock %}
{% block body %}
<h1>UserApp</h1>
<table class="table">
<tbody>
<tr>
<th>Id</th>
<td>{{ user_app.id }}</td>
</tr>
<tr>
<th>Nickname</th>
<td>{{ user_app.nickname }}</td>
</tr>
<tr>
<th>Roles</th>
<td>{{ user_app.roles ? user_app.roles|json_encode : '' }}</td>
</tr>
<tr>
<th>Password</th>
<td>{{ user_app.password }}</td>
</tr>
<tr>
<th>FirstName</th>
<td>{{ user_app.firstName }}</td>
</tr>
<tr>
<th>LastName</th>
<td>{{ user_app.lastName }}</td>
</tr>
<tr>
<th>Tel</th>
<td>{{ user_app.tel }}</td>
</tr>
<tr>
<th>Address</th>
<td>{{ user_app.address }}</td>
</tr>
<tr>
<th>Mail</th>
<td>{{ user_app.mail }}</td>
</tr>
</tbody>
</table>
<a href="{{ path('app_user_app_index') }}">back to list</a>
<a href="{{ path('app_user_app_edit', {'id': user_app.id}) }}">edit</a>
{{ include('user_app/_delete_form.html.twig') }}
{% endblock %}