1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-29 16:00:15 +02:00

Flextype Box Plugin: Admin #125 #117

- Templates Controller/Views implementation
This commit is contained in:
Awilum
2019-05-28 12:44:15 +03:00
parent 4011f8ffad
commit cd03c6f0b2

View File

@@ -0,0 +1,25 @@
{% extends "plugins/admin/views/partials/base.html" %}
{% block content %}
<form method="post" id="form">
{{ csrf() }}
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="id">{{ tr('admin_name') }}</label>
<input type="text" id="id" name="id" value="" class="form-control" required="required" data-validation="length required" data-validation-length="min1" data-validation-error-msg="{{ tr('admin_error_name_empty_input') }}">
</div>
<div class="form-group">
<label for="type">{{ tr('admin_type') }}</label>
<select class="form-control" name="type">
<option value="partial">{{ tr('admin_partial') }}</option>
<option value="template">{{ tr('admin_template') }}</option>
</select>
</div>
<div class="form-group">
<input type="submit" id="createTemplate" name="create_template" value="{{ tr('admin_create') }}" class="btn btn-black">
</div>
</div>
</div>
</form>
{% endblock %}