diff --git a/app/views/lxd_hosts/_form.html.erb b/app/views/lxd_hosts/_form.html.erb index b19cc8f..f2a5eeb 100644 --- a/app/views/lxd_hosts/_form.html.erb +++ b/app/views/lxd_hosts/_form.html.erb @@ -13,11 +13,11 @@
<%= f.label :name %>
- <%= f.text_area :name %> + <%= f.text_field :name %>
<%= f.label :uri %>
- <%= f.text_area :uri %> + <%= f.text_field :uri %>
<%= f.label :password %>
diff --git a/db/schema.rb b/db/schema.rb index ecc160b..00d3265 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20160419090228) do +ActiveRecord::Schema.define(version: 20160419112843) do create_table "certificates", force: :cascade do |t| t.text "key" @@ -22,8 +22,8 @@ ActiveRecord::Schema.define(version: 20160419090228) do end create_table "lxd_hosts", force: :cascade do |t| - t.text "name" - t.text "uri" + t.string "name" + t.string "uri" t.string "password_digest" t.datetime "created_at", null: false t.datetime "updated_at", null: false