Skip to content

Commit

Permalink
feat(account shares): update the new public share page (#80)
Browse files Browse the repository at this point in the history
* feat(account shares): update new public share page

* feat(account shares): some fixes
  • Loading branch information
andreybakanovsky committed Sep 8, 2023
1 parent d2eb7f4 commit 86584eb
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions app/views/public_account_shares/new.html.slim
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
.column
= link_to 'Back', account_shares_path, class: 'button is-light'
.column
p Create a new Public Account Share

= form_with(url: account_public_account_shares_path, method: :post) do |form|
= form.submit 'Create', class: 'button is-primary'
.columns.is-centered
.column.is-one-third
h1.title.is-5.has-text-centered
| Create a new Public Account Share for:
.subtitle.is-5.has-text-centered
= link_to account.name, account_path(account)
= form_with(url: account_public_account_shares_path, method: :post) do |form|
.buttons.is-centered
= link_to 'Back', account_shares_path(account), class: 'button is-light'
= form.submit 'Create', class: 'button is-primary'

0 comments on commit 86584eb

Please sign in to comment.