Sha256: 66784d2d7040880818c514df6f42cb2d3756ed24dc7412833b4de59ef76e9090

Contents?: true

Size: 564 Bytes

Versions: 4

Compression:

Stored size: 564 Bytes

Contents

<%
# decorate first on every page or partial
decorated = decorate resource
%>
<article class="resource">
  <div class="resource__header">
    <h1><%= wt 'labels.edit', id: decorated.id %></h1>
    <%= render 'resource_navs' %>
  </div>
  <%= render 'flash_messages' %>
  <section>
    <div class="resource__container">
      <%= form_for decorated,
        url: url_for(action: :show), method: :put,
        html: { :multipart => true } do |form| %>
        <%= render 'form', form: form, decorated: decorated %>
      <% end %>
    </div>
  </section>
</article>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wallaby-8.0.0 app/views/wallaby/resources/_edit_page.html.erb
wallaby-7.0.0 app/views/wallaby/resources/_edit_page.html.erb
wallaby-7.0.0.beta2 app/views/wallaby/resources/_edit_page.html.erb
wallaby-7.0.0.beta1 app/views/wallaby/resources/_edit_page.html.erb