2009-06-01 02:54:16 +00:00
|
|
|
<h1>New announcement</h1>
|
|
|
|
|
2010-01-11 09:53:44 +00:00
|
|
|
<% form_for @announcement, :url => panel_announcements_path do |f| %>
|
2009-06-01 02:54:16 +00:00
|
|
|
<%= f.error_messages %>
|
|
|
|
|
2009-07-06 08:36:41 +00:00
|
|
|
<%= render :partial => "form", :locals => { :f => f } %>
|
2009-06-01 02:54:16 +00:00
|
|
|
|
|
|
|
<p>
|
|
|
|
<%= f.submit 'Create' %>
|
|
|
|
</p>
|
|
|
|
<% end %>
|
|
|
|
|
2010-01-11 09:53:44 +00:00
|
|
|
<%= link_to 'Back', panel_announcements_path %>
|