def input_html_options
      super.merge(
        data: {
          attachments_path: options.fetch(:route, route_from_configuration),
          max_number_of_files: options.fetch(:max_number_of_files, nil),
          disabled_submit_text: I18n.t(:disabled, scope: 'simple_form_attachments.buttons'),
          sortable: sortable?
        }.reject{ |k, v| v.nil? }
      )
    end
def input_html_options
      super.merge(
        data: {
          attachments_path: options.fetch(:route, route_from_configuration),
          max_number_of_files: options.fetch(:max_number_of_files, nil),
          disabled_submit_text: I18n.t(:disabled, scope: 'simple_form_attachments.buttons'),
          sortable: sortable?
        }.reject{ |k, v| v.nil? }
      )
    end
=============================================================