Files
firezone/apps/cloudfire/lib/cloudfire_web/templates/device/form.html.eex
Jamil Bou Kheir d049b006f6 Initial commit
2020-04-21 20:49:55 -07:00

16 lines
345 B
Elixir

<%= 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 %>
<div>
<%= submit "Save" %>
</div>
<% end %>