2013-08-01 10:33:49 +08:00
|
|
|
<%= labelled_form_for @project do |f| %>
|
2013-08-07 15:29:24 +08:00
|
|
|
<!--Added by young-->
|
2013-08-30 09:34:21 +08:00
|
|
|
<% if @course_tag == '1' %>
|
|
|
|
<h3><%=l(:label_course_new)%></h3>
|
|
|
|
<div class="box tabular">
|
2014-03-31 17:02:28 +08:00
|
|
|
<p style="font-weight: bold; color: rgb(237,137,36)"><%=raw l(:label_course_news_description)%></p>
|
2013-08-30 09:34:21 +08:00
|
|
|
<%= render :partial => 'course_form', :locals => { :f => f } %>
|
2013-11-08 15:49:08 +08:00
|
|
|
<span style="padding-left: 60px"><%= submit_tag l(:button_create), :class => "enterprise"%></span>
|
2013-10-09 16:41:02 +08:00
|
|
|
<!-- <%= submit_tag l(:button_create_and_continue), :name => 'course_continue' %> -->
|
2013-08-30 09:34:21 +08:00
|
|
|
<% else %>
|
|
|
|
<h3><%=l(:label_project_new)%></h3>
|
2013-10-31 16:21:34 +08:00
|
|
|
<div class="box tabular" >
|
2014-03-31 17:02:28 +08:00
|
|
|
<p style="font-weight: bold; color: rgb(237,137,36)"> <%=raw l(:label_project_new_description)%> </p>
|
2013-08-30 09:34:21 +08:00
|
|
|
<%= render :partial => 'form', :locals => { :f => f } %>
|
2013-11-08 15:49:08 +08:00
|
|
|
<span style="padding-left: 60px"><%= submit_tag l(:button_create), :class => "enterprise"%></span>
|
2013-10-09 16:41:02 +08:00
|
|
|
<!-- <%= submit_tag l(:button_create_and_continue), :name => 'continue' %> -->
|
2013-08-30 09:34:21 +08:00
|
|
|
<% end %>
|
2013-11-23 08:20:03 +08:00
|
|
|
<%= javascript_tag "$('#project_name').focus();" %>
|
2013-08-30 09:34:21 +08:00
|
|
|
</div>
|
|
|
|
<% end %>
|
2013-08-07 15:29:24 +08:00
|
|
|
<!--Ended by young-->
|