<% if alert = flash[:alert] %>
<%= alert %>
<% end %>
<% if notice = flash[:notice] %>
<%= notice %>
<% end %>
🎉 Welcome to Baffle Hub!
This is the first time Baffle Hub is being set up. You'll create the initial administrator account
that will have full access to manage users, projects, and system settings.
Create Administrator Account
<%= form_with(model: @user, url: registration_path, class: "contents") do |form| %>
<% if @user.errors.any? %>
<%= pluralize(@user.errors.count, "error") %> prohibited this account from being saved:
<% @user.errors.each do |error| %>
- <%= error.full_message %>
<% end %>
<% end %>
<%= form.email_field :email_address, required: true, autofocus: true, autocomplete: "email", placeholder: "Enter your email address", class: "block shadow-sm rounded-md border border-gray-400 focus:outline-blue-600 px-3 py-2 mt-2 w-full" %>
<%= form.password_field :password, required: true, autocomplete: "new-password", placeholder: "Create a password", minlength: 8, class: "block shadow-sm rounded-md border border-gray-400 focus:outline-blue-600 px-3 py-2 mt-2 w-full" %>
Minimum 8 characters
<%= form.password_field :password_confirmation, required: true, autocomplete: "new-password", placeholder: "Confirm your password", minlength: 8, class: "block shadow-sm rounded-md border border-gray-400 focus:outline-blue-600 px-3 py-2 mt-2 w-full" %>
<%= form.submit "Create Administrator Account", class: "rounded-md px-3.5 py-2.5 bg-green-600 hover:bg-green-500 text-white font-medium cursor-pointer" %>
<% end %>
This administrator account will have:
- Full system access and control
- Ability to manage other users
- Permission to create and manage projects
- Access to system configuration and analytics