<%= f.label @attribute, class: "block text-sm font-medium leading-6 text-gray-900" %>
<%= f.input_field @attribute, as: :text, rows: 3, class: "block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary-600 sm:text-sm sm:leading-6" %> <% if f.object.errors[@attribute].present? %>
<%= render(IconComponent.new(:exclamation, class: "h-5 w-5 text-red-500")) %>
<% end %>
<% if @args[:hint] %>

<%= @args[:hint] %>

<% end %> <%= f.error @attribute, id: "#{@attribute}_error", class: "mt-2 text-sm text-red-600" %>