Sha256: b47ad62c84a96cb4e7477fb929e700d4596f5589b7c663a088962e4c41e79138

Contents?: true

Size: 1.09 KB

Versions: 62

Compression:

Stored size: 1.09 KB

Contents

- @page_title = "#{@email.type.titleize} #{t('workarea.admin.content_emails.email_content')}"

.content-email.view
  .view__header
    .grid.grid--middle.grid--center
      .grid__cell.grid__cell--50
        .view__heading
          = link_to "↑ #{t('workarea.admin.content_emails.transactional_email_content')}", content_emails_path
          %h1 #{@email.type.titleize} #{t('workarea.admin.content_emails.email_content')}

  .view__container.view__container--narrow

    = form_tag content_email_path(@email), method: 'patch', id: 'content-email_form', data: { unsaved_changes: '' } do

      .section
        .property
          = label_tag 'email[content]', t('workarea.admin.fields.content'), class: 'property__name'
          .wysiwyg{ data: { wysiwyg: '' } }= text_area_tag 'email[content]', @email.content, class: 'text-box text-box--multi-line text-box--i18n'

      .workflow-bar
        .grid.grid--auto.grid--right.grid--middle
          .grid__cell= button_tag t('workarea.admin.content_emails.save_content'), value: 'save_content_email', class: 'workflow-bar__button workflow-bar__button--update'

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-admin-3.5.15 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.4.36 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.5.14 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.4.35 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.5.13 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.4.34 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.5.12 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.4.33 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.5.11 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.5.10 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.4.32 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.5.9 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.4.31 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.5.8 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.4.30 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.5.7 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.4.29 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.5.6 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.4.28 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.5.5 app/views/workarea/admin/content_emails/edit.html.haml