AutoCommit Sam Jun 20 19:03:05 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-06-20 19:03:05 +02:00
parent bd0f24603e
commit 08c901c04f
5 changed files with 19 additions and 8 deletions

View File

@@ -0,0 +1 @@
$('#<%=@obj.flaglinkid(params[:flag]) %>').replaceWith("<%= escape_javascript( render(partial: "flags/flaglink", format: "html", locals: {flag: params[:flag]}) )%>");

View File

@@ -1 +1 @@
<%= flag_link(@obj,flag, content_tag("i", "", class:"fa fa-flag").to_s) %>
<%= flag_link(@obj,flag, content_tag("i", "", class: icon")) %>