changes
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
<div id="c-artists">
|
||||
<div id="a-new">
|
||||
<h2>New Artist</h2>
|
||||
<h1>New Artist</h1>
|
||||
|
||||
<%= error_messages_for :artist %>
|
||||
|
||||
<%= render "form" %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<div id="c-artists">
|
||||
<div id="a-search">
|
||||
<h3>Search Artists</h3>
|
||||
<h1>Search Artists</h1>
|
||||
|
||||
<div id="search-form" style="margin-bottom: 1em;">
|
||||
<div id="search-form">
|
||||
<%= simple_form_for(@search) do |f| %>
|
||||
<%= f.input :name_contains, :label => "Name" %>
|
||||
<%= f.input :other_names_match, :label => "Other Names" %>
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
<div id="c-artists">
|
||||
<div id="a-show">
|
||||
<h3>Artist: <%= @artist.name.tr("_", " ") %></h3>
|
||||
<h1>Artist: <%= @artist.name.tr("_", " ") %></h1>
|
||||
|
||||
<% unless @artist.notes.blank? %>
|
||||
<div style="margin-bottom: 1em;">
|
||||
<div class="prose">
|
||||
<%= format_text(@artist.notes) %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<div style="margin-bottom: 1em;">
|
||||
<div>
|
||||
<table width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
@@ -70,12 +70,10 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<p class="legend"><span class="new-artist">*</span> Indicates new artist</p>
|
||||
|
||||
<div style="margin-bottom: 1em;">
|
||||
<h4>Recent Posts</h4>
|
||||
<div>
|
||||
<h1>Recent Posts</h1>
|
||||
<div style="margin: 1em 0;">
|
||||
<%#= @post_set.presenter.post_previews_html %>
|
||||
<%= @post_set.presenter.post_previews_html(self) %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<ul>
|
||||
<%= resize_image_links(post, CurrentUser.user) %>
|
||||
<li><%= link_to "Favorite", favorite_path(post), :remote => true, :method => :post, :id => "add-to-favorites" %></li>
|
||||
<li><%= link_to "Favorite", favorite_path(:post_id => post.id), :remote => true, :method => :post, :id => "add-to-favorites" %></li>
|
||||
<li><%= link_to "Unfavorite", favorite_path(post), :remote => true, :method => :delete, :id => "remove-from-favorites" %></li>
|
||||
<li><%= link_to "Translate", "#", :id => "translate", :title => "Shortcut is CTRL+N" %></li>
|
||||
<li><%= link_to "Flag", new_post_flag_path(:post_id => post.id), :id => "flag" %></li>
|
||||
|
||||
Reference in New Issue
Block a user