Sha256: e8e99907fcb49dc3fb360b723efcfcc09a0dbf242a2d56b6a6166b64431c9a64

Contents?: true

Size: 354 Bytes

Versions: 52

Compression:

Stored size: 354 Bytes

Contents

<%= render Koi::Content::Editor::ItemFormComponent.new(model: figure, url: path) do |form| %>
  <%= form.govuk_image_field :image, label: { size: "s" } do %>
    <%= form.govuk_text_field :heading, label: { text: "Alternate text" } %>
    <%= form.govuk_text_field :caption, label: { text: "Caption (optional)" }, optional: true %>
  <% end %>
<% end %>

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
katalyst-koi-4.5.1 app/views/katalyst/content/figures/_figure.html+form.erb
katalyst-koi-4.5.0 app/views/katalyst/content/figures/_figure.html+form.erb
katalyst-koi-4.5.0.beta.2 app/views/katalyst/content/figures/_figure.html+form.erb
katalyst-koi-4.5.0.beta.1 app/views/katalyst/content/figures/_figure.html+form.erb
katalyst-koi-4.4.1 app/views/katalyst/content/figures/_figure.html+form.erb
katalyst-koi-4.4.0 app/views/katalyst/content/figures/_figure.html+form.erb
katalyst-koi-4.3.5 app/views/katalyst/content/figures/_figure.html+form.erb
katalyst-koi-4.3.4 app/views/katalyst/content/figures/_figure.html+form.erb
katalyst-koi-4.3.3 app/views/katalyst/content/figures/_figure.html+form.erb
katalyst-koi-4.3.2 app/views/katalyst/content/figures/_figure.html+form.erb
katalyst-koi-4.3.1 app/views/katalyst/content/figures/_figure.html+form.erb
katalyst-koi-4.3.0 app/views/katalyst/content/figures/_figure.html+form.erb