socialforge/app/views/projects/_new_join.html.erb

17 lines
535 B
Plaintext
Raw Normal View History

2013-09-12 10:41:15 +08:00
<h3 class="title">请输入课程密码</h3>
2013-09-12 17:19:51 +08:00
<%= form_tag({:controller => 'courses',
2013-09-12 10:41:15 +08:00
:action => 'join',
:object_id => course.id},
:remote => true,
:method => :post,
:id => 'new-watcher-form') do %>
<%= text_field_tag 'course_password', nil%>
<p class="buttons">
2013-09-13 21:52:24 +08:00
<%= submit_tag '加入', :name => nil, :onclick => "hideModal(this);" %>
2013-09-12 10:41:15 +08:00
<%= submit_tag l(:button_cancel), :name => nil, :onclick => "hideModal(this);", :type => 'button' %>
</p>
<% end %>