17 lines
662 B
HTML
17 lines
662 B
HTML
{% extends 'base.html' %}
|
|
{% block content %}
|
|
<div class="card">
|
|
<div class="card-header">
|
|
Editing <code>{{ file_name }}</code>
|
|
</div>
|
|
<div class="card-body">
|
|
<form method="post" action="{{ url_for('edit_file') }}">
|
|
<textarea id="code" name="file_content" class="form-control numbered">{{ file_content }}</textarea><br>
|
|
<input type="hidden" id="file_path" name="file_path" value="{{ filepath }}">
|
|
<a href="/" class="btn btn-info">Back</a>
|
|
<button type="submit" value="Save Changes" class="btn btn-info" >Save</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|