Answers for "label form"

15

html input label

<!-- By reference -->
<label for="first_name">First Name</label>
<input type="text" id="first_name" name="first_name">

<!-- By wrapping -->
<label>First Name
  <input type="text" name="first_name">
</label>
Posted by: Guest on May-31-2020
1

simple form label

<%= f.input :source_type, :label => "Label Answer" %>
Posted by: Guest on June-26-2020

Browse Popular Code Answers by Language