Sha256: c9037079fbe728dbf2b0cd234d943cf671c7c43c59748a826d825dad2b72aa03
Contents?: true
Size: 1.46 KB
Versions: 7
Compression:
Stored size: 1.46 KB
Contents
<%= semantic_form_for [:admin, resource] do |f| %> <%= f.inputs do %> <%= f.input :name %> <%= f.input :default_file_rights %> <% end %> <%= f.semantic_fields_for :default_theming do |theming| %> <%= f.inputs do %> <%= theming.input :theme_name, :include_blank => false, :collection => Pageflow.config.themes.names %> <%= theming.input :cname %> <%= theming.input :home_url %> <% end %> <%= f.inputs do %> <%= theming.input :home_button_enabled_by_default %> <%= theming.input :imprint_link_label %> <%= theming.input :imprint_link_url %> <%= theming.input :copyright_link_label %> <%= theming.input :copyright_link_url %> <% theming.object.widgets.resolve(:include_placeholders => true).each do |widget| %> <%= f.semantic_fields_for(widget) do |w| %> <%= w.input(:type_name, :label => t(widget.role, :scope => 'pageflow.widgets.roles'), :input_html => {:name => "widgets[#{widget.role}]"}, :include_blank => t('pageflow.widgets.none'), :collection => widget_types_collection_for_role(widget.role)) %> <% end %> <% end %> <% end %> <% end %> <%= f.actions do %> <%= f.action(:submit) %> <%= f.action(:cancel, :wrapper_html => {:class => 'cancel'}) %> <% end %> <script id="theme_options" type="application/json"> <%= themes_options_json_seed %> </script> <% end %>
Version data entries
7 entries across 7 versions & 1 rubygems