Anyone know how to set the progress bar value in the controller and pass it to the view? I tried the following:
Controller/show: @progress_bar_num = "25%"
View/show: <div class="progress"> <div class="progress-bar" role="progressbar" aria-valuenow=<%= @p_bar_number %> aria-valuemin="0" aria-valuemax="100" style="width: <%= @p_bar_num%>;"> <%=@p_bar_num%> </div> </div>
Not even close...
Thanks!
Dave