mirror of
https://github.com/projekteuler/projekteuler.git
synced 2026-01-27 02:28:50 +01:00
Prefill original title and content from projecteuler.net
This commit is contained in:
@@ -28,12 +28,10 @@
|
||||
<% if problem.is_translated? %>
|
||||
<%= link_to problem.title, problem %>
|
||||
<% else %>
|
||||
<i><%= t 'problems.not_yet_translated' %></i>
|
||||
<%= link_to new_problem_translation_path(problem), class: 'btn btn-primary btn-sm' do %>
|
||||
<%= icon('fas', 'edit') %> <%= t '.suggest_translation' %>
|
||||
<% end %>
|
||||
<%= link_to problem do %>
|
||||
<i><%= problem.original_title %> <%= t 'problems.not_translated_yet' %></i>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user