Fixed show and edit action for operator/jobs

This commit is contained in:
2024-09-08 00:07:20 +02:00
parent ba4331c252
commit beab461e6e
3 changed files with 38 additions and 36 deletions

View File

@@ -1,8 +1,6 @@
<div class="mx-auto md:w-2/3 w-full">
<h1 class="font-bold text-4xl">Editing job</h1>
<div class="w-full mx-auto md:w-2/3">
<h1 class="text-4xl font-bold">Editing job</h1>
<%= render "form", job: @job %>
<%= link_to "Show this job", @job, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
<%= link_to "Back to jobs", 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: "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>