jakobsn před 6 roky
rodič
revize
10a10449c5
2 změnil soubory, kde provedl 10 přidání a 5 odebrání
  1. +7
    -4
      src/app/templates/guestbook.html
  2. +3
    -1
      src/app/templates/index.html

+ 7
- 4
src/app/templates/guestbook.html Zobrazit soubor

@@ -15,8 +15,11 @@ $def with (entries, guesbook_form)

</ul>
$if session.username:
<h2>Write an entry<h2>
<form method="POST">
$:guesbook_form.render()
</form>
<h2>Write an entry</h2>
<form method="POST">
$:guesbook_form.render()
</form>

<br>
<a href="/">Home</a>
</body>

+ 3
- 1
src/app/templates/index.html Zobrazit soubor

@@ -15,7 +15,9 @@ $def with (login_form, friends)
<br>
<br>
<a href="register">Become A Friend!</a>
<a href="register"> - Register!</a>
<br>
<a href="guestbook">- Guestbook</a>

<h3>Log In</h3>
<form method="POST">


Načítá se…
Zrušit
Uložit