修改贴吧新建帖子、回复显示样式的问题

This commit is contained in:
sw 2015-04-23 10:47:54 +08:00
parent 1f7f1eff1a
commit 5b5423b8c5
4 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<%= form_tag( searchmembers_course_path(@course), method: 'get',:class => "f_l",:remote=>true,:id => "search_student") do %>
<%= text_field_tag 'name', params[:name], name: "name", :class => 'st_search_input', :placeholder => '输入学生姓名、学号进行搜索'%>
<%= text_field_tag 'name', params[:name], name: "name", :class => 'st_search_input', :placeholder => '输入学生昵称、姓名、学号进行搜索'%>
<% if @group %>
<%= hidden_field "search_group_id", params[:search_group_id],:value => "#{@group.id}", name: 'search_group_id' %>
<input type="hidden" name="ingroup">

View File

@ -22,6 +22,7 @@
<br />
<%= render :partial => 'attachments/form', :locals => {:container => @memo} %>
</p>
<div class="cl"></div>
<%= f.submit :value => l(:label_memo_create) %>
<%= link_to l(:button_cancel), "#", :onclick => '$("#add-memo").hide(); return false;' %>
</div>

View File

@ -14,5 +14,6 @@
<br />
<%= render :partial => 'attachments/form' %>
</p>
<div class="cl"></div>
<%= f.submit value: l(:label_reply_plural), class: "replies" %>
<% end %>

View File

@ -734,7 +734,7 @@ div.actions input[type="text"] {
.replies {
overflow: hidden;
max-width: 100%;
float: right;
float: left;
/*max-width: 90%;*/
}