Ansinterface/templates/edit_file.html

12 lines
444 B
HTML
Raw Normal View History

2023-12-19 10:32:13 +00:00
{% extends 'base.html' %}
{% block content %}
<a href="/">< Back</a>
<br>
<form method="post" action="{{ url_for('edit_file') }}">
<textarea id="code" name="file_content" class="form-control numbered">{{ file_content }}</textarea>
<input type="hidden" id="file_path" name="file_path" value="{{ filepath }}">
<button type="submit" value="Save Changes" class="btn btn-info" >Save</button>
</form>
{% endblock %}