This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/views/panel/announcements/new.html.erb

13 lines
287 B
Plaintext

<h1>New announcement</h1>
<% form_for @announcement, :url => panel_announcements_path do |f| %>
<%= f.error_messages %>
<%= render :partial => "form", :locals => { :f => f } %>
<p>
<%= f.submit 'Create' %>
</p>
<% end %>
<%= link_to 'Back', panel_announcements_path %>