Sha256: da5049a9af225a5928cd6882776a184281d43ff64414cbf2aeead8641f6bc2c7
Contents?: true
Size: 742 Bytes
Versions: 2
Compression:
Stored size: 742 Bytes
Contents
<div class="bars"> <% bars.each do |bar| %> <div> <form action='<%= delete_bar_path(bar.id) %>' method="post" id="delete-bar-<%=bar.id%>"> <%= "#{bar.id} - #{bar.name} | #{bar.current} of #{bar.total}" %> <button type="submit" class="btn btn-danger btn-sm">X</button> </form> <div class="progress"> <div class="progress-bar progress-bar-striped progress-bar-animated" role="progressbar" style="width: <%= bar.percent %>%;" aria-valuenow="<%= bar.current %>" aria-valuemin="0" aria-valuemax="<%= bar.total %>"> <%= bar.percent %>% </div> </div> <% if bar.bars %> <%= partial :bars, locals: { bars: bar.bars } %> <% end %> </div> <% end %> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bario-0.1.1 | lib/bario/web/views/bars.erb |
bario-0.1.0 | lib/bario/web/views/bars.erb |