closes #1653
This commit is contained in:
Toks
2013-10-26 00:08:37 -04:00
parent 06995dd11b
commit 11871d88b6
8 changed files with 44 additions and 77 deletions

View File

@@ -1,7 +1,7 @@
<%= simple_form_for(@artist) do |f| %>
<div class="input">
<label for="artist_name">Name</label>
<% if @artist.new_record? %>
<% if @artist.new_record? || CurrentUser.user.is_builder? %>
<%= text_field "artist", "name" %>
[<%= link_to "check", "#", :id => "check-name-link" %>]
<span id="check-name-result"></span>