|
|
@ -31,14 +31,24 @@
|
|
|
|
<p style="width:400px;padding-left: 26px;">
|
|
|
|
<p style="width:400px;padding-left: 26px;">
|
|
|
|
<%= f.text_field :lastname, :required => true %>
|
|
|
|
<%= f.text_field :lastname, :required => true %>
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- added by bai 增加账户里的性别-->
|
|
|
|
|
|
|
|
<p><%= l(:label_gender) %><%= select_tag 'gender', "<option value = '0'>#{l(:label_gender_male)}</option><option value = '1'>#{l(:label_gender_female)}</option>".html_safe %></p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<!-- end -->
|
|
|
|
|
|
|
|
|
|
|
|
<p style="width:357px;padding-left: 26px;">
|
|
|
|
<p style="width:357px;padding-left: 26px;">
|
|
|
|
<%= f.text_field :mail, :required => true %>
|
|
|
|
<%= f.text_field :mail, :required => true %>
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
<p style="width:426px;padding-left:26px;>
|
|
|
|
<p style="width:426px;padding-left:26px;>
|
|
|
|
<%= f.select :language, :Chinese简体中文 => :zh, :English => :en%>
|
|
|
|
<%= f.select :language, :Chinese简体中文 => :zh, :English => :en%>
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- added by bai -->
|
|
|
|
<p><%= l(:field_occupation)%><%= text_field_tag "occupation"%>
|
|
|
|
<p><%= l(:field_occupation)%><%= text_field_tag "occupation"%>
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<!-- end -->
|
|
|
|
|
|
|
|
|
|
|
|
<% if Setting.openid? %>
|
|
|
|
<% if Setting.openid? %>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
|
|
<%= f.text_field :identity_url %>
|
|
|
|
<%= f.text_field :identity_url %>
|
|
|
|