mirror of
https://github.com/we-promise/sure.git
synced 2026-04-17 19:14:11 +00:00
* fix: replace hardcoded bg-white with bg-container in notification notice * fix: replace hardcoded text-white with fg-inverse in notification CTA * fix: replace hardcoded text-white with fg-inverse in text tooltip * fix: replace hardcoded bg-gray-900 text-white with bg-inverse fg-inverse in invitations form * fix: replace hardcoded bg-gray-800 text-white with bg-inverse fg-inverse in AI consent form * fix: replace hardcoded text-white with fg-inverse in changelog page * fix: replace hardcoded text-white and border-gray-500 with fg-inverse and border-secondary in investment tooltip * fix: replace hardcoded text-white with fg-inverse in holdings missing price tooltip * fix: replace hardcoded text-white and bg-gray-400 with fg-inverse and bg-surface-inset in settings profiles * fix: replace hardcoded bg-orange-500 text-white with bg-yellow-600 fg-inverse in settings hosting danger zone --------- Co-authored-by: Eran Avidor <eavidor@Eran-Avidor-MBP.lan>
25 lines
768 B
Plaintext
25 lines
768 B
Plaintext
<%= render DialogComponent.new do |dialog| %>
|
|
<% dialog.with_header(title: t(".title"), subtitle: t(".subtitle")) %>
|
|
|
|
<% dialog.with_body do %>
|
|
<%= styled_form_with model: @invitation, class: "space-y-4", data: { turbo: false } do |form| %>
|
|
<%= form.email_field :email,
|
|
required: true,
|
|
placeholder: t(".email_placeholder"),
|
|
label: t(".email_label") %>
|
|
|
|
<%= form.select :role,
|
|
options_for_select([
|
|
[t(".role_member"), "member"],
|
|
[t(".role_admin"), "admin"]
|
|
]),
|
|
{},
|
|
{ label: t(".role_label") } %>
|
|
|
|
<div class="w-full">
|
|
<%= form.submit t(".submit"), class: "bg-inverse fg-inverse rounded-lg px-4 py-2 w-full" %>
|
|
</div>
|
|
<% end %>
|
|
<% end %>
|
|
<% end %>
|