demarches-normaliennes/app/views/admin/procedures/publish.js.erb
Nicolas Bouilleaud 00c37eccb3 Simplify procedure.path and publish event
* Get rid of the “reopen” event, merge it with “publish” (it’s the same code)
* Remove the “availability” states; “available with brouillon” makes no sense since the brouillons path are always uuids
* Instead of checking if publish can happen, just try it and handle the errors
2019-09-17 16:30:48 +02:00

1 line
48 B
Text

<%= "togglePathMessage(#{@valid}, #{@mine})" %>