Sha256: cdbb81b1bdc0e24b261e89b8fdd7b785e22bd7fc8791f970ae728f3bf475f9fe

Contents?: true

Size: 624 Bytes

Versions: 11

Compression:

Stored size: 624 Bytes

Contents

<div class="card">
  <div class="card-header">
    <%= t 'b.msg.flexible_content.edit_image' %>
  </div>

  <div class="card-block">
    <% if @model.file.present? %>
      <div class="row">
        <div class="col-lg-8 col-lg-offset-2">
          <%= image_tag(@model.file.url, alt: '', class: 'img-fluid') %>
        </div>
      </div>
    <% end %>

    <%= simple_form_for [:backend, @model] do |f| %>
      <%= f.input :file, as: :file %>
      <%= f.input :url, as: :string %>
      <%= f.input :caption, as: :text %>
      <%= render 'backend/form_actions', cancel_url: content_path %>
    <% end %>
  </div>
</div>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
udongo-2.0.4 app/views/backend/content/rows/images/edit.html.erb
udongo-2.0.3 app/views/backend/content/rows/images/edit.html.erb
udongo-2.0.2 app/views/backend/content/rows/images/edit.html.erb
udongo-2.0.1 app/views/backend/content/rows/images/edit.html.erb
udongo-2.0.0 app/views/backend/content/rows/images/edit.html.erb
udongo-1.0.4 app/views/backend/content/rows/images/edit.html.erb
udongo-1.0.3 app/views/backend/content/rows/images/edit.html.erb
udongo-1.0.2 app/views/backend/content/rows/images/edit.html.erb
udongo-1.0.1 app/views/backend/content/rows/images/edit.html.erb
udongo-1.0.0 app/views/backend/content/rows/images/edit.html.erb
udongo-0.1.0 app/views/backend/content/rows/images/edit.html.erb