Field
Use
Field
to render form fields with labels, descriptions, and errors.
Short-hand
<%= nk_field :name, placeholder: "B Gates" %>
Build
- Own
<%= nk_field :name do |f| %>
<%= f.label "Or" %>
<%= f.description "Build" %>
<%= f.control placeholder: "Your" %>
<%= f.errors ["Own"] %>
<% end %>
With description and custom label
Some more details, y'know?