{% extends 'layout/base.html' %}
{% from 'macros/forms.html' import form_buttons, form_field %}
{% set current_page = 'guest_server' %}
{% set page_title = _('Register guest server') %}

{% block body %}

  <nav class="breadcrumbs">
    <ol>
      <li><a href="{{ url_for('.index') }}">{{ _('Guest Servers') }}</a></li>
    </ol>
  </nav>
  <h1>{{ page_title }}</h1>

  <form action="{{ url_for('.create') }}" method="post">
    {{ form_field(form.hostname, size=20, placeholder='myserver', autofocus='autofocus', note=_('Just the hostname. The suffix <code>%(suffix)s</code> will be added automatically.', suffix=('.' + domain) if domain else '')) }}
    {{ form_field(form.notes) }}

    {{ form_buttons(_('Create')) }}
  </form>

{%- endblock %}

{% extends 'layout/base.html' %}
{% from 'macros/forms.html' import form_buttons, form_field %}
{% set current_page = 'guest_server' %}
{% set page_title = _('Register guest server') %}

{% block body %}

  <nav class="breadcrumbs">
    <ol>
      <li><a href="{{ url_for('.index') }}">{{ _('Guest Servers') }}</a></li>
    </ol>
  </nav>
  <h1>{{ page_title }}</h1>

  <form action="{{ url_for('.create') }}" method="post">
    {{ form_field(form.hostname, size=20, placeholder='myserver', autofocus='autofocus', note=_('Just the hostname. The suffix <code>%(suffix)s</code> will be added automatically.', suffix=('.' + domain) if domain else '')) }}
    {{ form_field(form.notes, style='height: 8rem;') }}

    {{ form_buttons(_('Register guest server')) }}
  </form>

{%- endblock %}

Tweak guest server registration form
Tweak guest server registration form
