Showing
2 changed files
with
5 additions
and
5 deletions
@@ -13,11 +13,11 @@ | @@ -13,11 +13,11 @@ | ||
13 | 13 | ||
14 | <div class="field"> | 14 | <div class="field"> |
15 | <%= f.label :name %><br> | 15 | <%= f.label :name %><br> |
16 | - <%= f.text_area :name %> | 16 | + <%= f.text_field :name %> |
17 | </div> | 17 | </div> |
18 | <div class="field"> | 18 | <div class="field"> |
19 | <%= f.label :uri %><br> | 19 | <%= f.label :uri %><br> |
20 | - <%= f.text_area :uri %> | 20 | + <%= f.text_field :uri %> |
21 | </div> | 21 | </div> |
22 | <div class="field"> | 22 | <div class="field"> |
23 | <%= f.label :password %><br> | 23 | <%= f.label :password %><br> |
@@ -11,7 +11,7 @@ | @@ -11,7 +11,7 @@ | ||
11 | # | 11 | # |
12 | # It's strongly recommended that you check this file into your version control system. | 12 | # It's strongly recommended that you check this file into your version control system. |
13 | 13 | ||
14 | -ActiveRecord::Schema.define(version: 20160419090228) do | 14 | +ActiveRecord::Schema.define(version: 20160419112843) do |
15 | 15 | ||
16 | create_table "certificates", force: :cascade do |t| | 16 | create_table "certificates", force: :cascade do |t| |
17 | t.text "key" | 17 | t.text "key" |
@@ -22,8 +22,8 @@ ActiveRecord::Schema.define(version: 20160419090228) do | @@ -22,8 +22,8 @@ ActiveRecord::Schema.define(version: 20160419090228) do | ||
22 | end | 22 | end |
23 | 23 | ||
24 | create_table "lxd_hosts", force: :cascade do |t| | 24 | create_table "lxd_hosts", force: :cascade do |t| |
25 | - t.text "name" | ||
26 | - t.text "uri" | 25 | + t.string "name" |
26 | + t.string "uri" | ||
27 | t.string "password_digest" | 27 | t.string "password_digest" |
28 | t.datetime "created_at", null: false | 28 | t.datetime "created_at", null: false |
29 | t.datetime "updated_at", null: false | 29 | t.datetime "updated_at", null: false |
Please
register
or
login
to post a comment