|
|
|
@ -49,6 +49,11 @@
|
|
|
|
|
$('#' + id).val(content);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function submit1(button)
|
|
|
|
|
{
|
|
|
|
|
$('#jours_submit').parent().submit();
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<%= form_for('new_form', :remote => true, :method => :post,
|
|
|
|
@ -67,14 +72,8 @@
|
|
|
|
|
:style => "resize: none;", :class => 'noline', :placeholder => l(:text_caracters_maximum,:count=>250)%>
|
|
|
|
|
<%= f.text_field :reference_user_id, :style=>"display:none"%>
|
|
|
|
|
<div style="float:right">
|
|
|
|
|
<%= submit_tag l(:button_leave_meassge),
|
|
|
|
|
:name => nil , :class => "enterprise",
|
|
|
|
|
:onmouseout => "this.style.backgroundPosition = 'left top'",
|
|
|
|
|
:onmouseover => "this.style.backgroundPosition = 'left -31px'"%>
|
|
|
|
|
<%= submit_tag l(:button_clear_meassge), :name => nil, :class => "enterprise",
|
|
|
|
|
:onclick => "clearMessage('new_form_user_message');",
|
|
|
|
|
:onmouseout => "this.style.backgroundPosition = 'left top'",
|
|
|
|
|
:onmouseover => "this.style.backgroundPosition = 'left -31px'" %>
|
|
|
|
|
<a href="#" class="ping_sub1" id="jours_submit" onclick="submit1();"><%= l(:label_submit_comments) %></a>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<% else %>
|
|
|
|
|
<div style="font-size: 14px;margin:10px;text-align: center">
|
|
|
|
|