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 %>