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

<p>
  <h2><%= @principle.title %></h2>
</p>

<p>
   <% if @principle.image.exists? %>
        <%= link_to (image_tag @principle.image.url(:medium), class: 'img-responsive img-medium') %>
    <% end %>
</p>

<p>
  <strong>Author:</strong>
  <%= @principle.author %>
</p>
<p>
  <%= simple_format(@principle.description) %>
</p>

<p>
  An example of this principle at work: <%= link_to @principle.casestudy, @principle.case_webpage %>
</p>

<% if user_signed_in? %>
    <%= link_to 'Edit Principle', edit_principle_path(@principle) %>
<% end %>

<%= link_to 'Back', principles_path %>

<div class="container">

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

<p>
  <h2><%= @principle.title %></h2>
</p>

<p>
   <% if @principle.image.exists? %>
        <%= link_to (image_tag @principle.image.url(:medium), class: 'img-responsive img-medium') %>
    <% end %>
</p>

<p>
  <strong>Author:</strong>
  <%= @principle.author %>
</p>
<p>
  <%= simple_format(@principle.description) %>
</p>

<p>
  An example of this principle at work: <%= link_to @principle.casestudy, @principle.case_webpage %>
</p>

<% if user_signed_in? %>
    <%= link_to 'Edit Principle', edit_principle_path(@principle) %>
<% end %>

<%= link_to 'Back', principles_path %>

</div>

Add container to show principle
Add container to show principle
