<p id="notice"><%= notice %></p>

<p>
  <strong>Name:</strong>
  <%= @subject.name %>
</p>

<% if @subject.neighborhood_id != nil %>
  <p>
    <strong>Neighborhood:</strong>
    <%= @subject.neighborhood.name %>
  </p>
<% end %>

<p>
  <strong>Type:</strong>
  <%= @subject.type %>
</p>

<%= link_to 'Edit', edit_subject_path(@subject) %> |
<%= link_to 'Back', subjects_path %>

<p id="notice"><%= notice %></p>

<p>
  <strong>Name:</strong>
  <%= @subject.name %>
</p>

<% if @subject.type == "Property" %>
  <p>
    <strong>Neighborhood:</strong>
    <%= @subject.neighborhood.name %>
  </p>
<% end %>

<p>
  <strong>Type:</strong>
  <%= @subject.type %>
</p>

<%= link_to 'Edit', edit_subject_path(@subject) %> |
<%= link_to 'Back', subjects_path %>

Change view conditional to ask if it is a property
Change view conditional to ask if it is a property
