<%= form_for(@site) do |f| %>
<%= f.submit 'Save', class: 'success button' %> <%= link_to 'Back', sites_path, class: 'secondary hollow button' %>
<% if @site.errors.any? %>
<%= pluralize(@site.errors.count, 'error') %> prohibited this content from being saved:
<% end %>
<%= f.label :name %> <%= f.text_field :name, required: true %>
<%= f.label :domain %> <%= f.text_field :domain, required: true %>

Example: fr.domain.com

<% end %>