<%= link_to(l(:label_project_alias_plural), { :controller => 'project_aliases', :action => 'index' }) %> » <%= l(:label_project_alias_new) %>

<%= error_messages_for 'alias' %> <% form = form_for(@alias, :url => { :action => 'create' }, :builder => (TabularFormBuilder rescue Redmine::Views::LabelledFormBuilder)) do |f| %>

<%= f.text_field(:alias, :size => 60, :required => true) %>
<%= l(:text_length_between, :min => 1, :max => Project.const_defined?(:IDENTIFIER_MAX_LENGTH) ? Project::IDENTIFIER_MAX_LENGTH : 20) %> <%= l(:text_project_alias_info) %>

<%= f.select(:project_id, project_alias_project_options_for_select(@projects, :selected => @alias.project, :include_blank => true), :required => true) %>

<%= f.submit(l(:button_create)) %>

<% end %> <%= form if Rails::VERSION::MAJOR >= 3 %>