mirror of
https://github.com/flextype/flextype.git
synced 2025-08-15 09:34:14 +02:00
- Entries Controller/Views implementation
This commit is contained in:
24
site/plugins/admin/views/templates/content/entries/type.html
Normal file
24
site/plugins/admin/views/templates/content/entries/type.html
Normal 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 %}
|
Reference in New Issue
Block a user