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