2013-08-06 10:16:51 +08:00
|
|
|
<div class="box tabular" style="margin-right:10px;" >
|
2013-08-01 10:33:49 +08:00
|
|
|
<%= labelled_form_for @project do |f| %>
|
2013-09-13 16:36:36 +08:00
|
|
|
<% if @project.project_type == 1%>
|
|
|
|
<%= render :partial => 'course_form', :locals => { :f => f } %>
|
|
|
|
<% else %>
|
2013-09-06 16:39:38 +08:00
|
|
|
<%= render :partial => 'form', :locals => { :f => f } %>
|
2013-09-13 16:36:36 +08:00
|
|
|
<% end %>
|
2013-09-06 16:39:38 +08:00
|
|
|
<%= submit_tag l(:button_save) %>
|
2013-08-01 10:33:49 +08:00
|
|
|
<% end %>
|
2013-09-12 10:41:15 +08:00
|
|
|
</div>
|