vendor/elcoag/symfony-process-bundle/src/Resources/views/crud/show.html.twig line 1
{% extends 'base.html.twig' %}
{% block title %}{{ title|trans }} - {{ subtitle|trans }}{% endblock %}
{% block page_title %}{{ title|trans }}{% endblock %}
{% block page_subtitle %}{{ subtitle|trans }}{% endblock %}
{% block page_content %}
<div class="row">
{% if app.session.flashbag.peekAll|length > 0 %}
<div class="col-md-12">
{% for type, messages in app.session.flashbag.all %}
{% for message in messages %}
<div class="alert alert-{{ type ? type : 'info' }}">
{{ message|trans({}, domain|default('messages')) }}
</div>
{% endfor %}
{% endfor %}
</div>
{% endif %}
<div class="col-md-12">
<div class="card card-info">
<div class="card-body">
<div class="row">
<div class="col-md-12">
<a class="btn btn-default float-left" href="{{ path(app_index) }}">Back to list</a>
<div class="float-right ml-1">{{ include('@SymfonyProcess/crud/_delete_form.html.twig') }}</div>
<a class="btn btn-primary float-right" href="{{ path(app_edit, {'id': item.id}) }}">edit</a>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-12">
<div class="card card-info">
<div class="card-header">
<h3 class="card-title">{{ object_title }}</h3>
</div>
<div class="card-body">
<div class="row">
<div class="col-md-12 p-0">
<table class="table table-bordered table-hover dataTable m-0">
<tbody>
<tr>
<th>Id</th>
<td>{{ item.id }}</td>
</tr>
<tr>
<th>Name</th>
<td>{{ item.name }}</td>
</tr>
<tr>
<th>Created at</th>
<td>{{ item.createdAt|date('Y-m-d H-i-s') }}</td>
</tr>
<tr>
<th>Updated at</th>
<td>{{ item.updatedAt|date('Y-m-d H-i-s') }}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
{% endblock %}