index.html.slim 330 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 .pool-div h2 My Bets = simple_nested_form_for current_user, url: put_bets_path, method: :patch do |f| - @pools.each do |pool| div h3 = pool.name - if pool.editable? = render 'pool_form', pool: pool, f: f - else = render 'readonly_pool', pool: pool div = f.submit 'Save'