Updated job view and edit
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
<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="" />
|
||||
<embed type="application/pdf" src="<%= url_for(@job.pdf) %>#view=Fit" width="700px" height="900px" 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" %>
|
||||
<%= link_to "Show this job", operator_job_path(@job), class: "btn" %>
|
||||
<%= link_to "Back to jobs", operator_jobs_path, class: "btn" %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user