This commit is contained in:
albert
2013-03-08 21:56:01 -05:00
parent 23a1791dca
commit d0d5152161
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@
<div class="input text optional field_with_hint">
<label class="text optional" for="user_favorite_tags">Favorite tags</label>
<textarea id="user_favorite_tags" class="text optional" rows="5" name="user[favorite_tags]" cols="40">1 2 3 </textarea>
<textarea id="user_favorite_tags" class="text optional" rows="5" name="user[favorite_tags]" cols="40"><%= raw @user.favorite_tags %></textarea>
<span class="hint">A list of whitespace delimited tags that show up in your profile. <%= link_to "Restore from old database", restore_uploaded_tags_user_path(@user), :method => :post, :remote => true %></span>
</div>

View File

@@ -1 +1 @@
$("#favorite_tags").val(<%= raw @user.favorite_tags.to_json %>);
$("#user_favorite_tags").val(<%= raw @user.favorite_tags.to_json %>);