Orbit/app/views/admin/components/new.html.erb

11 lines
236 B
Plaintext
Raw Normal View History

<h1><%= t(:new_component, :scope => :admin) %></h1>
<% form_for @component, :url => admin_components_path do |f| %>
<%= render :partial => "form", :locals => { :f => f } %>
<p>
<%= f.submit 'Create' %>
</p>
<% end %>