mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-12 02:09:37 +00:00
* Initial plan * Make form column layout configurable with global Twig variables Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com> * Rename form column Twig globals to shorter names: label_col, input_col, offset_col Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com> * Fixed remaining places where offsets where used * Fixed margin of delete button on admin forms * Rename Twig globals: col_label, col_input, offset_label Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com> * Added documentation to our twig class variables --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com> Co-authored-by: Jan Böhmer <mail@jan-boehmer.de>
21 lines
632 B
Twig
21 lines
632 B
Twig
{% extends "main_card.html.twig" %}
|
|
|
|
{% import "info_providers/providers.macro.html.twig" as providers_macro %}
|
|
{% import "helper.twig" as helper %}
|
|
|
|
{% block title %}
|
|
{% trans %}info_providers.from_url.title{% endtrans %}
|
|
{% endblock %}
|
|
|
|
{% block card_title %}
|
|
<i class="fas fa-book-atlas"></i> {% trans %}info_providers.from_url.title{% endtrans %}
|
|
{% endblock %}
|
|
|
|
{% block card_content %}
|
|
<p class="text-muted {{ offset_label }}">{% trans %}info_providers.from_url.help{% endtrans %}</p>
|
|
|
|
{{ form_start(form) }}
|
|
{{ form_row(form.url) }}
|
|
{{ form_row(form.submit) }}
|
|
{{ form_end(form) }}
|
|
{% endblock %}
|