mirror of
https://github.com/flextype/flextype.git
synced 2025-08-28 15:29:59 +02:00
- Fieldsets Controller/Views implementation
This commit is contained in:
@@ -1,5 +1,22 @@
|
||||
{% extends "plugins/admin/views/partials/base.html" %}
|
||||
|
||||
{% block content %}
|
||||
index
|
||||
<form method="post" id="form">
|
||||
{{ csrf() }}
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="title">{{ tr('admin_title') }}</label>
|
||||
<input type="text" id="fieldsetTitle" name="title" value="" class="form-control" required="required" data-validation="length required" data-validation-length="min1" data-validation-error-msg="{{ tr('admin_error_title_empty_input') }}">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="slug">{{ tr('admin_name') }}</label>
|
||||
<input type="text" id="fieldsetName" name="name" 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">
|
||||
<input type="submit" id="createFieldset" name="create_fieldset" value="{{ tr('admin_create') }}" class="btn btn-black">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user