<%= form_for(@client || Site::Client.new) do |f| %>
<% if f.object.errors.any? %>
<%= pluralize(f.object.errors.count, "error") %> prohibited this client site from being saved:
<% f.object.errors.full_messages.each do |msg| %>
- <%= msg %>
<% end %>
<% end %>
<%= f.label :name %>
<%= f.text_field :name %>
<%= f.label :description %>
<%= f.text_area :description %>
<%= f.label :url %>
<%= f.text_area :url %>
<%= f.label :callback_url %>
<%= f.text_area :callback_url %>
<%= f.submit :class => "btn pull-right" %>
<% end %>