summaryrefslogtreecommitdiff
path: root/app/views/commands/new.html.erb
blob: e807f5ff2c9aaf97b3069def2f777020b71b5b83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<h1>New command</h1>

<% form_for(@command) do |f| %>
  <%= f.error_messages %>

  <p>
    <%= f.label :name %><br />
    <%= f.text_field :name %>
  </p>
  <p>
    <%= f.label :technique %><br />
    <%= f.text_field :technique %>
  </p>
  <p>
    <%= f.submit 'Create' %>
  </p>
<% end %>

<%= link_to 'Back', commands_path %>