mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 06:52:33 -05:00
implement submission page
This commit is contained in:
1 parent
587be1bb67
commit
1da67011c4
17 files changed
+231
-130
No files matched your search
@@ -12,6 +12,8 @@ class SubmissionsController < ApplicationController
|
||||
Submission.joins(:template).where(template: { account_id: current_account.id })
|
||||
.preload(template: { documents_attachments: { preview_images_attachments: :blob } })
|
||||
.find(params[:id])
|
||||
|
||||
render :show, layout: 'plain'
|
||||
end
|
||||
|
||||
def new; end
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class TemplatesController < ApplicationController
|
||||
layout false
|
||||
layout 'plain'
|
||||
|
||||
before_action :load_base_template, only: %i[new create]
|
||||
|
||||
|
||||
Reference in new issue
Block a user