@@ -12,7 +12,6 @@ from flask_login import login_required, current_user | |||
from . import db | |||
from .models import Tool | |||
from sqlalchemy.sql import func | |||
from sqlalchemy.orm import load_only | |||
main = Blueprint('main', __name__) | |||
@@ -31,7 +31,7 @@ | |||
</p> | |||
{% if current_user.is_authenticated %} | |||
<a href="{{ url_for('tool.edit_tool', tool_id=tool['id']) }}"> | |||
<span class="badge bg-warning">Edit</span> | |||
<span class="badge bg-dark">Edit</span> | |||
</a> | |||
{% endif %} | |||
</div> |
@@ -26,7 +26,7 @@ | |||
</p> | |||
{% if current_user.is_authenticated %} | |||
<a href="{{ url_for('tool.edit_tool', tool_id=tool['id']) }}"> | |||
<span class="badge bg-warning">Edit</span> | |||
<span class="badge bg-dark">Edit</span> | |||
</a> | |||
{% endif %} | |||
</div> |