bigdir/app/views/users/_user_extensions.html.erb

27 lines
805 B
Plaintext

<%= labelled_fields_for :user_extensions, @user.user_extensions do |user_extension| %>
<p style="width:400px;padding-left: 26px;">
<%= user_extension.text_field :birthday %>
</p>
<p style="width:400px;">
<%= user_extension.select :gender, [[l(:label_boy), '1'], [l(:label_girl), '0']] %>
</p>
<p style="width:400px;padding-left: 26px;">
<%= user_extension.text_area :brief_introduction %>(少于250字)
</p>
<p style="width:400px;padding-left: 26px;">
<%= user_extension.text_field :location %>
</p>
<p style="width:400px;padding-left: 26px;">
<%= user_extension.text_field :occupation %>
</p>
<p style="width:400px;padding-left: 26px;">
<%= user_extension.text_field :work_experience %>
</p>
<p style="width:400px;padding-left: 26px;">
<%= user_extension.text_field :zip_code %>
</p>
<% end %>