div.segment.full.padding-large.sm-padding-top-small.sm-padding-right-xsmall.sm-padding-bottom-small.sm-padding-left-xsmall.border-bottom.border-color-grey
  div.segment.half.sm-full  
    h2.margin-none.text-color-heading.text-uppercase.text-xlarge.text-letter-spacing-large(data-trans='circle.create.title')
  div.segment.half.sm-hidden.text-right
    solid-link(class="backlink", next=`admin-${getRoute('circles', true)}` data-trans='circle.create.backlink')

div.segment.full.padding-large.sm-padding-xsmall.sm-padding-top-medium.whitespace-normal
  div.loader.loader-top(id=`loader-admin-${getComponent('circles').uniq}`)
    div
    div
    div
    div

  solid-form.form(
    data-src=`${getComponent('circles').endpoints.post}`

    fields='status, community, name, subtitle, description, help'
    required-status
    required-community
    required-name
    required-subtitle
    loader-id=`loader-admin-${getComponent('circles').uniq}`

    class-status='segment margin-bottom-medium half sm-full padding-right-small sm-padding-none text-small text-semibold text-uppercase text-color-heading whitespace-normal'
    class-community='segment margin-bottom-medium half sm-full padding-left-small sm-padding-none text-small text-semibold text-uppercase text-color-heading whitespace-normal'
    class-name='segment margin-bottom-medium half sm-full padding-right-small sm-padding-none text-small text-semibold text-uppercase text-color-heading'
    class-subtitle='segment margin-bottom-medium half sm-full padding-left-small sm-padding-none text-small text-semibold text-uppercase text-color-heading'
    class-description='segment margin-bottom-xxsmall full text-small text-semibold text-uppercase text-color-heading'
    class-help='segment full text-small margin-bottom-medium padding-left-small'

    label-status=''
    label-community=''
    label-name=''
    label-subtitle=''
    label-description=''
    label-help=''

    range-community='store://user.communities'
    option-label-community="community.name"

    widget-status='solid-form-dropdown-autocompletion-label'
    enum-status=""
    widget-community='solid-form-dropdown-autocompletion-label'
    widget-linebreak='solid-form-hidden'

    widget-description='solid-form-richtext-label'
    widget-help='solid-form-hidden-label'

    next=getRoute('circles', true)

    submit-button=''
    submit-widget="button"

    data-trans='enum-status=hublStatus;label-status=circle.create.labelStatus;label-community=circle.create.labelCommunity;label-name=circle.create.labelName;label-description=circle.create.labelDescription;submit-button=circle.create.buttonSubmit;label-subtitle=circle.create.labelSubtitle;label-help=circle.create.descriptionHelp'
  )