sign_in.html.erb 343 Bytes
<p>
	<%= flash[:notice] %>
</p>
<form action="/sign_in" method="post">
	<input name="utf8" type="hidden" value="✓">
	<input name="authenticity_token" type="hidden" value="<%= form_authenticity_token %>">
	账号 <input type="text" name="username">
	密码 <input type="password" name="password">
	<input type="submit" value="登陆">
</form>