From fb11907ba827f81da7a0d5de6f088181b8da9bab Mon Sep 17 00:00:00 2001 From: Thomas Konnemann Date: Fri, 13 Oct 2017 21:23:42 +0200 Subject: [PATCH] Update edit.html.erb --- app/views/books/edit.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/books/edit.html.erb b/app/views/books/edit.html.erb index 8ea25ed..fd58c40 100644 --- a/app/views/books/edit.html.erb +++ b/app/views/books/edit.html.erb @@ -1,6 +1,6 @@
-

Edit Book

+

Update Book

<%= simple_form_for @book, :html => { :multipart => true } do |f| %> <%= select_tag(:category_id, options_from_collection_for_select(Category.all, :id, :name), include_blank: "Select Category") %> <%= f.file_field :book_img %>