# File app/controllers/proposals_controller.rb, line 56
  def edit
    return true unless request.post?
    if @proposal.update_attributes(params[:proposal])
      flash[:notice] << _('The proposal has been modified successfully')
      redirect_to :action => 'show', :id => @proposal
    else
      flash[:error] << _('Error updating the proposal: ') +
        @proposal.errors.full_messages.join('<br/>')
    end
  end