OSDN Git Service

add admission_date to user model, add UserEditForm and their specs
[mint/mint-server.git] / app / views / users / show.html.erb
1 <%- @title = 'ユーザ情報' -%>
2
3 <dl>
4   <dt>名前</dt>
5   <dd><%=h @user.name %></dd>
6   <dt>メールアドレス</dt>
7   <dd><%=h @user.email %></dd>
8   <dt>入学年度</dt>
9   <dd><%=h @user.admission_date %></dd>
10 </dl>
11
12 <p><%= link_to '編集', edit_user_url %></p>