Changed directory structure of forms/inputs slightly
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
{% extends "@admin/forms/group.html.twig" %}
|
{% extends "@admin/forms/group.html.twig" %}
|
||||||
|
|
||||||
{% block group_form %}
|
{% block group_form %}
|
||||||
{% include "forms/partials/input-group-name.html.twig" with { 'col_width': 'col-sm-12' } %}
|
{% include "forms/inputs/group-name.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||||
|
|
||||||
{% include "forms/partials/input-group-slug.html.twig" with { 'col_width': 'col-sm-12' } %}
|
{% include "forms/inputs/group-slug.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||||
|
|
||||||
{% include "forms/partials/input-group-icon.html.twig" with { 'col_width': 'col-sm-12' } %}
|
{% include "forms/inputs/group-icon.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||||
|
|
||||||
{% include "forms/partials/input-group-description.html.twig" with { 'col_width': 'col-sm-12' } %}
|
{% include "forms/inputs/group-description.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{% block input_group_description %}
|
{% block input_group_description %}
|
||||||
{% include "forms/partials/abstract/input-description.html.twig" with
|
{% include "forms/inputs/abstract/description.html.twig" with
|
||||||
{
|
{
|
||||||
"type" : "group",
|
"type" : "group",
|
||||||
"current_value" : group.description,
|
"current_value" : group.description,
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{% block input_group_icon %}
|
{% block input_group_icon %}
|
||||||
{% include "forms/partials/abstract/input-icon.html.twig" with
|
{% include "forms/inputs/abstract/icon.html.twig" with
|
||||||
{
|
{
|
||||||
"type" : "group",
|
"type" : "group",
|
||||||
"current_value" : group.icon,
|
"current_value" : group.icon,
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{% block input_group_name %}
|
{% block input_group_name %}
|
||||||
{% include "forms/partials/abstract/input-name.html.twig" with
|
{% include "forms/inputs/abstract/name.html.twig" with
|
||||||
{
|
{
|
||||||
"type" : "group",
|
"type" : "group",
|
||||||
"current_value" : group.name,
|
"current_value" : group.name,
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{% block input_group_slug %}
|
{% block input_group_slug %}
|
||||||
{% include "forms/partials/abstract/input-slug.html.twig" with
|
{% include "forms/inputs/abstract/slug.html.twig" with
|
||||||
{
|
{
|
||||||
"type" : "group",
|
"type" : "group",
|
||||||
"current_value" : group.slug,
|
"current_value" : group.slug,
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{% block input_role_description %}
|
{% block input_role_description %}
|
||||||
{% include "forms/partials/abstract/input-description.html.twig" with
|
{% include "forms/inputs/abstract/description.html.twig" with
|
||||||
{
|
{
|
||||||
"type" : "role",
|
"type" : "role",
|
||||||
"current_value" : role.description,
|
"current_value" : role.description,
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{% block input_role_name %}
|
{% block input_role_name %}
|
||||||
{% include "forms/partials/abstract/input-name.html.twig" with
|
{% include "forms/inputs/abstract/name.html.twig" with
|
||||||
{
|
{
|
||||||
"type" : "role",
|
"type" : "role",
|
||||||
"current_value" : role.name,
|
"current_value" : role.name,
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{% block input_role_slug %}
|
{% block input_role_slug %}
|
||||||
{% include "forms/partials/abstract/input-slug.html.twig" with
|
{% include "forms/inputs/abstract/slug.html.twig" with
|
||||||
{
|
{
|
||||||
"type" : "role",
|
"type" : "role",
|
||||||
"current_value" : role.slug,
|
"current_value" : role.slug,
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
{% if 'name' not in form.fields.hidden %}
|
{% if 'name' not in form.fields.hidden %}
|
||||||
{% if col_width %}<div class="{{col_width}}">{% endif %}
|
{% if col_width %}<div class="{{col_width}}">{% endif %}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
{% include "forms/partials/input-user-first_name.html.twig" with { 'col_width': 'col-sm-6' } %}
|
{% include "forms/inputs/user-first_name.html.twig" with { 'col_width': 'col-sm-6' } %}
|
||||||
{% include "forms/partials/input-user-last_name.html.twig" with { 'col_width': 'col-sm-6' } %}
|
{% include "forms/inputs/user-last_name.html.twig" with { 'col_width': 'col-sm-6' } %}
|
||||||
</div>
|
</div>
|
||||||
{% if col_width %}</div>{% endif %}
|
{% if col_width %}</div>{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -4,11 +4,11 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
{% block role_form %}
|
{% block role_form %}
|
||||||
{% include "forms/partials/input-role-name.html.twig" with { 'col_width': 'col-sm-12' } %}
|
{% include "forms/inputs/role-name.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||||
|
|
||||||
{% include "forms/partials/input-role-slug.html.twig" with { 'col_width': 'col-sm-12' } %}
|
{% include "forms/inputs/role-slug.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||||
|
|
||||||
{% include "forms/partials/input-role-description.html.twig" with { 'col_width': 'col-sm-12' } %}
|
{% include "forms/inputs/role-description.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</div><br>
|
</div><br>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|||||||
@@ -10,11 +10,11 @@
|
|||||||
|
|
||||||
{% block settings_account %}
|
{% block settings_account %}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
{% include "forms/partials/input-user-email.html.twig" with { 'col_width': 'col-sm-12' } %}
|
{% include "forms/inputs/user-email.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
{% include "forms/partials/input-user-new_password.html.twig" with { 'col_width': 'col-sm-12' } %}
|
{% include "forms/inputs/user-new_password.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if 'password' not in form.fields.hidden %}
|
{% if 'password' not in form.fields.hidden %}
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
{% include "forms/partials/input-user-current_password.html.twig" with { 'col_width': 'col-sm-12' } %}
|
{% include "forms/inputs/user-current_password.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -7,11 +7,11 @@
|
|||||||
|
|
||||||
{% block settings_profile %}
|
{% block settings_profile %}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
{% include "forms/partials/input-user-name.html.twig" with { 'col_width': 'col-sm-12' } %}
|
{% include "forms/inputs/user-name.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
{% include "forms/partials/input-user-locale.html.twig" with { 'col_width': 'col-sm-12' } %}
|
{% include "forms/inputs/user-locale.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
{% extends "@admin/forms/user.html.twig" %}
|
{% extends "@admin/forms/user.html.twig" %}
|
||||||
|
|
||||||
{% block user_form %}
|
{% block user_form %}
|
||||||
{% include "forms/partials/input-user-user_name.html.twig" with { 'col_width': 'col-sm-6' } %}
|
{% include "forms/inputs/user-user_name.html.twig" with { 'col_width': 'col-sm-6' } %}
|
||||||
|
|
||||||
{% include "forms/partials/input-user-group.html.twig" with { 'col_width': 'col-sm-6' } %}
|
{% include "forms/inputs/user-group.html.twig" with { 'col_width': 'col-sm-6' } %}
|
||||||
|
|
||||||
{% include "forms/partials/input-user-name.html.twig" with { 'col_width': 'col-sm-12' } %}
|
{% include "forms/inputs/user-name.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||||
|
|
||||||
{% include "forms/partials/input-user-email.html.twig" with { 'col_width': 'col-sm-6' } %}
|
{% include "forms/inputs/user-email.html.twig" with { 'col_width': 'col-sm-6' } %}
|
||||||
|
|
||||||
{% include "forms/partials/input-user-theme.html.twig" with { 'col_width': 'col-sm-6' } %}
|
{% include "forms/inputs/user-theme.html.twig" with { 'col_width': 'col-sm-6' } %}
|
||||||
|
|
||||||
{% include "forms/partials/input-user-locale.html.twig" with { 'col_width': 'col-sm-6' } %}
|
{% include "forms/inputs/user-locale.html.twig" with { 'col_width': 'col-sm-6' } %}
|
||||||
|
|
||||||
{% if 'password' not in form.fields.hidden %}
|
{% if 'password' not in form.fields.hidden %}
|
||||||
{% include "forms/partials/user-set-password.html.twig" %}
|
{% include "forms/partials/user-set-password.html.twig" %}
|
||||||
|
|||||||
Reference in New Issue
Block a user