<div class="default_member">
    <div class="member-data">
		<table>
			<tbody>
				<tr>
					<td><%= t('users.name')%></td>
					<td><%= @member.name%></td>
				</tr>
				<tr>
					<td><%= t('users.email')%></td>
					<td><a href="mailto:<%= @member.email %>"><%= @member.email %></a></td>
				</tr>
				<% if !@member.sid.blank? %>
				<tr>
					<td><%= t('users.sid')%></td>
					<td><%= @member.sid%></td>
				</tr>
				<% end %>
				<% if !@member.office_tel.blank? %>
				<tr>
					<td><%= t('users.office_tel')%></td>
					<td><%= @member.office_tel%></td>
				</tr>
				<% end %>
				<tr>
					<td><%= t('users.sex')%></td>
					<td><%= t("users.#{@member.sex}") %></td>
				</tr>

				<%= render :partial=> "show_roles",:collection=>@member.roles.where(:disabled=>false).asc(:created_at) %>

			</tbody>
		</table>
	</div>

    <div class="member-pic">
     <%= image_tag(@member.avatar) %>
    </div>
	
</div>


<%= stylesheet_link_tag "member_staff/default_member" %>
		
