zy:check for finish
This commit is contained in:
parent
49138c748b
commit
790ac40def
|
@ -1,44 +0,0 @@
|
||||||
<% provide(:title, @user.name) %>
|
|
||||||
|
|
||||||
<div class="modal-shiftfix">
|
|
||||||
|
|
||||||
<div id="profile-container" class="container-fluid main-content">
|
|
||||||
|
|
||||||
<%= render 'layouts/nav' %>
|
|
||||||
|
|
||||||
<%= form_for(@user) do |f| %>
|
|
||||||
<%= render 'shared/error_messages', object: f.object %>
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<div class="input-group">
|
|
||||||
<span class="input-group-addon"><i class="icon-user"></i></span>
|
|
||||||
<%= f.text_field :name, class: 'form-control', placeholder: "请输入名称" %>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<div class="input-group">
|
|
||||||
<span class="input-group-addon"><i class="icon-envelope"></i></span>
|
|
||||||
<%= f.email_field :email, class: 'form-control', placeholder: "请输入邮箱" %>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<div class="input-group">
|
|
||||||
<span class="input-group-addon"><i class="icon-ok"></i></span>
|
|
||||||
<%= f.password_field :password, class: 'form-control', placeholder: "请输入密码" %>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<div class="input-group">
|
|
||||||
<span class="input-group-addon"><i class="icon-ok"></i></span>
|
|
||||||
<%= f.password_field :password_confirmation, class: 'form-control', placeholder: "请再次输入密码" %>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<%= f.submit "注册", class: "btn btn-primary btn-block" %>
|
|
||||||
<% end %>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
Loading…
Reference in New Issue