Add album_name variable.
This commit is contained in:
parent
c577ccfe3b
commit
7127cd2fcb
|
@ -1,6 +1,6 @@
|
|||
<li class="rgalbum" data-image-id="<%= album.id %>">
|
||||
<div class="check">
|
||||
<input type="checkbox" class="checkbox" name='album_id' value='<%= album.id %>'>
|
||||
<input type="checkbox" class="checkbox" name='<%= album_name %>' value='<%= album.id %>'>
|
||||
</div>
|
||||
<a href="<%= admin_gallery_path(album.id) %>">
|
||||
<% if album.cover == "default" %>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<%= render :partial => "album", :collection => @albums %>
|
||||
<%= render :partial => "album", :collection => @albums, locals: {album_name: 'album_id'} %>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
if( params()['keywords']){
|
||||
|
|
Loading…
Reference in New Issue