%p#notice= notice

%p
  %b Name:
  = @metapurse.name

%p
  %b Data:
  %pre= @metapurse.data

-# - @metapurse.data.each_line do |record|
  %p
    = canister_id = record.split[0]
    = amount = record.split[1].gsub(",","").to_f

-# - icpswap_pool_data_raw = File.read("./pool_data_raw.txt")

- if policy(@metapurse).edit?
  = link_to 'Edit', edit_metapurse_path(@metapurse)
  \|
= link_to 'Show Value', metapurse_path(@metapurse)
\|
= link_to 'Back', metapurses_path
