1
0
mirror of https://github.com/projekteuler/projekteuler.git synced 2025-12-10 08:46:41 +01:00
projekteuler/app/views/problems/show.html.erb

16 lines
381 B
Plaintext

<% if notice %>
<p id="notice"><%= notice %></p>
<% end %>
<div class="page-header">
<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>
<%= link_to 'Edit', edit_problem_path(@problem), class: 'btn btn-default' %>