initial commit
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
{% form_theme form 'bootstrap_5_layout.html.twig' %}
|
||||
|
||||
{% block body %}
|
||||
{% if state %}
|
||||
{% if state.success %}
|
||||
<div class="alert alert-success">
|
||||
Poprawnie dodano nowego klienta!
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
<div class="row row-cols-3 align-items-center">
|
||||
<div class="card text-center bg-light-subtle">
|
||||
{{ form(form) }}
|
||||
</div>
|
||||
{% if isEdit %}
|
||||
<div class="card text-center bg-light-subtle">
|
||||
<div class="card-header">
|
||||
Termin pierwszego sprawozdania
|
||||
</div>
|
||||
<div class="card-body">
|
||||
|
||||
<form action="{{ path('app_edit_first_report') }}" method="post">
|
||||
<input type="hidden" name="clientId" value="{{ client.id }}">
|
||||
<input type="hidden" name="token" value="{{ csrf_token('edit-first-report') }}">
|
||||
<input type="date" name="newDate" class="form-control">
|
||||
<button type="submit" class="btn btn-primary">Ustaw termin pierwszego sprawozdania</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user