auth.html.erb
329 Bytes
<h1>Authenticate Lxd Host: <%= @lxd_host.name %></h1>
<p>...<%= @data.inspect %></p>
<%= form_for :lxd_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 %>