mirror of
https://github.com/docusealco/docuseal
synced 2026-11-07 07:22:32 -05:00
update submission card
This commit is contained in:
1 parent
f09732df90
commit
87b57279a4
3 files changed
+60
-41
No files matched your search
@@ -18,6 +18,16 @@ class SubmissionsController < ApplicationController
|
||||
'payment' => 'credit_card', 'verification' => 'id', 'kba' => 'user_scan'
|
||||
}.freeze
|
||||
|
||||
STATUS_BADGES = {
|
||||
'awaiting' => 'badge-info', 'sent' => 'badge-info', 'completed' => 'badge-success',
|
||||
'opened' => 'badge-warning', 'declined' => 'badge-error'
|
||||
}.freeze
|
||||
|
||||
STATUS_ICONS = {
|
||||
'awaiting' => 'clock', 'sent' => 'send', 'completed' => 'circle_check',
|
||||
'opened' => 'mail_opened', 'declined' => 'x_circle'
|
||||
}.freeze
|
||||
|
||||
def show
|
||||
@submission = Submissions.preload_with_pages(@submission)
|
||||
|
||||
|
||||
Reference in new issue
Block a user