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

Flextype Box Plugin: Admin #125 #117

- Entries Controller/Views implementation
This commit is contained in:
Awilum
2019-05-16 12:32:45 +03:00
parent 60cf84c08b
commit 6d6a8e0eed

View File

@@ -0,0 +1,24 @@
{% extends "plugins/admin/views/partials/base.html" %}
{% block content %}
<div class="row">
<div class="col-md-6">
<form method="post" id="form">
<input type="hidden" name="{{csrf.keys.name}}" value="{{csrf.name}}">
<input type="hidden" name="{{csrf.keys.value}}" value="{{csrf.value}}">
<input type="hidden" name="entry" value="{{entry}}">
<div class="form-group">
<label for="title">{{ tr('admin_type') }}</label>
<select class="form-control" name="fieldset">
{% for key, value in fieldsets %}
<option value="{{ key }}" {% if key == fieldset %}selected{% endif %}>{{ value }}</option>
{% endfor %}
</select>
</div>
<div class="form-group">
<input type="submit" id="typeEntry" name="type_entry" value="{{ tr('admin_save') }}" class="btn btn-black btn-fill btn-wd">
</div>
</form>
</div>
</div>
{% endblock %}