Support source fetching and translated tags while editing posts
(manual only)
This commit is contained in:
14
app/views/sources/_info_for_post.html.erb
Normal file
14
app/views/sources/_info_for_post.html.erb
Normal 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>
|
||||
Reference in New Issue
Block a user