-
-
Save shankardevy/4aace9771b5d339133b39b48e39fcfef to your computer and use it in GitHub Desktop.
This file contains 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
<h1>Register account</h1> | |
<%= form_for @changeset, registration_path(@conn, :create), [as: :registration, id: "registration-form"], fn f -> %> | |
<div class="form-group"> | |
<%= label f, :name, class: "control-label" %> | |
<%= text_input f, :name, class: "form-control" %> | |
<%= error_tag f, :name %> | |
</div> | |
<%= submit "Register", class: "btn btn-primary" %> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment