Mercurial > hg > soundsoftware-site
view app/views/projects/add.rhtml @ 21:d0cd1f6335a5 cannam
* Create branch "cannam"
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Thu, 23 Sep 2010 16:19:06 +0100 |
parents | 513646585e45 |
children |
line wrap: on
line source
<h2><%=l(:label_project_new)%></h2> <% labelled_tabular_form_for :project, @project, :url => { :action => "add" } do |f| %> <%= render :partial => 'form', :locals => { :f => f } %> <fieldset class="box"><legend><%= l(:label_module_plural) %></legend> <% Redmine::AccessControl.available_project_modules.each do |m| %> <label class="floating"> <%= check_box_tag 'enabled_modules[]', m, @project.module_enabled?(m) %> <%= l_or_humanize(m, :prefix => "project_module_") %> </label> <% end %> </fieldset> <%= submit_tag l(:button_save) %> <%= javascript_tag "Form.Element.focus('project_name');" %> <% end %>