<%= form_for(@share) do |f| %>
分享到:
<%= f.select 'project_id', options_from_collection_for_select(@ps, "id", "name") %>
<%= f.text_field :title, :style => 'width: 399px;display: none;' %>
<%= f.text_area :description, :rows => 4, :style => 'width: 100%;resize: none;', :class => 'create-share' %>
<%= f.label "Website:" %>
<%= f.text_field :url, :style => 'width: 100%;', :class => 'create-share' %>
<%= f.submit :value=>"分享" ,:class => 'whiteButton', :style => 'font-size: 14px; padding: 3px' %>
<% end %>