Open koya-kudaka opened 4 years ago
<div class="center jumbotron"> <h1>Welcome to the Sample App</h1> <h2> This is the home page for the <a href="https://railstutorial.jp/">Ruby on Rails Tutorial</a> sample application. </h2> <%= link_to "Sign up now!", '#', class: "btn btn-lg btn-primary" %> </div> <%= link_to image_tag("rails.svg", alt: "Rails logo", width: "200px"), "https://rubyonrails.org/" %> <%#=image_tag("kitten.jpg", alt: "cat image", width: "400px") %> ←ここ
<%#=...%>でコメントアウト
<%#=...%>
<%#=...%>
でコメントアウト