kabano/views/d.wiki.edit.html

30 lines
882 B
HTML
Raw Normal View History

2017-12-20 20:49:11 +00:00
<!DOCTYPE html>
<html lang="fr">
<? include('blocks/d.head.html'); ?>
<body>
<? include('blocks/d.nav.html'); ?>
<section>
2018-10-22 21:09:20 +00:00
<form class="form" action="<?=$config['rel_root_folder']?>wiki/<?=$wikiPage->permalink?>/edit" method="post">
2017-12-20 20:49:11 +00:00
<h1>
<select name="locale" id="locale">
2018-10-22 21:09:20 +00:00
<? foreach($locales->objs as $locale) { ?>
<option <?=$wikiPage->locale==$locale->name?'selected':''?> value="<?=$locale->name?>"><?=$locale->display_name?></option>
2017-12-20 20:49:11 +00:00
<? } ?>
</select>
2018-10-22 21:09:20 +00:00
<input type="text" value="<?=$wikiPage->name?>" name="name" id="name" placeholder="Titre">
2017-12-20 20:49:11 +00:00
</h1>
<textarea rows="30" name="content" id="content" placeholder="Contenu de la page"><?=$wikiPage->content?></textarea>
<input name="submit" id="submit" type="submit" value="Envoyer">
</form>
</section>
<? include('blocks/d.footer.html'); ?>
</body>
</html>