<%= form_with model: @onboard_client,
url: admin_portal_onboard_client_path,
local: true do |f| %>
Company Information
<%= f.label :name, class: "form-label text-secondary small" %>
<%= f.text_field :name,
class: "form-control form-control-sm rounded-pill" %>
<%= f.label :registration_number, class: "form-label text-secondary small" %>
<%= f.text_field :registration_number,
class: "form-control form-control-sm rounded-pill" %>
Address
<%= f.label :address_1, "Address Line 1", class: "form-label text-secondary small" %>
<%= f.text_field :address_1,
class: "form-control form-control-sm rounded-pill" %>
<%= f.label :city, class: "form-label text-secondary small" %>
<%= f.text_field :city,
class: "form-control form-control-sm rounded-pill" %>
Contact
<%= f.label :email, class: "form-label text-secondary small" %>
<%= f.email_field :email,
class: "form-control form-control-sm rounded-pill" %>
Branding
<% if @onboard_client.logo.attached? %>
<%= image_tag @onboard_client.logo,
height: 80,
class: "img-fluid" %>
<% end %>
<%= f.label :logo, "Company Logo", class: "form-label text-secondary small" %>
<%= f.file_field :logo,
class: "form-control form-control-sm rounded-pill" %>
PNG or JPG. Recommended size: 512Ă—512.
<%= f.submit "Save Changes",
data: { turbo: false },
class: "btn btn-primary rounded-pill px-5" %>
<% end %>