diff --git a/app/views/homework_attach/_homework_member.html.erb b/app/views/homework_attach/_homework_member.html.erb index f85333d69..82e4a3b36 100644 --- a/app/views/homework_attach/_homework_member.html.erb +++ b/app/views/homework_attach/_homework_member.html.erb @@ -1,3 +1,10 @@ + + <%= error_messages_for 'member' %>
@@ -41,18 +48,23 @@
<%= form_for(hoemwork_users, {:url => add_homework_users_homework_attach_path(homework), :remote => true, :method => :post}) do |f| %> - - <%= l(:label_member_new) %> - -

- <%= label_tag "principal_search", l(:label_principal_search) %> - <%= text_field_tag 'principal_search', nil %>

- <%= javascript_tag "observeSearchfield('principal_search', null, '#{ escape_javascript get_homework_member_list_homework_attach_index_path(:q => params[:q], :bid_id => params[:id]||homework, :format => 'js') }')" %> -
- <%= render_new_members_for_homework(members) %> -
-

- <%= submit_tag l(:button_add), :id => 'member-add-submit' %> -

+
+ + <%= l(:label_member_new) %> + +

+ <%= label_tag "principal_search", l(:label_principal_search) %> + <%= text_field_tag 'principal_search', nil ,{:class => "N_search",:style => "width:50%;"}%> +

+ <%= javascript_tag "observeSearchfield('principal_search', null, '#{ escape_javascript get_homework_member_list_homework_attach_index_path(:q => params[:q], :bid_id => params[:id]||homework, :format => 'js') }')" %> +
+ <%= render_new_members_for_homework(members) %> +
+

+ + <%= l(:button_add) %> + +

+
<% end %>
diff --git a/public/stylesheets/css.css b/public/stylesheets/css.css index 244447ec7..6c72186bd 100644 --- a/public/stylesheets/css.css +++ b/public/stylesheets/css.css @@ -139,7 +139,7 @@ a:hover.tijiao{ background:#0f99a9 !important;} .w260{ text-align:center; width:260px;} .f_b{ font-weight: bold;} .members_right label{ margin-left:15px;} -.N_search{ height:20px; border:1px s #999;} +.N_search{ height:20px !important; border:1px solid #999 !important;} /* 匿名评分弹框 */ .alert .close02{width:26px;height:26px;overflow:hidden;position:absolute;top:-10px;right:-490px;background:url(images/close.png) no-repeat;cursor:pointer;}