19 lines
507 B
Plaintext
19 lines
507 B
Plaintext
= simple_form_for(@metapurse) do |f|
|
|
= f.error_notification
|
|
|
|
.form-inputs
|
|
= f.hidden_field :user_id
|
|
= f.input :name
|
|
- if @metapurse.user_id
|
|
= f.input :is_private
|
|
- else
|
|
- @metapurse.is_private = false
|
|
= f.input :is_private, disabled: true
|
|
= link_to "Sign in", new_user_session_path
|
|
to enable Private MetaPurse only you can see
|
|
|
|
= f.input :data, placeholder: "canister-id amount\niozql-7iaaa-aaaah-advvq-cai 88.0"
|
|
|
|
.form-actions
|
|
= f.button :submit
|