mirror of
https://github.com/projekteuler/projekteuler.git
synced 2026-01-27 10:38:50 +01:00
Use bootstrap helper for problem content panel
This commit is contained in:
@@ -6,10 +6,10 @@
|
|||||||
<h1><%= @problem.title %> <small>Problem <%= @problem.id %></small></h1>
|
<h1><%= @problem.title %> <small>Problem <%= @problem.id %></small></h1>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="panel panel-default">
|
<%= panel do %>
|
||||||
<div class="panel-body problem-content">
|
<div class="panel-body problem-content">
|
||||||
<%= sanitize @problem.content %>
|
<%= sanitize @problem.content %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<% end %>
|
||||||
|
|
||||||
<%= link_to 'Edit', edit_problem_path(@problem), class: 'btn btn-default' %>
|
<%= link_to 'Edit', edit_problem_path(@problem), class: 'btn btn-default' %>
|
||||||
|
|||||||
Reference in New Issue
Block a user