Skip to content

Instantly share code, notes, and snippets.

@taka2
Created October 28, 2008 12:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save taka2/20365 to your computer and use it in GitHub Desktop.
Save taka2/20365 to your computer and use it in GitHub Desktop.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf8">
<link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
</head>
<body>
{{user.nickname}} / {{user.email}}
<table border = "1">
<tr>
<th>Kamoku</th>
<th>KamokuName</th>
<th>Date</th>
</tr>
{% for kamoku in kamoku_list %}
<tr>
<td>{{kamoku.kamoku}}</td>
<td>{{kamoku.kamokuName}}</td>
<td>{{kamoku.date}}</td>
<td>
<form name = "form1" action = "/delete_kamoku" method = "post">
<input type = "hidden" name = "kamoku" value = "{{kamoku.kamoku}}">
<input type = "submit" value = "delete">
</form>
</td>
</tr>
{% endfor %}
</table>
<p>
<form action="/regist_kamoku" method="post">
<div>Kamoku: <input type = "text" name = "kamoku"></div>
<div>KamokuName: <input type = "text" name = "kamokuName"></div>
<div><input type="submit" value="Submit"></div>
</form>
<a href = "/">Regist Family Budget</a>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment