aboutsummaryrefslogtreecommitdiff
path: root/app/views/admin/login_style/edit_faq.php
blob: 2c35afd12fbbd3e011dc1a4744ac696c4750f1ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
/**
 * @var Admin_LoginStyleController $controller
 * @var LoginFaq $entry
 */
?>
<form action="<?= $controller->store_faq($entry) ?>"
      method="post"
      enctype="multipart/form-data"
      class="default">
    <?= CSRFProtection::tokenTag() ?>
    <label>
        <span class="required">
            <?= _('Titel') ?>
        </span>
        <?= I18N::input('title', $entry->title, ['required' => true]) ?>
    </label>
    <label>
        <span class="required">
            <?= _('Text') ?>
        </span>
        <?= I18N::textarea('description',
            $entry->description,
            [
                'class'       => 'wysiwyg',
                'required'    => true,
                'data-editor' => 'toolbar=small'
            ]
        ) ?>
    </label>
    <div data-dialog-button>
        <?= \Studip\Button::create(_('Speichern')) ?>
    </div>

</form>