Created
March 28, 2019 20:19
-
-
Save leemcalilly/83a9ff2248c35b3e7c498466bb2829e7 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
<%= form_with(model: account, local: true) do |form| %> | |
<fieldset> | |
<%= form.label :name, 'Company Name' %> | |
<%= form.text_field :name %> | |
</fieldset> | |
<%= form.fields_for :user do |builder| %> | |
<fieldset> | |
<%= builder.label :email %> | |
<%= builder.text_field :email, type: 'email' %> | |
</fieldset> | |
<fieldset> | |
<%= builder.label :password %> | |
<%= builder.password_field :password %> | |
</fieldset> | |
<% end %> | |
<%= form.submit class: 'btn' %> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment