%= form_for(@certificate) do |f| %>
<% if @certificate.errors.any? %>
<%= pluralize(@certificate.errors.count, "error") %> prohibited this certificate from being saved:
<% @certificate.errors.full_messages.each do |message| %>
- <%= message %>
<% end %>
<% end %>
<%= f.label :key %>
<%= f.text_area :key %>
<%= f.label :cert %>
<%= f.text_area :cert %>
<%= f.label :active %>
<%= f.check_box :active %>
<%= f.submit %>
<% end %>