<%= form_for @public_key, :html => { :class => 'form-horizontal' } do |f| %> <% @public_key.errors.full_messages.each do |msg| %>

<%= msg %>

<% end %>
<%= f.label :raw_content, :class => 'control-label' %>
<%= f.text_area :raw_content, :class => 'text_area' %>
<%= f.submit nil, :class => 'btn btn-primary' %> <%= link_to t('.cancel', :default => t("helpers.links.cancel")), public_keys_path, :class => 'btn' %>
<% end %>