orbit-basic/app/views/admin/announcements/edit.html.erb

14 lines
343 B
Plaintext
Raw Normal View History

2009-06-01 02:54:16 +00:00
<h1>Editing announcement</h1>
<% form_for @announcement, :url => admin_announcement_path(@announcement) 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 'Update' %>
</p>
<% end %>
<%= link_to 'Show', @announcement %> |
<%= link_to 'Back', admin_announcements_path %>