| <span class="badge bg-secondary">{{ example['created'].strftime("%Y-%m-%d %H:%M") }} UTC</span> | <span class="badge bg-secondary">{{ example['created'].strftime("%Y-%m-%d %H:%M") }} UTC</span> | ||||
| {% if current_user.is_authenticated %} | {% if current_user.is_authenticated %} | ||||
| <a href="{{ url_for('example.edit_example', example_id=example['id']) }}"> | <a href="{{ url_for('example.edit_example', example_id=example['id']) }}"> | ||||
| <span class="badge bg-warning">Edit</span> | |||||
| <span class="badge bg-dark">Edit</span> | |||||
| </a> | </a> | ||||
| {% endif %} | {% endif %} | ||||
| </div> | </div> |
| <span class="badge bg-secondary">{{ practice['created'].strftime("%Y-%m-%d %H:%M") }} UTC</span> | <span class="badge bg-secondary">{{ practice['created'].strftime("%Y-%m-%d %H:%M") }} UTC</span> | ||||
| {% if current_user.is_authenticated %} | {% if current_user.is_authenticated %} | ||||
| <a href="{{ url_for('practice.edit_practice', practice_id=practice['id']) }}"> | <a href="{{ url_for('practice.edit_practice', practice_id=practice['id']) }}"> | ||||
| <span class="badge bg-warning">Edit</span> | |||||
| <span class="badge bg-dark">Edit</span> | |||||
| </a> | </a> | ||||
| {% endif %} | {% endif %} | ||||
| </div> | </div> |
| {% if current_user.is_authenticated %} | {% if current_user.is_authenticated %} | ||||
| <div class="row text-center py-3"> | <div class="row text-center py-3"> | ||||
| <a href="{{ url_for('tool.edit_tool', tool_id=tool['id']) }}"> | <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> | </a> | ||||
| </div> | </div> | ||||
| {% endif %} | {% endif %} |