{{!
    This file is part of Moodle - http://moodle.org/

    Moodle is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Moodle is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
}}
{{!
    @template theme_remui/setupwizard/setup_userinformation
}}

<div class="setup-container">
    <form id="user-information-form">
        <p class="h-regular-4 p-mb-9">{{#str}}setupwizard:info1, theme_remui{{/str}}</p>

        {{#questions}}
            <div class="p-mb-7">
                <p class="h-semibold-4 p-mb-6 info-question" data-questionfor="{{name}}" data-value="{{question}}">{{question}}</p>

                {{#options}}
                    <label for="{{id}}" class="setup-input-component {{#fullwidth}}full{{/fullwidth}} {{^fullwidth}}p-mr-4{{/fullwidth}}">
                        <input type="radio"
                            id="{{id}}"
                            name="{{name}}"
                            value="{{value}}"
                            required
                        >
                        <span class="h-regular-6">{{value}}</span>
                    </label>
                {{/options}}

                {{#userinput}}
                    <label for="{{id}}" class="setup-input-component full">
                        <div class="d-none">
                            <input type="radio"
                                id="{{id}}"
                                name="{{name}}"
                                required
                            >
                        </div>
                        <input type="text" class="form-control setup-input-component m-0" placeholder="{{placeholder}}" name="" data-inputfor="{{id}}">
                    </label>
                {{/userinput}}
            </div>
        {{/questions}}


        <div class="setup-navigation d-flex justify-content-between p-mt-4">
            <button type="submit" class="btn btn-primary ml-auto disabled" data-nextstep="servercheck">{{#str}}submitandcontinue, theme_remui{{/str}}</button>
        </div>

    </form>
</div>
