КОНТРОЛЫ/users.md
Исходный код
Twig код
{% for key, field in items %}
<div class="widget_settings_block__input_field">
<div class='widget_settings_block_{{ elem }}'>
<div class='widget_settings_block_{{ elem }}__title_field widget_settings_block__title_field'>{{ field.username }}</div>
{% if type == 'users_lp' %}
{% include "interface/controls/input.twig" with {
placeholder: lang.sip_user,
class_name: class_name ~ ' widget_settings_block__controls__' ~ elem,
value: value[key].login,
name: field.name ~ '[login]',
id: 'login_' ~ field.id,
type: field.type
} %}
{% include "interface/controls/input.twig" with {
placeholder: lang.password,
class_name: class_name ~ ' widget_settings_block__controls__' ~ elem,
value: value[key].password,
name: field.name ~ '[password]',
id: 'password_' ~ field.id,
type: 'password'
} %}
{% elseif type == 'users' %}
{% include "interface/controls/input.twig" with {
class_name: class_name ~ 'widget_settings_block__controls__' ~ elem,
value: value[key],
name: field.name,
id: field.id,
type: type,
placeholder: field.title
} %}
{% endif %}
</div>
</div>
{% endfor %}
Ссылка на вики репозиторий
- Страницы
- add_button
- budget
- button
- cancel_button
- chained_list
- checkbox
- checkboxes_dropdown
- checkboxes_dropdown_single
- checkboxes_string
- color_picker
- contenteditable
- date_field
- date_filter
- date_time_field
- deadline_select
- delete_button
- drive_field
- feed_note_main_buttons
- file
- input
- legal_entity
- line_toggler
- multiselect
- payer
- phone
- pipeline_toggler
- radio
- responsive_toggler
- select
- select_with_subtext
- smart_address
- status_chat
- suggest
- supplier
- switcher
- tags
- textarea
- textarea_code
- time
- time_field
- toggler
- updater
- users
- wysiwyg
Ссылка на вики репозиторий
- add_button
- budget
- button
- cancel_button
- chained_list
- checkbox
- checkboxes_dropdown
- checkboxes_dropdown_single
- checkboxes_string
- color_picker
- contenteditable
- date_field
- date_filter
- date_time_field
- deadline_select
- delete_button
- drive_field
- feed_note_main_buttons
- file
- input
- legal_entity
- line_toggler
- multiselect
- payer
- phone
- pipeline_toggler
- radio
- responsive_toggler
- select
- select_with_subtext
- smart_address
- status_chat
- suggest
- supplier
- switcher
- tags
- textarea
- textarea_code
- time
- time_field
- toggler
- updater
- users
- wysiwyg