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