缺陷显示页面虚线多余

This commit is contained in:
huang 2015-04-22 17:57:36 +08:00
parent 425f8473b4
commit 0484692b47
2 changed files with 3 additions and 2 deletions

View File

@ -53,7 +53,6 @@ class UsersService
@user.login = login
@user.mail = mail
password_confirmation = password
# 自动注册,跳过代码验证
should_confirmation_password = true
if !password.blank? && !password_confirmation.blank? && should_confirmation_password
@user.password, @user.password_confirmation = password, password_confirmation

View File

@ -5,12 +5,14 @@
<% if @edit_allowed || !@allowed_statuses.empty? %>
<div id="all_attributes" style="display:none;">
<%= render :partial => 'form', :locals => {:f => f} %>
<div class="ping_C mb10"></div>
<!--<a remote="true" href="javascript:void(0)" class="blue_btn fl" style="margin-left: 80px;margin-bottom: 10px;margin-top: -10px;" onclick="$('#issue-form').submit();">-->
<!--<%#= l(:button_submit) %>-->
<!--</a>-->
</div>
<% end %><!--end-->
<div class="ping_C mb10"></div>
<!--<fieldset><legend><%#= l(:field_notes) %></legend>-->
<!--回复框-->
<% if @journals.present? %>