|
|
@ -14,11 +14,13 @@
|
|
|
|
<div style="width: 80%; margin-left:10%;">
|
|
|
|
<div style="width: 80%; margin-left:10%;">
|
|
|
|
<%= form_for('new_form', :method => :post,
|
|
|
|
<%= form_for('new_form', :method => :post,
|
|
|
|
:url => {:controller => 'words', :action => 'leave_course_message'}) do |f|%>
|
|
|
|
:url => {:controller => 'words', :action => 'leave_course_message'}) do |f|%>
|
|
|
|
<%= f.text_area 'course_message', :rows => 3, :cols => 65,
|
|
|
|
<%= f.text_area 'course_message',:id => "leave_meassge", :rows => 3, :cols => 65,
|
|
|
|
:placeholder => "#{l(:label_welcome_my_respond)}",
|
|
|
|
:placeholder => "#{l(:label_welcome_my_respond)}",
|
|
|
|
:style => "resize: none; width: 98%",
|
|
|
|
:style => "resize: none; width: 98%",
|
|
|
|
:class => 'noline',:maxlength => 250%>
|
|
|
|
:class => 'noline',:maxlength => 250%>
|
|
|
|
<%= submit_tag l(:button_leave_meassge), :name => nil , :class => "enterprise" , :style => "display: block; float: right; margin-right: 1%; margin-top: 1px;"%>
|
|
|
|
<!--<%#= submit_tag l(:button_leave_meassge), :name => nil , :class => "enterprise" , :style => "display: block; float: right; margin-right: 1%; margin-top: 1px;"%>-->
|
|
|
|
|
|
|
|
<a href="#" onclick='$("#leave_meassge").parent().submit();' class="ButtonColor m3p10" style ="display: block; float: right; margin-right: 1%; margin-top: 1px;"> <%= l(:button_leave_meassge)%>
|
|
|
|
|
|
|
|
</a>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|