= 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.inputs do
    = f.input :h1
    = f.input :text, as: :default_wysiwyg
    = f.input :key, as: :hidden

  - background = component.background || component.images.build(kind: 'background')
  - image = component.image || component.images.build(kind: 'image')
  = render 'components/_shared/images_inputs', f: f, images: [background, image]

= 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.inputs do
    = f.input :h1
    = f.input :h2
    = f.input :text, as: :default_wysiwyg
    = f.input :key, as: :hidden

  - background = component.background || component.images.build(kind: 'background')
  - image = component.image || component.images.build(kind: 'image')
  = render 'components/_shared/images_inputs', f: f, images: [background, image]

Update Content component form. Include h2 field
Update Content component form. Include h2 field

polomarte/martian_components,polomarte/martian_components,polomarte/martian_components