29 lines
1.1 KiB
Plaintext
29 lines
1.1 KiB
Plaintext
<% @nav_dispaly_project_label = 1
|
|
@nav_dispaly_forum_label = 1 %>
|
|
<%= labelled_form_for @project do |f| %>
|
|
<!--Added by young-->
|
|
<% if @course_tag == '1' %>
|
|
<h3><%=l(:label_course_new)%></h3>
|
|
<div class="box tabular">
|
|
|
|
<%= render :partial => 'course_form', :locals => { :f => f } %>
|
|
<span style="padding-left: 60px">
|
|
<%= submit_tag l(:button_create), :class => "enterprise"%>
|
|
</span>
|
|
</div>
|
|
<!-- <%#= submit_tag l(:button_create_and_continue), :name => 'course_continue' %> -->
|
|
<% else %>
|
|
<h3><%=l(:label_project_new)%></h3>
|
|
<div class="box tabular" >
|
|
<p style="font-weight: bold; color: rgb(237,137,36)"> <%=raw l(:label_project_new_description)%> </p>
|
|
<%= render :partial => 'form', :locals => { :f => f } %>
|
|
<span style="padding-left: 60px">
|
|
<%= submit_tag l(:button_create), :class => "enterprise"%>
|
|
</span>
|
|
</div>
|
|
<!-- <%#= submit_tag l(:button_create_and_continue), :name => 'continue' %> -->
|
|
<% end %>
|
|
<%= javascript_tag "$('#project_name').focus();" %>
|
|
<% end %>
|
|
<!--Ended by young-->
|