diff --git a/beat/web/algorithms/templates/algorithms/panels/editor.html b/beat/web/algorithms/templates/algorithms/panels/editor.html index 96585f021c1407178d9759ef920003d8777dd26a..bf8ada8c328a92f3f57c1a98c32103fa8e5450a0 100644 --- a/beat/web/algorithms/templates/algorithms/panels/editor.html +++ b/beat/web/algorithms/templates/algorithms/panels/editor.html @@ -246,7 +246,7 @@ {% endwith %}{# groups, uses or parameters #} {% if open_source and not object.is_binary %} - <textarea class="form-control" id="code-display">{{ object.source_code_file.read }}</textarea> + <textarea class="form-control" id="code-display">{{ object.source_code }}</textarea> <p class="help-block">{{ texts.code|safe }}</p> {% elif object.is_binary %} {% if object.valid %}