1
0
mirror of https://github.com/projekteuler/projekteuler.git synced 2025-12-10 08:46:41 +01:00

Use bootstrap helper for problem content panel

This commit is contained in:
Philipp Fischbeck 2014-12-10 17:27:17 +01:00
parent 5bbed9573c
commit dda5395fd9

View File

@ -6,10 +6,10 @@
<h1><%= @problem.title %> <small>Problem <%= @problem.id %></small></h1>
</div>
<div class="panel panel-default">
<div class="panel-body problem-content">
<%= sanitize @problem.content %>
</div>
</div>
<%= panel do %>
<div class="panel-body problem-content">
<%= sanitize @problem.content %>
</div>
<% end %>
<%= link_to 'Edit', edit_problem_path(@problem), class: 'btn btn-default' %>