Sha256: 34eaf01713eec00a7d2e7d56cefe630305dac006b3be0ac9971c24139c1ae631

Contents?: true

Size: 470 Bytes

Versions: 2

Compression:

Stored size: 470 Bytes

Contents

= card('Chat Permission') do
  = effective_form_with(model: [:admin, cpd_audit], engine: true) do |f|
    %p By default, auditees and reviewers can send messages until the audit is closed.

    .row
      .col-sm-6
        = f.select :chat_permission, cpd_audit.class.chat_permissions, label: false
        = f.submit 'Save', center: true, border: false

- if cpd_audit.chat.present?
  = render('effective/chats/chat', chat: cpd_audit.chat)
- else
  %p No chat messages

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
effective_cpd-1.2.4 app/views/admin/cpd_audits/_form_chat.html.haml
effective_cpd-1.2.3 app/views/admin/cpd_audits/_form_chat.html.haml