form.tpl 1.29 KB
Newer Older
1
%# Foris - web administration interface for OpenWrt based on NETCONF
2
%# Copyright (C) 2013 CZ.NIC, z.s.p.o. <http://www.nic.cz>
3 4 5 6 7 8 9 10 11 12 13 14 15 16
%#
%# This program 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.
%#
%# This program 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 this program.  If not, see <http://www.gnu.org/licenses/>.
%#
17 18
%rebase wizard/base **locals()

19
<form id="main-form" class="wizard-form" action="{{ request.fullpath }}" method="post" autocomplete="off" novalidate>
20
    <h1>{{ trans(first_title) }}</h1>
Bedřich Košata's avatar
Bedřich Košata committed
21
    <p class="wizard-description">{{! first_description }}</p>
22
    %include _messages
23
    <input type="hidden" name="csrf_token" value="{{ get_csrf_token() }}">
24
    %for field in form.active_fields:
25
        %include _field field=field
26
    %end
27
    <button class="button-next button-arrow-right" type="submit" name="send">{{ trans("Next") }}</button>
28
</form>