Packages

A few sentences (a paragraph) describing the project.

Current section

Files

Jump to
vtexws lib vtex_ws_web templates app form.html.eex
Raw

lib/vtex_ws_web/templates/app/form.html.eex

<%= 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 %>
<%= label f, :name %>
<%= text_input f, :name %>
<%= error_tag f, :name %>
<%= label f, :slug %>
<%= text_input f, :slug %>
<%= error_tag f, :slug %>
<%= label f, :app_id %>
<%= text_input f, :app_id %>
<%= error_tag f, :app_id %>
<%= label f, :api_key %>
<%= text_input f, :api_key %>
<%= error_tag f, :api_key %>
<%= label f, :vtex_url %>
<%= text_input f, :vtex_url %>
<%= error_tag f, :vtex_url %>
<%= label f, :vtex_app_key %>
<%= text_input f, :vtex_app_key %>
<%= error_tag f, :vtex_app_key %>
<%= label f, :vtex_app_token %>
<%= text_input f, :vtex_app_token %>
<%= error_tag f, :vtex_app_token %>
<div>
<%= submit "Save" %>
</div>
<% end %>