Last active
July 11, 2018 05:28
-
-
Save Ninigi/6f06c5e9e5dc8530985bc03bbabb97f5 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
<h2>New Shop</h2> | |
<%= render "signup_form.html", Map.put(assigns, :action, shop_path(@conn, :signup)) %> |
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_for @changeset, @action, fn f -> %> | |
<%= if @changeset.action do %> | |
<div class="alert alert-danger"> | |
<p>Oops, something went wrong! Please check the errors below.</p> | |
</div> | |
<% end %> | |
<div class="form-group"> | |
<%= label f, :shopify_domain, class: "control-label" %> | |
<%= text_input f, :shopify_domain, class: "form-control" %> | |
<%= error_tag f, :shopify_domain %> | |
</div> | |
<div class="form-group"> | |
<%= submit "Install", class: "btn btn-primary" %> | |
</div> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment