I'd move 23,36 to it's own partial. The nasty conditional on 22 could also be moved to a view helper:

```ruby
def can_be_submitted?
  return false unless current_user.submitted_at
  current_user.rejected_at.nil? || current_user.submitted_at > current_user.rejected_at
end
```

`current_user.submitted_at` is an easy early-out condition that simplifies the other expression.