{% extends "base.html" %}
{% block title %}Edit {{ work.title }} — {{ library_name() }}{% endblock %}
{% block content %}
{{ work.title }}Edit work
Re-fetch this work's metadata from an external source (Google Books, Open Library, MusicBrainz, or TMDb depending on media type). You'll see a preview of what would change before anything is committed. Text fields are only filled when the current value is empty; the cover URL is replaced if upstream offers a new one.
{% if work.media_type and work.media_type.code == 'book' %} Refresh (configured: {{ book_primary_source | default('default') }}) Refresh from Google Books Refresh from Open Library {% else %} Refresh from external source {% endif %} {% endif %} {% endblock %}