Set name from current user to new jobs in form
This commit is contained in:
@@ -12,11 +12,11 @@
|
||||
<% end %>
|
||||
<div class="my-5">
|
||||
<%= form.label :costumer_firstname, 'Vorname' %>
|
||||
<%= form.text_field :costumer_firstname, class: "block shadow-lg rounded-md border border-hsrm-gray outline-none px-3 py-2 mt-2 w-full" %>
|
||||
<%= form.text_field :costumer_firstname, disabled: !is_admin_or_operator? ,class: "block shadow-lg rounded-md border border-hsrm-gray outline-none px-3 py-2 mt-2 w-full" %>
|
||||
</div>
|
||||
<div class="my-5">
|
||||
<%= form.label :costumer_lastname, 'Nachname' %>
|
||||
<%= form.text_field :costumer_lastname, class: "block shadow-lg rounded-md border border-hsrm-gray outline-none px-3 py-2 mt-2 w-full" %>
|
||||
<%= form.text_field :costumer_lastname, disabled: !is_admin_or_operator? ,class: "block shadow-lg rounded-md border border-hsrm-gray outline-none px-3 py-2 mt-2 w-full" %>
|
||||
</div>
|
||||
<div>
|
||||
<%= form.label :pdf, "Plan auswählen (PDF-Format)" %>
|
||||
|
||||
Reference in New Issue
Block a user