<%= t('.edit') %>
<%= form_for @story, :url => story_path(@story.short_id), :method => :put, :html => { :id => "edit_story" } do |f| %> <%= render :partial => "stories/form", :locals => { :story => @story, :f => f } %> <% if @user.is_moderator? %>
<%= f.label :merge_story_short_id, t('.merge'), :class => "required" %> <%= f.text_field :merge_story_short_id, :autocomplete => "off", :placeholder => t('.shortid') %>
<%= f.label :unavailable_at, t('.unavailable'), :class => "required" %> <%= f.check_box :is_unavailable %> <%= f.label :unavailable_at, t('.unavailableat'), :class => "normal" %>
<% if @story.user_id != @user.id %>
<%= f.label :moderation_reason, t('.modreason'), :class => "required" %> <%= f.text_field :moderation_reason %>
<% end %>
<% end %>

<%= t '.markdown' %>
<%= submit_tag t('.save') %>  or <%= t('.cancel') %>
<%= render :partial => "global/markdownhelp", :locals => { :allow_images => true } %>
<% end %>