{%- extends 'base.html' -%} {%- block content -%} {%- from '_helpers.html' import render_simple_field, render_field, render_nolabel_field -%}

{{ _('Add a new web page change detection watch') }}

{{ render_nolabel_field(form.url, placeholder="www.website.com/page.html", required=true, class="pure-input-1") }}
{{ _('Enter a URL to get started!') }} {{ _('Enter a URL in the input box above to get started.') }}
{{ render_simple_field(form.processor, label=_('What do you want to achieve?')) }}
{%- if not browser_backend_disabled -%}
{{ render_simple_field(form.fetch_backend, label=_('Select a browser')) }}
{%- endif -%}
{%- if llm_configured -%} {%- endif -%} {# No LLM intent available? Then narrowing by element is the only thing this page can do - selection is always on, so nothing is labelled or offered here, just the hint on how to use the preview. #}
{% if llm_configured %}
{% endif %}
{{ render_field(form.tags, value=active_tag_title, placeholder=_("Watch group / tag"), class="transparent-field") }}
{{ render_nolabel_field(form.watch_submit_button, title=_("Watch this URL!")) }} {{ render_nolabel_field(form.edit_and_watch_submit_button, title=_("Edit first then Watch")) }}
{%- endblock -%}