{% import "wtf.html" as wtf %} {% macro form_field(field, form_type="basic", horizontal_columns=('lg', 2, 10), button_map={}) %} {% if field.widget.input_type == 'checkbox' %}
{%- if field.description -%}

{{field.description|safe}}

{%- endif %}
{% else %} {{ wtf.form_field(field, form_type, horizontal_columns, button_map) }} {% endif %} {% endmacro %} {% extends "base.html" %} {% block main %}
YunoHost application logo

{{ _("Yunohost application generation form") }}

Version: {{ generator_info['GENERATOR_VERSION'] }}

{% for lang in AVAILABLE_LANGUAGES.items() %} {% endfor %}
{{ main_form.hidden_tag() }}
{{ wtf.form_errors(main_form, hiddens="only") }}
{{ form_field(main_form.generator_mode) }}

{{ gettext("1/9 - General information") }}

{{ gettext("2/9 - Upstream information") }}

{{ gettext("3/9 - Integration in YunoHost") }}

{{ gettext("4/9 - Questions to ask during installation") }}

{{ gettext("5/9 - Resources to initialize") }}

{{ gettext("6/9 - Specific technology") }}

{{ gettext("7/9 - App configuration") }}

{{ gettext("8/9 - General and advanced documentation") }}

{{ gettext("9/9 - Advanced options") }}

{{ main_form.submit_preview(class="btn btn-primary") }} {{ main_form.submit_download(class="btn btn-primary") }}
{{ main_form.submit_demo(class="btn") }}


{% if generated_files %}

Code généré

{% for file in generated_files %}

{{ file.destination_path }}

{% endfor %}
{% endif %} {% endblock %}