Set right-to-left for attachment edit view

This is set at form load time based on the attachment's locale.  This
currently won't switch direction when changing locales until the page is
reloaded (on save), which does make the workflow for creating a
right-to-left attachment less than ideal.