2013-10-21 08:57:55 +08:00
|
|
|
<div id="share_new" style = "width: 431px; center" >
|
|
|
|
<%= form_for(@share) do |f| %>
|
|
|
|
<div>
|
|
|
|
分享到项目:
|
|
|
|
<%= f.select 'project_id', options_from_collection_for_select(@ps, "id", "name") %></div>
|
|
|
|
<div class="field">
|
|
|
|
<%= f.text_field :title, :style => 'width: 399px;display: none;' %>
|
2013-08-01 20:26:19 +08:00
|
|
|
</div>
|
2013-10-21 08:57:55 +08:00
|
|
|
|
2013-08-01 20:26:19 +08:00
|
|
|
<div class="field">
|
2013-10-21 08:57:55 +08:00
|
|
|
<%= f.text_area :description, :rows => 4, :style => 'width: 100%;resize: none;', :class => 'create-share' %>
|
2013-08-01 20:26:19 +08:00
|
|
|
</div>
|
|
|
|
<div class="field">
|
2013-10-21 08:57:55 +08:00
|
|
|
<%= f.label "Website:" %><br/>
|
|
|
|
<%= f.text_field :url, :style => 'width: 100%;', :class => 'create-share' %>
|
2013-08-01 20:26:19 +08:00
|
|
|
</div>
|
2013-10-21 08:57:55 +08:00
|
|
|
|
|
|
|
<div class="actions" style=" padding-top: 10px; float:right">
|
|
|
|
<%= f.submit :value=>"分享"%>
|
2013-08-01 20:26:19 +08:00
|
|
|
</div>
|
2013-10-21 08:57:55 +08:00
|
|
|
<% end %>
|
|
|
|
<br/>
|
|
|
|
</div>
|