Mercurial > hg > soundsoftware-site
view app/views/projects/_edit.rhtml @ 414:576a1dca2ee2 bug_152
Check that user is permitted to see subproject, not only parent project. Fixes #152
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Tue, 10 May 2011 10:08:34 +0100 |
parents | 40f7cfd4df19 |
children |
line wrap: on
line source
<% labelled_tabular_form_for :project, @project, :url => project_path(@project), :html => {:method => (@project.new_record? ? :post : :put) } do |f| %> <%= render :partial => 'form', :locals => { :f => f } %> <%= submit_tag l(:button_save) %> <% end %>