I'm running Rails 4 and am trying to use a bootstrap form wizard. The thing about the form wizard is that not all of its tabs should be displayed at all times.
The form wizard is in a partial that I render via $("#tab3").html("<%= j(render partial: 'wizard' ) %>");
in update_forms.js.erb
(called via an ajax call).
Everything works well in this except the progress bar doesn't display (it is 0) unless I refresh the page. Any thoughts on how I can set the progress bar when rendering the partial?
Thanks!
Aucun commentaire:
Enregistrer un commentaire