%= 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 :access_token %>
<%= f.text_field :access_token %>
<%= f.label :comment %>
<%= f.text_field :comment %>
<%= 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 %>