Use webmock instead of fakeweb for VCR; Fix tests; Use Timecop to speed up tests previously using sleep; Move artist rename into seperate operation
This commit is contained in:
19
app/views/artists/edit_name.html.erb
Normal file
19
app/views/artists/edit_name.html.erb
Normal file
@@ -0,0 +1,19 @@
|
||||
<div id="c-artists">
|
||||
<div id="a-edit">
|
||||
<%= render "sidebar" %>
|
||||
|
||||
<section id="content">
|
||||
<h1>Edit Artist Name</h1>
|
||||
<%= form_tag(update_name_artist_path(@artist), :method => :put) do %>
|
||||
<div class="input"><label for="artist_name">Name</label> <%= text_field :artist, :name %></div>
|
||||
<div><%= submit_tag "Submit" %></div>
|
||||
<% end %>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%= render "secondary_links" %>
|
||||
|
||||
<% content_for(:page_title) do %>
|
||||
Edit Artist Name - <%= Danbooru.config.app_name %>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user