narrow devise forms

This commit is contained in:
Alex Turchyn
2023-09-17 09:14:23 +03:00
parent 6f8e88cdbd
commit a1a0205d33
6 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
<div class="max-w-xl mx-auto px-2">
<h1 class="text-3xl font-bold text-center my-8">Profile Details</h1>
<div class="max-w-lg mx-auto px-2">
<h1 class="text-3xl font-bold text-center mt-8">Profile Details</h1>
<%= form_for('', as: resource_name, html: { class: 'space-y-6' }, data: { turbo: params[:redir].blank? }, url: new_registration_path) do |f| %>
<% if params[:redir].present? %>
<%= hidden_field_tag :redir, params[:redir] %>