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 -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/0695d10259e506817ffe98fb411819bc%40ruby-forum.com. For more options, visit https://groups.google.com/d/optout.