comparison blog/src/edit.luan @ 777:1460d297e960

add bbcode to blog example
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 26 Aug 2016 15:42:15 -0600
parents ca169567ce07
children
comparison
equal deleted inserted replaced
776:815c119dac7a 777:1460d297e960
29 <body> 29 <body>
30 <h1>Make New Post</h1> 30 <h1>Make New Post</h1>
31 31
32 <form method=post> 32 <form method=post>
33 <p>Subject: <input name=subject size=50 type=text value="<%= post.subject %>"></p> 33 <p>Subject: <input name=subject size=50 type=text value="<%= post.subject %>"></p>
34 <p><textarea name=content rows=20 cols=90><%= post.content %></textarea></p> 34 <p><textarea name=content rows=20 cols=90><%= post.content %></textarea><br>bbcode works</p>
35 <p> 35 <p>
36 <input type=submit name=save value=Submit> 36 <input type=submit name=save value=Submit>
37 </p> 37 </p>
38 </form> 38 </form>
39 39