Sha256: e6047b79e045edd9ac2fc5eba67541808d9c2bc1db6151122c3f10b4e1f94d32

Contents?: true

Size: 1.08 KB

Versions: 31

Compression:

Stored size: 1.08 KB

Contents

<%= form_tag update_multiple_admin_pictures_path do %>
  <%= hidden_field_tag :q, params[:q] %>
  <%= hidden_field_tag :size, params[:size] %>
  <%= hidden_field_tag :tagged_with, params[:tagged_with] %>
  <%= hidden_field_tag :filter, params[:filter] %>

  <% @pictures.pluck(:id).each do |id| %>
  <%= hidden_field_tag "picture_ids[]", id %>
  <% end %>

  <div class="info">
    <%= render_icon :info %>
    <p><%= Alchemy.t('You are about to edit many pictures at once') % {length: @pictures.size} %></p>
  </div>

  <div class="input text">
    <%= label_tag :pictures_name, Alchemy.t('Name'), class: 'control-label' %>
    <%= text_field_tag :pictures_name %>
  </div>

  <div class="input tag_list">
    <%= label_tag :pictures_tag_list, Alchemy.t(:tags), class: 'control-label' %>
    <%= text_field_tag :pictures_tag_list, @tags, data: {autocomplete: alchemy.autocomplete_admin_tags_path} %>
    <small class="hint"><%= Alchemy.t('Please seperate the tags with commata') %></small>
  </div>

  <div class="submit">
    <%= button_tag Alchemy.t(:save), name: nil, class: 'button' %>
  </div>
<% end %>

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
alchemy_cms-4.0.6 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-3.6.7 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-3.6.6 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-4.0.5 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-4.0.4 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-4.0.3 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-3.6.5 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-4.0.2 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-4.0.1 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-3.6.4 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-4.0.0 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-3.6.3 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-3.6.2 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-4.0.0.rc2 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-4.0.0.rc1 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-3.6.1 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-4.0.0.beta app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-3.6.0 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-3.5.0 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-3.4.2 app/views/alchemy/admin/pictures/edit_multiple.html.erb