Sha256: 7de25de8079980808f0e34675603314368b697eb5d4f46c5ad359eca13c2cdae

Contents?: true

Size: 496 Bytes

Versions: 13

Compression:

Stored size: 496 Bytes

Contents

<h1>Acme Financial Report for <%= @year %></h1>

<% if @txns.empty? %>
  <h2>There are no <%= @txn_type %> transactions for <%= @year %></h2>
<% else %>
  <h2>All <%= @txn_type.titlecase %> Transactions</h2>

  <table id="report"> 
    <tr>
      <th>Type</th>
      <th>Amount</th>
    </tr>
    <% @txns.each do |txn| %>
      <tr class="transaction">
        <td class="type"><%= txn.type %></td>
        <td class="amount"><%= txn.amount %></td>
      </tr>
    <% end %>
  </table>
<% end %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
pagemodels-0.2.3 examples/rails_and_cucumber/app/views/financial_reports/show.html.erb
pagemodels-0.2.2 examples/rails_and_cucumber/app/views/financial_reports/show.html.erb
pagemodels-0.2.1 examples/rails_and_cucumber/app/views/financial_reports/show.html.erb
pagemodels-0.2.0 examples/rails_and_cucumber/app/views/financial_reports/show.html.erb
pagemodels-0.1.8 examples/rails_and_cucumber/app/views/financial_reports/show.html.erb
pagemodels-0.1.7 examples/rails_and_cucumber/app/views/financial_reports/show.html.erb
pagemodels-0.1.6 examples/rails_and_cucumber/app/views/financial_reports/show.html.erb
pagemodels-0.1.5 examples/rails_and_cucumber/app/views/financial_reports/show.html.erb
pagemodels-0.1.4 examples/rails_and_cucumber/app/views/financial_reports/show.html.erb
pagemodels-0.1.3 examples/rails_and_cucumber/app/views/financial_reports/show.html.erb
pagemodels-0.1.2 examples/rails_and_cucumber/app/views/financial_reports/show.html.erb
pagemodels-0.1.1 examples/rails_and_cucumber/app/views/financial_reports/show.html.erb
pagemodels-0.1.0 examples/rails_and_cucumber/app/views/financial_reports/show.html.erb