36 lines
644 B
Plaintext
36 lines
644 B
Plaintext
|
|
- if policy(@token).edit?
|
|
= link_to 'Edit', edit_token_path(@token)
|
|
= link_to 'Delete', @token, method: :delete, data: { confirm: 'Are you sure?' }
|
|
|
|
= link_to "Refresh Data", refresh_token_path(@token)
|
|
|
|
%p
|
|
%b Canister:
|
|
= @token.canister_id
|
|
%p
|
|
%b Logo:
|
|
- if @token.logo_url.present?
|
|
-# %img{src: @token.logo_url}
|
|
-# :escaped
|
|
=raw "<img class='token-logo' src=#{@token.logo_url} />"
|
|
%p
|
|
%b Standard:
|
|
= @token.standard
|
|
%p
|
|
%b Symbol:
|
|
= @token.symbol
|
|
%p
|
|
%b Name:
|
|
= @token.name
|
|
%p
|
|
%b Total supply:
|
|
= @token.total_supply
|
|
%p
|
|
%b Decimals:
|
|
= @token.decimals
|
|
%p
|
|
%b Transfer fee:
|
|
= @token.transfer_fee_to_f
|
|
|