{% extends "layout.html" %}

{% block content_header %}
  {{ build_breadcrumbs([
    { 'name': _('Hep'), 'link': url_for('.HepView:index'), 'icon': 'signal' }
  ]) }}
{% endblock %}

{% block content %}
  {% call build_section_row() %}

    {% call build_form_tabs_box() %}
      {% call build_tabs_navigation() %}
        {{ add_tab_navigation_header(_('Hep'), '', 'signal') }}
        {{ add_tab_navigation_item('general', _('General'), active=True) }}
      {% endcall %}

      {% call build_form(action=url_for('.HepView:post')) %}
        {% call build_tabs_content() %}

          {% call build_tab_content_item('general', active=True) %}
            {% call add_default_fields(form=form, submit_value=_('Update')) %}
              {{ render_field(form.enabled) }}
              {{ render_field(form.capture_address) }}
              {{ render_field(form.capture_password) }}
              {{ render_field(form.capture_id) }}
              {{ render_field(form.uuid_type) }}
            {% endcall %}
          {% endcall %}

        {% endcall %}
      {% endcall %}
    {% endcall %}

  {% endcall %}
{% endblock %}
