Sha256: 30c8e435e8afc9ec0f3b3cc599b8c0465830e082f47bae0d930b3d97b369d1b7
Contents?: true
Size: 751 Bytes
Versions: 45
Compression:
Stored size: 751 Bytes
Contents
- content_for :page_header do %h1 - if @<%= resource_name %>.new_record? Добавить #{taccusative(:<%= resource_name %>)} - else Редактировать #{taccusative(:<%= resource_name %>)} %p= link_to 'Назад', [:admin, :<%= plural_resource_name %>] = form_for [:admin, @<%= resource_name %>], builder: ReddeFormBuilder do |f| = f.error_messages %table <%- columns.each do |column| -%> <%- if column.name != 'position' -%> = f.redde_field :<%= column.name %> <%- end -%> <%- end -%> %div= render 'redditor/admin/page', { f: f } if @<%= resource_name %>.methods.include?(:page) = render 'admin/seos/block', { f: f } if @<%= resource_name %>.methods.include?(:seo) = f.redde_submits
Version data entries
45 entries across 45 versions & 1 rubygems