mirror of
https://github.com/we-promise/sure.git
synced 2026-04-08 14:54:49 +00:00
* added german translation consistently added all translation yml files for german language * Correct quotation and syntax errors in new de locale files Corrected misplaced or missing quotation marks in YAML * Updated German translations Added missing files, fixed for customizable branding * corrected yml formatting added missing "" when : where used in the string * Interpolation errors * More interpolation issues * Last round of interpolation errors? * Add German to supported locales * Still a few more interpolations --------- Signed-off-by: Juan José Mata <juanjo.mata@gmail.com> Co-authored-by: Juan José Mata <juanjo.mata@gmail.com>
25 lines
791 B
Plaintext
25 lines
791 B
Plaintext
<%= render DS::Dialog.new do |dialog| %>
|
|
<% dialog.with_header(title: t(".title"), subtitle: t(".subtitle", product_name: product_name)) %>
|
|
|
|
<% 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 %>
|