Update operator job edit view

This commit is contained in:
2024-09-09 09:30:21 +02:00
parent a456f7fcb1
commit 0da6c0ff90

View File

@@ -1,6 +1,11 @@
<div class="w-full mx-auto md:w-2/3">
<h1 class="text-4xl font-bold">Editing job</h1>
<h1 class="text-4xl font-bold">Editing job</h1>
<div id="<%= dom_id @job %>" class="flex flex-row space-x-4 shadow">
<div>
<embed type="application/pdf" src="<%= url_for(@job.pdf) %>" width="800px" height="1000px" class="" />
</div>
<div>
<%= render "form", job: @job %>
<%= link_to "Show this job", operator_job_path(@job), class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
<%= link_to "Back to jobs", operator_jobs_path, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
</div>
</div>