Sha256: 7817196cf3825e72f9f7aafb70368ee32c8cb3224e50937b8a7fa57de8c13a04

Contents?: true

Size: 547 Bytes

Versions: 1

Compression:

Stored size: 547 Bytes

Contents

.stocks--index.maxwidth
  .maxwidth
    %h5 Stocks

  %table.bordered.padded
    %thead
      %tr
        %td Ticker
        %td last price
        %td n priceitems
    %tbody
      - @stocks.each do |stock|
        %tr
          %td
            = link_to '[~]', edit_stock_path(stock)
            = link_to '[api]', stock_path(stock, format: :json)
            <b>#{stock.ticker}</b>
          %td
            #{pp_amount stock.last}
          %td
            = stock.priceitems.length

  %hr
  = render 'iro/stocks/form', stock: Iro::Stock.new

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
iron_warbler-2.0.7.27 app/views/iro/stocks/index.haml