Updated seed and model costumer association
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<strong class="mb-1 font-medium">Operator ID:</strong>
|
||||
<%= job.operator_id %>
|
||||
<% if job.operator %>
|
||||
(<%= job.operator.name %>)
|
||||
- <%= job.operator.name %> (<%= job.operator.email %>)
|
||||
<% else %>
|
||||
-
|
||||
<% end %>
|
||||
@@ -16,7 +16,7 @@
|
||||
<strong class="mb-1 font-medium">Costumer ID:</strong>
|
||||
<%= job.costumer_id %>
|
||||
<% if job.costumer %>
|
||||
(<%= job.costumer.name %>)
|
||||
- <%= job.costumer.name %> (<%= job.costumer.email %>)
|
||||
<% else %>
|
||||
-
|
||||
<% end %>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<div class="flex w-full mx-auto md:w-2/3">
|
||||
<div class="container flex w-full mx-auto">
|
||||
<div class="mx-auto">
|
||||
<% if notice.present? %>
|
||||
<p class="inline-block px-3 py-2 mb-5 font-medium text-green-500 rounded-lg bg-green-50" id="notice"><%= notice %></p>
|
||||
|
||||
Reference in New Issue
Block a user