2013-09-15 16:49:19 +08:00
|
|
|
<!-- added by fq -->
|
|
|
|
<style>
|
|
|
|
input[type="submit"].bid_btn {
|
|
|
|
vertical-align: middle;
|
|
|
|
width: 60px;/*modified by ming*/
|
|
|
|
height: 25px;
|
|
|
|
line-height: 19px;
|
|
|
|
font-size: 14px;
|
|
|
|
color: rgb(0, 0, 0);
|
|
|
|
background: buttonface;/*url("/images/button/bg103.jpg") no-repeat scroll left top transparent;*/
|
|
|
|
padding: 0px 0px 4px 0px;
|
|
|
|
border-radius: 2px;
|
|
|
|
border: 1px solid rgb(148, 148, 148);
|
|
|
|
box-shadow: none;
|
|
|
|
text-shadow: none;
|
2013-10-09 16:47:54 +08:00
|
|
|
/*margin-top: -10px;*/
|
2013-09-15 16:49:19 +08:00
|
|
|
/*margin-right: -4px;*/
|
|
|
|
}
|
|
|
|
input[type="button"].bid_btn {
|
|
|
|
width: 60px;/*modified by ming*/
|
|
|
|
height: 25px;
|
|
|
|
line-height: 19px;
|
|
|
|
font-size: 14px;
|
|
|
|
color: rgb(0, 0, 0);
|
|
|
|
background: buttonface;/*url("/images/button/bg103.jpg") no-repeat scroll left top transparent;*/
|
|
|
|
padding: 0px 0px 4px 0px;
|
|
|
|
border-radius: 2px;
|
|
|
|
border: 1px solid rgb(148, 148, 148);
|
|
|
|
box-shadow: none;
|
|
|
|
text-shadow: none;
|
2013-10-09 16:47:54 +08:00
|
|
|
/*margin-top: -10px;*/
|
2013-09-15 16:49:19 +08:00
|
|
|
margin-right: -2px;
|
|
|
|
}
|
|
|
|
textarea:focus {
|
|
|
|
border: #d5dee9 1px solid;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
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 %>
|
2013-10-09 16:47:54 +08:00
|
|
|
<table border="0">
|
|
|
|
<tr>
|
|
|
|
<td align="cneter">
|
2013-10-10 21:33:52 +08:00
|
|
|
</td>
|
2013-09-12 10:41:15 +08:00
|
|
|
|
2013-10-10 21:33:52 +08:00
|
|
|
<%= text_field_tag 'course_password', nil, :size => 45 %>
|
2013-10-10 17:06:46 +08:00
|
|
|
|
|
|
|
<p class="buttons" style="padding-top: 10px; padding-bottom: 1px; margin-bottom: 1px">
|
|
|
|
<%= submit_tag l(:label_new_join), :name => nil, :class => "bid_btn", :onclick => "hideModal(this);" %>
|
2013-09-15 16:49:19 +08:00
|
|
|
<%= submit_tag l(:button_cancel), :name => nil, :class => "bid_btn", :onclick => "hideModal(this);", :type => 'button' %>
|
2013-10-09 16:47:54 +08:00
|
|
|
</td>
|
|
|
|
</tr></table>
|
2013-09-12 10:41:15 +08:00
|
|
|
<% end %>
|