You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: automatically_managed_project_folders_form_component.rb
    path of file: ./repos/openproject/modules/storages/app/components/storages/admin/forms
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

#-- copyright
# OpenProject is an open source project management software.
# Copyright (C) 2012-2024 the OpenProject GmbH
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public 
    
    def submit_button_options
      {
        label: submit_button_label,
        data: { 'storages--automatically-managed-project-folders-form-target': 'submitButton' }.tap do |data_hash|
          # For create action, break from Turbo Frame and follow full page redirect
          data_hash[:turbo] = false if new_record?
        end
      }
    end