Sha256: e27dd1185575d47ec4e2f78a0b85c9802ef5e9e871fe176cfac0061eb75e970f

Contents?: true

Size: 852 Bytes

Versions: 1

Compression:

Stored size: 852 Bytes

Contents

<h2><%= @PAGE_TITLE = "Edit Output: #{@output.code}" %></h2>

<div class="alert">
  <strong>Warning!</strong> Editing a size or extension requires that AssetHost delete all rendered assets for this output. They
  will be re-rendered on first request.
</div>

<%= simple_form_for [:a, @output], html: { class: "form-horizontal" } do |f| %>
  <%= f.error_notification %>

  <fieldset>
    <%= render 'form_fields', f: f %>

    <div class="form-actions">
      <%= f.submit "Update Output", class: "btn btn-primary" %>

      <%= link_to("Delete", a_output_path(@output),
            class: "btn btn-danger pull-right",
            method: :delete,
            data: { confirm: "Click OK to delete this Output.\n" \
                             "Click CANCEL to return to editing."
                  }
            ) %>
    </div>
  </fieldset>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
asset_host_core-2.0.0.beta app/views/asset_host_core/admin/outputs/edit.html.erb