title: Rails ActiveAdmin active_admin_form_for submit button disabled
body: <p>I have a form where has many nested forms with submit button for each. I want to disable some submit buttons according to a certain condition. but I couldn't find such property.</p>
  <p>Here is my code:</p>
  <pre><code>active_admin_form_for [:activeadmin, @some_obj], {
      url: {action: 'some_action'}, method: :patch
    } do |f|
      f.inputs 'Some Name' do
        f.li &quot;some html&quot;.html_safe
      end
  
    f.actions do
      f.action :submit, label: 'Update'
    end
  end
  </code></pre>
  <p>I tired the following but nothing worked:</p>
  <p><code>f.action :submit, label: 'Update', disabled: true</code></p>
  <p><code>f.action :submit, label: 'Update', input_html: {readonly: :true}</code></p>
  <p><code>f.action :submit, label: 'Update', input_html: {disabled: :true}</code></p>
  <p><code>f.action :submit, label: 'Update', button_html: {disabled: true}</code></p>
  <p><code>f.action :submit, label: 'Update', button_html: {readonly: true}</code></p>
  <p>Any clue?</p>