trustieforge/app/views/projects/_edit.html.erb

11 lines
353 B
Plaintext

<div class="box tabular" style="margin-right:10px;" >
<%= labelled_form_for @project do |f| %>
<% if @project.project_type == 1%>
<%= render :partial => 'course_form', :locals => { :f => f } %>
<% else %>
<%= render :partial => 'form', :locals => { :f => f } %>
<% end %>
<%= submit_tag l(:button_save) %>
<% end %>
</div>