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:
parent
5bbed9573c
commit
dda5395fd9
@ -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' %>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user