38 lines
901 B
Plaintext
38 lines
901 B
Plaintext
<%= form_for(@share) do |f| %>
|
|
<% if @share.errors.any? %>
|
|
<div id="error_explanation">
|
|
<h2><%= pluralize(@share.errors.count, "error") %> prohibited this share from being saved:</h2>
|
|
|
|
<ul>
|
|
<% @share.errors.full_messages.each do |msg| %>
|
|
<li><%= msg %></li>
|
|
<% end %>
|
|
</ul>
|
|
</div>
|
|
<% end %>
|
|
|
|
<div class="field">
|
|
<%= f.label :access_token %><br />
|
|
<%= f.text_field :access_token %>
|
|
</div>
|
|
<div class="field">
|
|
<%= f.label :comment %><br />
|
|
<%= f.text_field :comment %>
|
|
</div>
|
|
<div class="field">
|
|
<%= f.label :url %><br />
|
|
<%= f.text_field :url %>
|
|
</div>
|
|
<div class="field">
|
|
<%= f.label :title %><br />
|
|
<%= f.text_field :title %>
|
|
</div>
|
|
<div class="field">
|
|
<%= f.label :share_type %><br />
|
|
<%= f.number_field :share_type %>
|
|
</div>
|
|
<div class="actions">
|
|
<%= f.submit %>
|
|
</div>
|
|
<% end %>
|