%= javascript_include_tag "jquery.minicolors" %>
<%= stylesheet_link_tag "jquery.minicolors" %>
<%= form_for @custom_album_setting, url: '/admin/custom_galleries/update_custom_album_setting',:class=>'update_custom_album_setting_form',method: 'post' do |f| %>
<%= f.text_field :limit,:placeholder => t('custom_gallery.blank_for_nil') %>
<%= f.select :resize_gravity, [["---#{t("default")}: #{t("custom_gallery.gravity.#{CustomAlbumSetting::ResizeGravities[0]}")}---",nil]]+CustomAlbumSetting::ResizeGravities.collect{|v| [t("custom_gallery.gravity.#{v}"),v]} %>
<%= f.text_field :custom_album_card_background_color, :class => 'input-block-level minicolors-input' %>
<%= t('custom_gallery.transparent') %>
<%= f.text_field :custom_album_card_text_color, :class => 'input-block-level minicolors-input' %>
<%= t('custom_gallery.transparent') %>
<%= f.hidden_field :id %>
<%= f.submit t('submit'),:class=>'btn btn-primary' %>
<% end %>