Added an web page to quickly add a new part from a web URL

This commit is contained in:
Jan Böhmer 2026-02-01 18:18:58 +01:00
parent 722eb7ddab
commit 909cab0044
6 changed files with 124 additions and 5 deletions

View file

@ -0,0 +1,21 @@
{% 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-3">{% trans %}info_providers.from_url.help{% endtrans %}</p>
{{ form_start(form) }}
{{ form_row(form.url) }}
{{ form_row(form.submit) }}
{{ form_end(form) }}
{% endblock %}