Skip to content
Snippets Groups Projects
page-admin-circles-create.pug 2.23 KiB
Newer Older
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}`)
Gaëlle Morin's avatar
Gaëlle Morin committed
  solid-form.form(
    data-src=`${getComponent('circles').endpoints.post}`
    fields='status, linebreak, name, subtitle, description, help'
    required-status
    required-name
    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-linebreak='segment half sm-hidden'
    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'
Gaëlle Morin's avatar
Gaëlle Morin committed
    label-status=''
    label-name=''
Gaëlle Morin's avatar
Gaëlle Morin committed
    label-description=''
Gaëlle Morin's avatar
Gaëlle Morin committed
    widget-linebreak='solid-form-hidden'
    widget-description='solid-form-richtext-label'
    widget-help='solid-form-hidden-label'
    next=getRoute('circles', true)
Gaëlle Morin's avatar
Gaëlle Morin committed
    submit-button=''
    submit-widget="button"
    data-trans='label-status=circle.create.labelStatus;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'