Sha256: bec87b178ae3ba1b303bdde3cc323016f6069209c015cec8db9dd68e33da6bd2
Contents?: true
Size: 759 Bytes
Versions: 9
Compression:
Stored size: 759 Bytes
Contents
<%# # Edit This view is the template for the edit page. It displays a header, and renders the `_form` partial to do the heavy lifting. ## Local variables: - `page`: An instance of [Administrate::Page::Form][1]. Contains helper methods to help display a form, and knows which attributes should be displayed in the resource's form. [1]: http://www.rubydoc.info/gems/administrate/Administrate/Page/Form %> <% content_for(:title) { "Edit #{page.page_title}" } %> <header class="header"> <h1 class="header__heading"><%= content_for(:title) %></h1> <div class="header__actions"> <%= link_to( "Show #{page.page_title}", [namespace, page.resource], class: "button", ) %> </div> </header> <%= render "form", page: page %>
Version data entries
9 entries across 9 versions & 1 rubygems