Final modifications for the presentation

This commit is contained in:
chris2tof committed 2011-11-22 18:54:10 +08:00
1 parent 1fcacbb4af
commit b68f5e11e5
4 files changed
+7 -4

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@
<%#= file_field_tag 'file' %>
<%#= hidden_field_tag :avatar_cache %>
<a id="upload" href="#"><%= t('admin.choose_file') %></a>
<%= f.text_field :email, :onfocus => "this.value='';", :onblur => "if(this.value==''){this.value=#{t('admin.email')};}", :value => t('admin.email'), :class => 'user_mail' %>
<%= f.text_field :email, :onfocus => "this.value='';", :onblur => "if(this.value==''){this.value=#{t('admin.email')};}", :value => (@user.email.blank? ? t('admin.email') : @user.email), :class => 'user_mail' %>
<label>
<%= f.check_box :admin %><span><%= t('admin.admin') %></span>
</label>