
<p>
  <h2> Movie Detail </h2>	
  <b>Title:</b>
  <%=h @movie.title %>
</p>

<p>
  <b>Year Released:</b>
  <%=h @movie.year_released %>
</p>

<p>
  <b>Language:</b>
  <%=h @movie.language %>
</p>

<p>
  <b>Rating:</b>
  <%=h @movie.rating %>
</p>

<p>
  <b>Length:</b>
  <%=h @movie.length %>
</p>

<p>
  <b>Black and White:</b>
  <%=h @movie.bw %>
</p>

<p>
  <b>Star rating:</b>
  <%=h @movie.star_rating %>
</p>
<p>
  <b>Genre:</b>
  <% if @movie.genre %>
       <%=h @movie.genre.genre_name %>
  <% else %>
       <%= "Unassigned" %>
  <% end %>
</p>
<p>
  <b>Synopsis:</b>
  <%=h @movie.synopsis %>
</p>
<p>
  <b>Actors:</b>
  <% if @movie.actors.count > 0 %>
    <%= @movie.actors.collect {|a| link_to(a.full_name, a)}.join(", ")%>
  <% else %>
    No actors for this movie (from our collection) as of now.
  <% end %>
</p>
<hr>

<%= link_to 'Edit', edit_movie_path(@movie) %> |
<%= link_to 'Add/Remove Actors', actors_movie_path(@movie) %> |
<%= link_to 'Back', movies_path %> |
<%= link_to 'Reviews', movie_reviews_path(@movie) %>