first commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
{# app/Views/macros/forms.twig #}
|
||||
{% macro form_open(action, attributes = '') %}
|
||||
<form action="{{ action }}" method="post" {{ attributes|raw }}>
|
||||
{# Выводим глобальную переменную csrf_token #}
|
||||
{{ csrf_field()|raw }}
|
||||
{% endmacro %}
|
||||
|
||||
{% macro form_close() %}
|
||||
</form>
|
||||
{% endmacro %}
|
||||
Reference in New Issue
Block a user