Created
November 25, 2016 23:21
-
-
Save adkron/ee2f220abaa217d2bf97bdbe014c1998 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - if @changeset.action do | |
| .alert.alert-danger | |
| %p | |
| Oops, something isn't quite right. Please correct the errors below. | |
| = form_for @changeset, registration_path(@conn, :create), fn(f) -> | |
| .form-group | |
| = text_input f, :email, placeholder: "Name", class: "form-control" | |
| = error_tag f, :email | |
| .form-group | |
| = password_input f, :password, placeholder: "Password", class: "form-control" | |
| = error_tag f, :password | |
| = submit "Create User", class: "btn btn-primary" | |
| - end |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[error] #PID<0.512.0> running Invoyer.Endpoint terminated
Server: localhost:4000 (http)
Request: GET /
** (exit) an exception was raised:
** (ArgumentError) argument error
:erlang.bit_size([])
(phoenix_html) lib/phoenix_html/tag.ex:84: anonymous fn/2 in Phoenix.HTML.Tag.tag_attrs/1
(elixir) lib/enum.ex:1623: Enum."-reduce/3-lists^foldl/2-0-"/3
(phoenix_html) lib/phoenix_html/tag.ex:47: Phoenix.HTML.Tag.tag/2
(invoyer) web/templates/registration/new.html.haml:10: anonymous fn/1 in Invoyer.RegistrationView.new.html/1
(phoenix_html) lib/phoenix_html/form.ex:236: Phoenix.HTML.Form.form_for/4
(invoyer) web/templates/registration/new.html.haml:9: Invoyer.RegistrationView."new.html"/1
(invoyer) web/templates/layout/app.html.haml:27: Invoyer.LayoutView."app.html"/1
(phoenix) lib/phoenix/view.ex:335: Phoenix.View.render_to_iodata/3
(phoenix) lib/phoenix/controller.ex:642: Phoenix.Controller.do_render/4
(invoyer) web/controllers/registration_controller.ex:1: Invoyer.RegistrationController.action/2
(invoyer) web/controllers/registration_controller.ex:1: Invoyer.RegistrationController.phoenix_controller_pipeline/2
(invoyer) lib/invoyer/endpoint.ex:1: Invoyer.Endpoint.instrument/4
(invoyer) lib/phoenix/router.ex:261: Invoyer.Router.dispatch/2
(invoyer) web/router.ex:1: Invoyer.Router.do_call/2
(invoyer) lib/invoyer/endpoint.ex:1: Invoyer.Endpoint.phoenix_pipeline/1
(invoyer) lib/plug/debugger.ex:123: Invoyer.Endpoint."call (overridable 3)"/2
(invoyer) lib/invoyer/endpoint.ex:1: Invoyer.Endpoint.call/2
(plug) lib/plug/adapters/cowboy/handler.ex:15: Plug.Adapters.Cowboy.Handler.upgrade/4
(cowboy) src/cowboy_protocol.erl:442: :cowboy_protocol.execute/4