orbit-basic/app/views/admin/components/new.html.erb

11 lines
236 B
Plaintext

<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 %>