%= form_for(@share) do |f| %>
<% if @share.errors.any? %>
<%= pluralize(@share.errors.count, "error") %> prohibited this share from being saved:
<% @share.errors.full_messages.each do |msg| %>
- <%= msg %>
<% end %>
<% end %>
<%= f.label :created_on %>
<%= f.text_field :created_on %>
<%= f.label :url %>
<%= f.text_field :url %>
<%= f.label :title %>
<%= f.text_field :title %>
<%= f.label :share_type %>
<%= f.number_field :share_type %>
<%= f.submit %>
<% end %>