<%= labelled_form_for @project do |f| %> <% if @course_tag == '1' %>

<%=l(:label_course_new)%>

<%=raw l(:label_course_news_description)%>

<%= render :partial => 'course_form', :locals => { :f => f } %> <%= submit_tag l(:button_create), :class => "enterprise"%> <% else %>

<%=l(:label_project_new)%>

<%=raw l(:label_project_new_description)%>

<%= render :partial => 'form', :locals => { :f => f } %> <%= submit_tag l(:button_create), :class => "enterprise"%> <% end %> <%= javascript_tag "$('#project_name').focus();" %>
<% end %>