mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
dashboard editor
This commit is contained in:
@@ -138,3 +138,4 @@
|
||||
</button>
|
||||
</div>
|
||||
{%- endblock oql_form_row -%}
|
||||
|
||||
|
||||
@@ -16,6 +16,6 @@
|
||||
{% if current_form %}
|
||||
{% UITurboStream Replace { sTarget: current_form.vars.id} %}
|
||||
{{ form_widget(current_form) }}
|
||||
<turbo-stream-event id="{{ current_form.vars.id }}-turbo-stream-event" data-form-block-class="{{ current_form.vars.form_block_class }}" data-view-data="{{ current_form.vars.value|json_encode }}" data-valid="{{ current_form.vars.valid }}"/>
|
||||
<turbo-stream-event id="{{ current_form.vars.id }}-turbo-stream-event" data-form-id="{{ current_form.vars.id }}" data-form-block-class="{{ current_form.vars.form_block_class }}" data-view-data="{{ current_form.vars.value|json_encode }}" data-valid="{{ current_form.vars.valid }}"/>
|
||||
{% EndUITurboStream %}
|
||||
{% endif %}
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
{%- block dashlet_collection_row -%}
|
||||
{{- form_errors(form) -}}
|
||||
{{- form_label(form) -}}
|
||||
<div class="dashlets-container"></div>
|
||||
{%- endblock dashlet_collection_row -%}
|
||||
Reference in New Issue
Block a user