54 lines
1.5 KiB
Plaintext
54 lines
1.5 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
|
|
<title>绑定用户</title>
|
|
<link rel="stylesheet" href="/stylesheets/weui/weui.min.css"/>
|
|
|
|
<script type="text/javascript">
|
|
function formSubmit()
|
|
{
|
|
document.getElementById("main_login_form").submit()
|
|
}
|
|
</script>
|
|
</head>
|
|
|
|
<div class="loginIn">
|
|
<div>
|
|
<p class="weui_cells_title wechat-error">
|
|
<%= @wechat_bind_errors %>
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<%= form_tag(bind_wechat_path,:id=>'main_login_form',:method=>'post') do %>
|
|
<div class="weui_cells weui_cells_form">
|
|
<div class="weui_cell">
|
|
<div class="weui_cell_hd"><label class="weui_label">用户名</label></div>
|
|
<div class="weui_cell_bd weui_cell_primary">
|
|
<input class="weui_input" autocapitalize="off" type="text" name="username" placeholder="请输入邮箱地址或昵称"/>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="weui_cell">
|
|
<div class="weui_cell_hd"><label class="weui_label">用户名</label></div>
|
|
<div class="weui_cell_bd weui_cell_primary">
|
|
<input class="weui_input" type="password" name="password" placeholder="请输密码"/>
|
|
</div>
|
|
</div>
|
|
|
|
<input type="hidden" value="<%=@openid%>" name="openid">
|
|
|
|
<div class="weui_btn_area">
|
|
<a class="weui_btn weui_btn_primary" href="javascript:formSubmit();" id="showTooltips">确定</a>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
</html> |