fixed button label
use filename including extension. use api base instead of hardcoding
added nil check for attachments. if no attachments are present create an empty hash
added attachment support
don't show attachment links in the link block. Show image attachments as thumbnails
don't render attachment links
compacter position form
cleaned