socialforge/app/views/courses/new.html.erb

14 lines
608 B
Plaintext
Raw Normal View History

<% @nav_dispaly_course_all_label = 1
@nav_dispaly_forum_label = 1
@nav_dispaly_course_label = nil
@nav_dispaly_store_all_label = 1 %>
2014-06-04 14:09:37 +08:00
<h3><%=l(:label_course_new)%></h3>
<%= labelled_form_for @course do |f| %>
2014-06-04 14:09:37 +08:00
<div class="box tabular">
<%= render :partial => 'course_form', :locals => { :f => f } %>
<span style="padding-left: 60px"><%= submit_tag l(:button_create), :class => "enterprise"%></span>
<!-- <%#= submit_tag l(:button_create_and_continue), :name => 'course_continue' %> -->
2014-06-04 14:09:37 +08:00
<%= javascript_tag "$('#course_name').focus();" %>
</div>
<% end %>