<%= form_tag({:controller => 'courses', :action => 'join', :object_id => course.id}, :remote => true, :method => :post, :id => 'new_join_course') do %>
请输入课程密码:
<%= text_field_tag 'course_password', nil, :style=>'width:300px;'%>
确 定
取 消
<% end %>