You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
469 B
21 lines
469 B
<section class="movie-details">
|
|
<div class="details">
|
|
<h1><%= @movie.title %></h1>
|
|
<h2>
|
|
<%= year_of(@movie) %> • <%= @movie.rating %>
|
|
</h2>
|
|
<p>
|
|
<%= @movie.description %>
|
|
</p>
|
|
<table>
|
|
<tr>
|
|
<th>Total Gross:</th>
|
|
<td><%= total_gross(@movie) %></td>
|
|
</tr>
|
|
</table>
|
|
<section class="admin">
|
|
<%= link_to "Edit", edit_movie_path(@movie), class: "button" %>
|
|
</section>
|
|
</div>
|
|
</section>
|