Support source fetching and translated tags while editing posts

(manual only)
This commit is contained in:
Toks
2014-06-07 14:10:02 -04:00
parent f6eb27d3c8
commit 9d47d7f7dd
4 changed files with 40 additions and 3 deletions

View File

@@ -0,0 +1,14 @@
<!--
- source
-->
<div id="source-info">
<p><%= link_to "Fetch source data", source_path(:format => "json"), :id => "fetch-data-manual" %></p>
<p><%= content_tag "span", "Loading source data...", :id => "loading-data", :style => "display: none;" %></p>
<ul>
<li><strong>Artist</strong>: <span id="source-artist"></span></li>
<li><strong>Tags</strong>: <span id="source-tags"></span></li>
<li><strong>Record</strong>: <span id="source-record"></span></li>
</ul>
</div>