socialforge/app/views/words/_new.html.erb

14 lines
588 B
Plaintext
Raw Normal View History

2013-08-01 10:33:49 +08:00
<h3 class="title"><%= l(:label_leave_message_to, :name => "user") %></h3>
<%= form_for("new_form", :remote => true, :url => {:controller => 'words',
:action => 'create',
:user_id => user.id,
:sta => sta}) do |f| %>
<p><%= label_tag 'user_message', l(:label_leave_message) %><%= f.text_area 'user_message', :rows => 3 %></p>
<p class="buttons">
<%= submit_tag l(:button_leave_meassge), :name => nil %>
<%= submit_tag l(:button_clear), :name => nil, :onclick => "clearMessage('user_message');", :type => 'button' %>
</p>
<% end %>