-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(shares): update new page update email text * feat(shares): fix code
- Loading branch information
1 parent
a89125a
commit 81ca75d
Showing
3 changed files
with
16 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.columns.is-centered | ||
.column.is-one-third | ||
h1.title.is-5.has-text-centered | ||
| Share account: | ||
.subtitle.is-5.has-text-centered | ||
= link_to account.name, account_path(account) | ||
= form_with url: account_shares_path, method: :post do |f| | ||
.field | ||
= f.text_field :name, name: 'account_share[name]', autofocus: true, class: "input", placeholder: "Name" | ||
.field | ||
= f.email_field :email, name: 'account_share[email]', type: "email" | ||
br | ||
div.buttons.is-flex.is-justify-content-flex-end | ||
= link_to 'Back', account_shares_path, class: 'button is-light' | ||
= f.submit "Send invitation", class: 'button is-primary' |