mirror of
https://github.com/flextype/flextype.git
synced 2025-08-29 07:50:29 +02:00
- Templates Controller/Views implementation
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
{% extends "plugins/admin/views/partials/base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<form method="post" id="form">
|
||||
{{ csrf() }}
|
||||
<input type="hidden" name="id_current" value="{{ id_current }}">
|
||||
<input type="hidden" name="type_current" value="{{ type_current }}">
|
||||
<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="{{ id_current }}" 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">
|
||||
<input type="submit" id="renameTemplate" name="rename_template" value="{{ tr('admin_save') }}" class="btn btn-black">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user