登录名不能被修改

This commit is contained in:
daiao 2017-03-08 16:12:50 +08:00
parent 33caf7821f
commit 0b0ca61f1c
1 changed files with 11 additions and 1 deletions

View File

@ -40,7 +40,17 @@
<li>&nbsp;&nbsp;</li>
</ul>
<ul class="setting_right ">
<li><%= f.text_field :login,:no_label=>true, :required => true, :style => "color:grey", :nh_required => "1", :name => "login", :class => "w210" %></li>
<li>
<%= f.text_field :login,
:no_label => true,
:required => true,
:style => "color:grey",
:disabled => 'disabled',
:nh_required => "1",
:name => "login",
:class => "w210"
%>
</li>
<% if @force %>
<li><%= f.text_field :mail,:no_label=>true, :required => true,:nh_required => "1",:class=>"w210",:disabled=>'disabled'%></li>
<% else %>