small fixes

This commit is contained in:
jomo
2013-06-24 14:17:27 +02:00
parent fb52e8bed2
commit b4f2dc5fab
7 changed files with 9 additions and 11 deletions

View File

@@ -2,7 +2,7 @@
<%= simple_form_for @user do |f| %>
<%= f.input :name %>
<%= f.input :ign, label: "Ingame name" %>
<%= f.input :ign, label: "Exact ingame name" %>
<%= f.input :email %>
<%= f.input :password %>
<%= f.input :password_confirmation %>

View File

@@ -1,6 +1,6 @@
<div id="user-info">
<div id="edit_profile"><%= link_to "edit profile", edit_user_path(@user), :class => "btn-blue" %></div>
<%= image_tag avatar_url(@user.id), :class => "user-avatar avatar", :alt => "avatar" %><br/>
<%= image_tag avatar_url(@user.id, 128), :class => "user-avatar avatar", :alt => "avatar" %><br/>
<% if @user.banned %>
<span class="user-banned">This user is banned!</span>
<% end %>