2 Commits
2 changed files with 10 additions and 11 deletions
@@ -5,7 +5,7 @@ import org.springframework.web.bind.annotation.PostMapping;
@Controller @Controller
public class BookLendController { public class BookLendController {
@PostMapping("/bookLend") @PostMapping("/bookLend")
public String welcome() { public String bookLend() {
return "bookLend"; return "bookLend";
} }
+4 -5
View File
@@ -35,17 +35,16 @@
<!-- ===== 共通:社内図書一覧 ===== --> <!-- ===== 共通:社内図書一覧 ===== -->
<form method="post" name="社内図書一覧" action="book">
<a href="javascript:form1.submit()">リンク名</a> <a class="card" href="/book">
<button type="submit" class="btn-book">
<h3>社内図書一覧</h3> <h3>社内図書一覧</h3>
<p> <p>
登録されている図書の<br> 一覧を表示します。 登録されている図書の<br> 一覧を表示します。
</p> </p>
</button> </a>
</form>
<hr> <!--区切り線--> <hr> <!--区切り線-->
<!-- ===== 共通:寄贈申請 ===== --> <!-- ===== 共通:寄贈申請 ===== -->