12 lines
533 B
Plaintext
12 lines
533 B
Plaintext
<script type="text/javascript">
|
|
$(document).ready(function(){
|
|
$('form.update_album_setting_form').submit(function(){
|
|
window.setTimeout(function(){alert('success')},500)
|
|
})
|
|
})
|
|
</script>
|
|
<%= form_tag '/admin/galleries/update_album_setting',remote: true,:class=>'update_album_setting_form' do %>
|
|
<%= t('gallery.album_limit_for_one_page') %>:
|
|
<%= text_field_tag :album_setting_limit, AlbumSetting.first.limit,:placeholder => t('gallery.blank_for_nil') %>
|
|
<input type="submit" value="<%= t('submit') %>">
|
|
<% end %> |