mirror of
https://github.com/projekteuler/projekteuler.git
synced 2025-12-10 08:46:41 +01:00
Add links for problem translation and improvement
This commit is contained in:
parent
d20b3e0fef
commit
d2f1292724
@ -18,6 +18,9 @@
|
||||
<%= link_to problem.title, problem %>
|
||||
<% else %>
|
||||
<i>Dieses Problem wurde noch nicht übersetzt.</i>
|
||||
<%= link_to new_problem_translation_path(problem), class: 'btn btn-default btn-xs' do %>
|
||||
<%= icon :pencil %> Übersetzung vorschlagen
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
</td>
|
||||
|
||||
@ -5,7 +5,9 @@
|
||||
<div class="page-header">
|
||||
<h1><%= @problem.title %> <small>Problem <%= @problem.id %></small></h1>
|
||||
</div>
|
||||
|
||||
<%= link_to new_problem_translation_path(@problem), class: 'btn btn-default btn-sm pull-right' do %>
|
||||
<%= icon :pencil %> Übersetzung verbessern
|
||||
<% end %>
|
||||
<%= panel do %>
|
||||
<div class="panel-body problem-content">
|
||||
<%= sanitize @problem.content %>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user