17 lines
535 B
Plaintext
17 lines
535 B
Plaintext
<h3 class="title">请输入课程密码</h3>
|
|
|
|
<%= form_tag({:controller => 'courses',
|
|
:action => 'join',
|
|
:object_id => course.id},
|
|
:remote => true,
|
|
:method => :post,
|
|
:id => 'new-watcher-form') do %>
|
|
|
|
<%= text_field_tag 'course_password', nil%>
|
|
|
|
<p class="buttons">
|
|
<%= submit_tag '加入', :name => nil, :onclick => "hideModal(this);" %>
|
|
<%= submit_tag l(:button_cancel), :name => nil, :onclick => "hideModal(this);", :type => 'button' %>
|
|
</p>
|
|
<% end %>
|