Files
danbooru/app/views/news_updates/new.html.erb

17 lines
460 B
Plaintext

<div id="c-news-updates">
<div id="a-new">
<h1>New Update</h1>
<%= simple_form_for(@news_update) do |f| %>
<%= f.input :message, :hint => "Use HTML for formatting", :input_html => {:size => "30x5"} %>
<%= f.button :submit, "Submit", :data => { :disable_with => "Submitting..." } %>
<% end %>
</div>
</div>
<%= render "secondary_links" %>
<% content_for(:page_title) do %>
New Update - <%= Danbooru.config.app_name %>
<% end %>