From 476c6f15503a552092fe9f37ad1019915db5d2ed Mon Sep 17 00:00:00 2001 From: "OHASHI, Norikazu" Date: Sun, 7 Jul 2019 23:47:42 +0900 Subject: [PATCH] =?utf8?q?=E6=9B=B4=E6=96=B0=E6=99=82=E3=81=AE=E3=83=A1?= =?utf8?q?=E3=83=83=E3=82=BB=E3=83=BC=E3=82=B8=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- sinatra/app/views/book_regist.haml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sinatra/app/views/book_regist.haml b/sinatra/app/views/book_regist.haml index eaa59ae..3aa9eba 100644 --- a/sinatra/app/views/book_regist.haml +++ b/sinatra/app/views/book_regist.haml @@ -2,6 +2,7 @@ - admin_f = @admin_f - id = @id - book_info = @book_info +- update_f = @update_f - if book_info[:title] != nil - isbn_regist_f = true - else @@ -9,7 +10,10 @@ %h3 - 新規に蔵書の情報を登録することができます。 + - if update_f + 本書の情報を修正することができます。 + - else + 新規に蔵書の情報を登録することができます。 .message 「ISBN探索」を押下すると、該当する本の情報が取得できます。 -- 2.19.2