Sha256: 7e32672fe9b820d841b0c37b3f621852c4c6248a4bb1ee5fa0a38d4da52dfcfd

Contents?: true

Size: 760 Bytes

Versions: 7

Compression:

Stored size: 760 Bytes

Contents

<%= turbo_frame_tag(@picture) do %>
  <%= alchemy_form_for [:admin, @picture] do |f| %>
    <%= f.input :name %>
    <%= render "picture_description_field", f: f %>
    <%= render Alchemy::Admin::TagsAutocomplete.new(additional_class: "input") do %>
      <%= f.label :tag_list %>
      <%= f.text_field :tag_list, value: f.object.tag_list.join(",") %>
      <small class="hint"><%= Alchemy.t('Please seperate the tags with commata') %></small>
    <% end %>
    <%= hidden_field_tag :q, search_filter_params[:q] %>
    <%= hidden_field_tag :size, @size %>
    <%= hidden_field_tag :tagged_with, search_filter_params[:tagged_with] %>
    <%= hidden_field_tag :filter, search_filter_params[:filter] %>
    <%= f.submit Alchemy.t(:save) %>
  <% end %>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
alchemy_cms-7.4.0 app/views/alchemy/admin/pictures/_form.html.erb
alchemy_cms-7.3.5 app/views/alchemy/admin/pictures/_form.html.erb
alchemy_cms-7.3.4 app/views/alchemy/admin/pictures/_form.html.erb
alchemy_cms-7.3.3 app/views/alchemy/admin/pictures/_form.html.erb
alchemy_cms-7.3.2 app/views/alchemy/admin/pictures/_form.html.erb
alchemy_cms-7.3.1 app/views/alchemy/admin/pictures/_form.html.erb
alchemy_cms-7.3.0 app/views/alchemy/admin/pictures/_form.html.erb