{#
/*
 * Spring Signage Ltd - http://www.springsignage.com
 * Copyright (C) 2015 Spring Signage Ltd
 * (${FILE_NAME})
 */

#}

{% extends "form-base.twig" %}
{% import "forms.twig" as forms %}

{% block formTitle %}
    {% trans "Install Module" %}
{% endblock %}

{% block formButtons %}
    {% trans "Help" %}, XiboHelpRender("{{ help }}")
    {% trans "Cancel" %}, XiboDialogClose()
{% endblock %}

{% block formHtml %}
    <div class="row">
        <div class="col-md-12">
            {% for module in modulesToInstall %}
                <div class="row">
                    <div class="col-md-12">
                        <a class="XiboFormButton" href="{{ urlFor("module.install.form", {name: module.name}) }}">{{ module.title }} - {{ module.author }}</a><br />
                    </div>
                </div>
            {% endfor %}
        </div>
    </div>
{% endblock %}