chore: initial import for test contour with k3s CI
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
<form method="post" action="{{ path('widget_form_input_delete', {'id': widget_form_input.id, 'formId': form_id}) }}" onsubmit="return confirm('Are you sure you want to delete this item?');">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token('delete' ~ widget_form_input.id) }}">
|
||||
<button class="btn">Delete</button>
|
||||
</form>
|
||||
@@ -0,0 +1,6 @@
|
||||
{% form_theme form 'bootstrap_4_layout.html.twig' %}
|
||||
{{ form_start(form) }}
|
||||
{{ form_widget(form) }}
|
||||
<button class="btn btn-primary">{{ button_label|default('Save') }}</button>
|
||||
|
||||
{{ form_end(form) }}
|
||||
@@ -0,0 +1,13 @@
|
||||
{% extends 'admin_base.html.twig' %}
|
||||
|
||||
{% block title %}Edit WidgetFormInput{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<h1>Edit WidgetFormInput</h1>
|
||||
|
||||
{{ include('widget_form_input/_form.html.twig', {'button_label': 'Update'}) }}
|
||||
|
||||
<a href="{{ path('widget_form_editor', {'id': widget_form_input.widgetForm.id}) }}">back to list</a>
|
||||
|
||||
{{ include('widget_form_input/_delete_form.html.twig', {'id': widget_form_input.id, 'form_id': widget_form_input.widgetForm.id}) }}
|
||||
{% endblock %}
|
||||
@@ -0,0 +1,11 @@
|
||||
{% extends 'admin_base.html.twig' %}
|
||||
|
||||
{% block title %}New WidgetFormInput{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<h1>Create new WidgetFormInput</h1>
|
||||
|
||||
{{ include('widget_form_input/_form.html.twig') }}
|
||||
|
||||
<a href="{{ path('widget_form_input_index') }}">back to list</a>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user