Remove hash rockets relatated to the pr [ci skip]

pull/3642/head
Peter Lehwess 9 years ago
parent 05e3def96b
commit d857bc69e3
  1. 17
      app/views/copy_projects/copy_from_admin.html.erb
  2. 13
      app/views/projects/new.html.erb

@ -34,14 +34,15 @@ See doc/COPYRIGHT.rdoc for more details.
<%= labelled_tabular_form_for @copy_project, url: { action: 'copy', coming_from: 'admin' } do |f| %>
<%= hidden_field_tag :coming_from, 'admin' %>
<%= render :partial => 'projects/form', :locals => { :f => f,
:project => @copy_project,
:render_advanced => false,
:render_types => true,
:render_modules => true,
:render_custom_fields => true } %>
<%= render :partial => "copy_projects/copy_settings/copy_associations", :locals => { :project => @project } %>
<%= render partial: 'projects/form', locals: { f: f,
project: @copy_project,
render_advanced: false,
render_types: true,
render_modules: true,
render_custom_fields: true
} %>
<%= render partial: "copy_projects/copy_settings/copy_associations", locals: { project: @project } %>
<%= submit_tag l(:button_copy), class: 'button -highlight' %>
<% end %>

@ -29,12 +29,13 @@ See doc/COPYRIGHT.rdoc for more details.
<% html_title l("label_project_new") %>
<%= toolbar title: l(:label_project_new) %>
<%= labelled_tabular_form_for @project do |f| %>
<%= render :partial => 'form', :locals => { :f => f,
:project => @project,
:render_advanced => true,
:render_types => false,
:render_modules => false,
:render_custom_fields => false } %>
<%= render partial: 'form', :locals: { f: f,
project: @project,
render_advanced: true,
render_types: false,
render_modules: false,
render_custom_fields: false
} %>
<%= styled_button_tag l(:button_create), class: '-highlight -with-icon icon-yes' %>
<%= javascript_tag "Form.Element.focus('project_name');" %>
<% end %>

Loading…
Cancel
Save