Give label in form a title

This commit is contained in:
2024-08-01 23:35:55 +02:00
parent f7a60a90d8
commit 884ee53748

View File

@@ -11,11 +11,11 @@
</div>
<% end %>
<div class="my-5">
<%= form.label :costumer_firstname %>
<%= 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" %>
</div>
<div class="my-5">
<%= form.label :costumer_lastname %>
<%= 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" %>
</div>
<!-- <div class="my-5"> -->