Fix for attachment link visible on invalid manual

When creating an invalid manual, after trying to save as a draft, the "Add attachment" link was visible. Now, it's correctly hidden.