<%= form_with model: [:admin, component], local: true, class: 'max-w-md space-y-2' do |f| %>
  <div>
    <%= f.label :name, class: 'block text-sm leading-5 font-medium text-gray-700' %>
    <%= f.text_field :name, class: 'mt-1 form-input block w-full sm:text-sm sm:leading-5' %>
  </div>
  <div>
    <%= f.label :ord, class: 'block text-sm leading-5 font-medium text-gray-700' %>
    <%= f.text_field :ord, type: :integer, class: "mt-1 form-input block w-full sm:text-sm sm:leading-5" %>
  </div>
  <div>
    <%= f.submit 'Submit', class: 'btn-primary' %>
  </div>
<% end %>
