app/views/admin/robots/new.html.erb
<div class="page-header"><h1>New robot</h1></div>
<%= form_for(@robot, url: admin_robots_path ) do |f| %>
<%= render_error_messages(@robot) %>
<p>
<%= f.label :name %><br />
<%= f.text_field :name %>
</p>
<p>
<%= f.label :location %><br />
<%= f.text_field :location %>
</p>
<p>
<%= f.submit "Create" %>
</p>
<% end %>
<%= link_to 'Back', admin_robots_path %>