socialforge/app/views/wechats/login.html.erb

47 lines
1.3 KiB
Plaintext
Raw Normal View History

2016-01-19 15:06:40 +08:00
<!DOCTYPE html>
2016-01-20 21:49:22 +08:00
<html lang="en">
2016-01-19 15:06:40 +08:00
<head>
2016-01-20 21:49:22 +08:00
<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.css"/>
</head>
2016-01-19 15:06:40 +08:00
2016-01-19 14:28:13 +08:00
<div class="loginIn">
<div>
<p class="wechat-error">
<%= @wechat_bind_errors %>
</p>
</div>
2016-01-20 21:49:22 +08:00
2016-01-19 14:28:13 +08:00
<%= form_tag(bind_wechat_path,:id=>'main_login_form',:method=>'post') do %>
2016-01-20 21:49:22 +08:00
<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" type="text" name="username" placeholder="请输入邮箱地址或昵称"/>
</div>
</div>
2016-01-19 14:28:13 +08:00
2016-01-20 21:49:22 +08:00
<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="请输密码"/>
2016-01-19 14:28:13 +08:00
</div>
2016-01-20 21:49:22 +08:00
</div>
2016-01-19 14:28:13 +08:00
<input type="hidden" value="<%=@openid%>" name="openid">
2016-01-20 21:49:22 +08:00
<div class="weui_btn_area">
<a class="weui_btn weui_btn_primary" href="javascript:" id="showTooltips">确定</a>
</div>
2016-01-19 14:28:13 +08:00
</div>
<% end %>
2016-01-19 15:06:40 +08:00
</div>
</body>
</html>