= semantic_form_for component,
  as:     :component,
  url:    admin_component_path(component),
  remote: true,
  html:   {id: dom_id(component, 'form'), data: {type: :json, autosave: true}} do |f|

  = f.semantic_errors *f.object.errors.keys

  = f.inputs do
    = f.input :h1

    - unless :text.in? f.object.decorate.form_disabled_attrs
      = f.input :text, as: :default_wysiwyg, height: :small

    = f.input :key, as: :hidden

    - if :link_url.in? f.object.decorate.form_additional_editable_attrs
      = f.input :link_url

  = f.input :images, as: :images

= semantic_form_for component,
  as:     :component,
  url:    admin_component_path(component),
  remote: true,
  html:   {id: dom_id(component, 'form'), data: {type: :json, autosave: true}} do |f|

  = f.semantic_errors *f.object.errors.keys

  = f.inputs do
    = f.input :h1

    - unless :text.in? f.object.decorate.form_disabled_attrs
      = f.input :text, as: :default_wysiwyg, height: :small

    = f.input :key, as: :hidden

    - if :link_url.in? f.object.decorate.form_additional_editable_attrs
      = f.input :link_url
      = f.input :link_label

  = f.input :images, as: :images

Include link_label to HoverItem form
Include link_label to HoverItem form

polomarte/martian_components,polomarte/martian_components,polomarte/martian_components