auth.html.erb 285 Bytes
<h1>Authenticate Host: <%= @host.name %></h1>

<%= form_for :hosts, url: { action: "add_key" }, method: 'put' do |f| %>
  <div class="field">
    <%= f.label :password %><br>
    <%= f.password_field :password %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>