alphagov/performanceplatform-admin — pull request #66 by timmow (2014-10-03 10:49:56+00:00)
Title: Update published state when editing dashboard

This is a non user editable field (unless they edit the form field in
Firebug). It defaults to False for new dashboards, and will pull the
correct value from dashboards when editing them.

If we wanted something more secure, we may be able to store the published state
in the session, or do another dashboard lookup on stagecraft when submitting
the form to make sure it is consistent, but the hidden form field seems easier
without too many drawbacks while the app is internal only.