<%= render "wrapper", title: "Step 1: Company Details", subtitle: "Fill in all company information to create your workspace", step: 1 do %> <%= form_with model: @onboard_client, url: onboarding_company_details_path, local: true, html: { multipart: true } do |f| %>
<%= f.label :name, "Company Name", class: "form-label" %> <%= f.text_field :name, class: "form-control", required: true %>
<%= f.label :registered_name, "Trading / Registered Name", class: "form-label" %> <%= f.text_field :registered_name, class: "form-control" %>
<%= f.label :registration_number, "Registration Number", class: "form-label" %> <%= f.text_field :registration_number, class: "form-control" %>
<%= f.label :vat_number, "VAT Number", class: "form-label" %> <%= f.text_field :vat_number, class: "form-control" %>
<%= f.label :tin_number, "TIN Number", class: "form-label" %> <%= f.text_field :tin_number, class: "form-control" %>
<%= f.label :address_1, "Address Line 1", class: "form-label" %> <%= f.text_field :address_1, class: "form-control", required: true %>
<%= f.label :address_2, "Address Line 2", class: "form-label" %> <%= f.text_field :address_2, class: "form-control" %>
<%= f.label :location, "Location / Area", class: "form-label" %> <%= f.text_field :location, class: "form-control", required: true %>
<%= f.label :city, "City", class: "form-label" %> <%= f.text_field :city, class: "form-control", required: true %>
<%= f.label :country, "Country", class: "form-label" %> <%= f.text_field :country, class: "form-control", required: true %>
<%= f.label :email, "Contact Email", class: "form-label" %> <%= f.email_field :email, class: "form-control", required: true %>
<%= f.label :phone_1, "Primary Phone", class: "form-label" %> <%= f.telephone_field :phone_1, class: "form-control", required: true %>
<%= f.label :phone_2, "Secondary Phone", class: "form-label" %> <%= f.telephone_field :phone_2, class: "form-control" %>
<%= f.label :billing_type, "Billing Type", class: "form-label" %> <%= f.select :billing_type, ["Prepaid", "Postpaid", "Other"], { prompt: "Select Billing Type" }, class: "form-select" %>
<%= f.label :organization_size, "Organization Size", class: "form-label" %> <%= f.select :organization_size, ["Micro (1-9 employees)", "Small (10-49)", "Medium (50-249)", "Large (250+)", "Enterprise (1000+)"], { prompt: "Select Organization Size" }, class: "form-select" %>
<%= f.label :licence_expiry, "Licence Expiry", class: "form-label" %> <%= f.date_field :licence_expiry, class: "form-control" %>
<%= f.label :logo, "Upload Logo", class: "form-label" %> <%= f.file_field :logo, class: "form-control" %>
<%= f.label :subdomain, "Workspace URL", class: "form-label" %>
<%= f.text_field :subdomain, class: "form-control", placeholder: "dapsoft" %> .lvh.me
This will be your company's login URL
<%= f.submit "Save & Continue", class: "btn btn-primary btn-lg" %>
<% end %> <% end %>