Update attachment_preview_input.rb