Skip to content

Instantly share code, notes, and snippets.

@chibiegg
Created January 18, 2014 06:07
Show Gist options
  • Save chibiegg/8486846 to your computer and use it in GitHub Desktop.
Save chibiegg/8486846 to your computer and use it in GitHub Desktop.
login.html
<html>
<head>
<title>ログイン</title>
</head>
<body>
<h1>ログイン</h1>
<p>ユーザー名とパスワードを入力してください</p>
{% if form.errors %}<p>ユーザー名またはパスワードが違います</p>{% endif %}
<form method="post">
{% csrf_token %}
<table>{{ form }}</table>
<input type="submit" value="ログイン"/>
</form>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment