2021-01-31 20:26:24 +01:00
|
|
|
{% extends './v1/layout/default' %}
|
2016-01-13 18:34:56 +01:00
|
|
|
|
|
|
|
|
{% block breadcrumbs %}
|
2017-12-23 20:46:52 +01:00
|
|
|
{{ Breadcrumbs.render(Route.getCurrentRoute.getName) }}
|
2016-01-13 18:34:56 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block content %}
|
2016-12-06 08:59:08 +01:00
|
|
|
<form method="POST" action="{{ route('rule-groups.store') }}" accept-charset="UTF-8" class="form-horizontal" id="store">
|
2016-08-27 09:38:58 +02:00
|
|
|
<input name="_token" type="hidden" value="{{ csrf_token() }}">
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-lg-6 col-md-6 col-sm-12">
|
|
|
|
|
<div class="box box-primary">
|
|
|
|
|
<div class="box-header with-border">
|
|
|
|
|
<h3 class="box-title">{{ 'mandatoryFields'|_ }}</h3>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box-body">
|
|
|
|
|
{{ ExpandedForm.text('title') }}
|
|
|
|
|
</div>
|
2016-01-13 18:34:56 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-08-27 09:38:58 +02:00
|
|
|
<div class="col-lg-6 col-md-6 col-sm-12">
|
|
|
|
|
|
2018-01-12 18:42:48 +01:00
|
|
|
{# optional fields #}
|
2016-08-27 09:38:58 +02:00
|
|
|
<div class="box">
|
|
|
|
|
<div class="box-header with-border">
|
|
|
|
|
<h3 class="box-title">{{ 'optionalFields'|_ }}</h3>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box-body">
|
|
|
|
|
{{ ExpandedForm.textarea('description') }}
|
|
|
|
|
</div>
|
2016-01-13 18:34:56 +01:00
|
|
|
</div>
|
2020-03-13 20:56:26 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
|
2018-01-12 18:42:48 +01:00
|
|
|
{# panel for options #}
|
2016-08-27 09:38:58 +02:00
|
|
|
<div class="box">
|
|
|
|
|
<div class="box-header with-border">
|
|
|
|
|
<h3 class="box-title">{{ 'options'|_ }}</h3>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box-body">
|
|
|
|
|
{{ ExpandedForm.optionsList('create','rule-group') }}
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box-footer">
|
|
|
|
|
<button type="submit" class="btn pull-right btn-success">{{ 'store_new_rule_group'|_ }}</button>
|
|
|
|
|
</div>
|
2016-01-13 18:34:56 +01:00
|
|
|
</div>
|
2016-08-27 09:38:58 +02:00
|
|
|
|
2016-01-13 18:34:56 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
2016-08-27 09:38:58 +02:00
|
|
|
</form>
|
2016-01-13 18:34:56 +01:00
|
|
|
{% endblock %}
|
2018-12-22 06:21:06 +01:00
|
|
|
{% block scripts %}
|
2020-01-04 11:16:14 +01:00
|
|
|
<script type="text/javascript" src="v1/js/ff/rule-groups/create.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
|
2019-01-01 15:43:03 +01:00
|
|
|
{% endblock %}
|