<%= form_for @changeset, @action, fn f -> %> <%= if @changeset.action do %>

Oops, something went wrong! Please check the errors below.

<% end %>
<%= label f, :username, class: "control-label" %> <%= text_input f, :username, class: "form-control" %> <%= error_tag f, :username %>
<%= label f, :domain, class: "control-label" %> <%= text_input f, :domain, class: "form-control" %> <%= error_tag f, :domain %>
<%= label f, :display_name, class: "control-label" %> <%= text_input f, :display_name, class: "form-control" %> <%= error_tag f, :display_name %>
<%= label f, :description, class: "control-label" %> <%= text_input f, :description, class: "form-control" %> <%= error_tag f, :description %>
<%= label f, :private_key, class: "control-label" %> <%= text_input f, :private_key, class: "form-control" %> <%= error_tag f, :private_key %>
<%= label f, :public_key, class: "control-label" %> <%= text_input f, :public_key, class: "form-control" %> <%= error_tag f, :public_key %>
<%= label f, :suspended, class: "control-label" %> <%= checkbox f, :suspended, class: "checkbox" %> <%= error_tag f, :suspended %>
<%= label f, :uri, class: "control-label" %> <%= text_input f, :uri, class: "form-control" %> <%= error_tag f, :uri %>
<%= label f, :url, class: "control-label" %> <%= text_input f, :url, class: "form-control" %> <%= error_tag f, :url %>
<%= submit "Submit", class: "btn btn-primary" %>
<% end %>