意见反馈功能修改
This commit is contained in:
parent
9fa3d25e3f
commit
21f08830df
|
@ -114,6 +114,9 @@ $(function(){
|
|||
|
||||
function f_submit()
|
||||
{
|
||||
var subject = $("#memo_subject").val();
|
||||
var content = $("#memo_content_1").val();
|
||||
$("#memo_subject").val(subject+":"+ content.substr(0,18));
|
||||
$("#new_memo").submit();
|
||||
}
|
||||
|
||||
|
@ -166,8 +169,8 @@ function cookieget(n)
|
|||
<div class="custom_service">
|
||||
<% get_memo %>
|
||||
<%= form_for(@new_memo, :url => create_feedback_forum_path(@public_forum)) do |f| %>
|
||||
<%= f.text_area :subject, :class => "opnionText", :placeholder => l(:label_feedback_tips) %>
|
||||
<%= f.hidden_field :content,:id => 'hidden', :required => true , :value => l(:label_feedback_value) %>
|
||||
<%= f.hidden_field :subject,:required => true , :value => l(:label_feedback_value) %>
|
||||
<%= f.text_area :content,:class => "opnionText",:id=>"memo_content_1" ,:placeholder => l(:label_feedback_tips) %>
|
||||
<%#= f.submit :value => l(:label_memo_create), :class => "opnionButton", :id => "button1" %>
|
||||
<a href="javascript:void(0);" class="opnionButton" style=" color:#fff;" id="" onclick="f_submit();"><%= l(:label_submit)%></a>
|
||||
<% end %>
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
<div class="custom_service">
|
||||
<% get_memo %>
|
||||
<%= form_for(@new_memo, :url => create_feedback_forum_path(@public_forum)) do |f| %>
|
||||
<%= f.text_area :subject, :class => "opnionText", :placeholder => l(:label_feedback_tips) %>
|
||||
<%= f.hidden_field :content, :required => true , :value => l(:label_feedback_value) %>
|
||||
<%= f.hidden_field :subject,:required => true , :value => l(:label_feedback_value) %>
|
||||
<%= f.text_area :content,:class => "opnionText" , :placeholder => l(:label_feedback_tips) %>
|
||||
<a href="javascript:void(0);" class="opnionButton" style=" color:#fff;" id="" onclick="f_submit();">
|
||||
<%= l(:label_submit)%>
|
||||
</a>
|
||||
|
|
|
@ -347,7 +347,7 @@ en:
|
|||
label_feedback_tips: "Anything you want to say, roar it here ~~"
|
||||
label_technical_support: "Support: "
|
||||
label_feedback_success: "Your comments have been sent to the public bar in the home page, thanks for your support!"
|
||||
label_feedback_value: "The post comes from user feedback box!"
|
||||
label_feedback_value: "User feedback"
|
||||
|
||||
#
|
||||
#
|
||||
|
|
|
@ -354,7 +354,7 @@ zh:
|
|||
label_feedback_tips: "有什么想说的,尽管来咆哮吧~~"
|
||||
label_technical_support: "技术支持:"
|
||||
label_feedback_success: "您的意见已经反馈到公共贴吧的新手讨论吧,我们会第一时间解决您的问题,谢谢支持!"
|
||||
label_feedback_value: "该贴来自用户反馈!"
|
||||
label_feedback_value: "用户意见反馈"
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -82,5 +82,8 @@ $(function(){
|
|||
|
||||
function f_submit()
|
||||
{
|
||||
var subject = $("#memo_subject").val();
|
||||
var content = $("#memo_content").val();
|
||||
$("#memo_subject").val(subject+":"+ content.substr(0,18));
|
||||
$("#new_memo").submit();
|
||||
}
|
Loading…
Reference in New Issue