Sha256: cf23f34ed2decddaaad4f5136c6081b3aa4cfb18e550301cfcc6dc3e2cb9cd92

Contents?: true

Size: 1.05 KB

Versions: 2

Compression:

Stored size: 1.05 KB

Contents

<h2><%= t(:'adva.titles.install') %></h2>

<p><%= t(:'adva.sites.install.welcome_to_installation') %></p>
<p><%= t(:'adva.sites.install.can_always_change_settings') %></p>

<%= form_for Site.new, url: admin_install_path do |f| %>
  <h3><%= t(:'adva.titles.website') %></h3>
  <% f.field_set :site do %>
    <%= fields_for @site do |site| %>
      <%= site.text_field :name, label: true %>
    <% end %>
  <% end %>

  <h3><%= t(:'adva.titles.home_section') %></h3>
	<% f.field_set :home_section do %>
    <%= fields_for :section, @section do |section| %>
      <p>
      	<%= section.text_field :title, label: true %>
      </p>
    <% end %>
  <% end %>
  
  <h3><%= t(:'adva.titles.admin_account') %></h3>
	<% f.field_set :admin_account do %>
    <%= fields_for @user do |user| %>
      <p>
        <%= user.text_field :email, label: true %>
      </p>
      <p>
        <%= user.password_field :password, label: true %>
      </p>
    <% end %>
  <% end %>
  
  <% f.buttons do %>
    <%= submit_tag t(:'adva.sites.links.create_site_and_account') %>
  <% end %>
<% end %>

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
adva_cms-0.0.1 app/views/admin/install/index.html.erb
adva-0.0.1 adva_cms/app/views/admin/install/index.html.erb