Sha256: 1e371527c7334f130807f39eb5d10ba352937ae6b615f969d30cb3087f536364
Contents?: true
Size: 361 Bytes
Versions: 2
Compression:
Stored size: 361 Bytes
Contents
import { UI, Views } from "loco-js"; class Form extends Views.Base { constructor(opts = {}) { super(opts); } render() { const form = new UI.Form({ id: "sign_in_admin", delegator: this, callbackSuccess: "_signedIn" }); form.render(); } _signedIn() { window.location.href = "/admin"; } } export default Form;
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
loco-rails-3.0.5 | test/dummy/frontend/js/views/admin/sessions/Form.js |
loco-rails-3.0.4 | test/dummy/frontend/js/views/admin/sessions/Form.js |