Your Profile

<%= form_with model: @user, url: profile_path, method: :patch, class: "card card-body space-y-4 max-w-md" do |f| %> <%= f.errors_summary %> <%= f.field :name %> <%= f.field :email_address, as: :email, label: "Email" %> <%= f.field :password, as: :password, label: "New password", hint: "Leave blank to keep your current password.", autocomplete: "new-password" %> <%= f.field :password_confirmation, as: :password, label: "Confirm new password" %> <%= f.submit "Save" %> <% end %>

Integrations

<%= link_to "AirTrail sync", air_trail_connection_path, class: "link" %>: <%= current_user.air_trail_connection&.enabled? ? "on" : "off" %>. Push the flights you log to your AirTrail flight map automatically.