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.27 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.5.26 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.4.45 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.5.25 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.5.23 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.4.44 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.5.22 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.4.43 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.5.21 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.4.42 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.5.20 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.4.41 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.5.19 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.4.40 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.5.18 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.4.39 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.5.17 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.4.38 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.5.16 app/views/workarea/admin/content_emails/edit.html.haml
workarea-admin-3.4.37 app/views/workarea/admin/content_emails/edit.html.haml