Sha256: ed4a2c735c11448d6429cacf5a44775fd8f1ef1c4124317ac055c04428a15a18

Contents?: true

Size: 1.05 KB

Versions: 5

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.email_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

5 entries across 5 versions & 1 rubygems

Version Path
adva-0.1.4 app/views/admin/install/index.html.erb
adva-0.1.3 app/views/admin/install/index.html.erb
adva-0.1.2 app/views/admin/install/index.html.erb
adva-0.1.1 app/views/admin/install/index.html.erb
adva-0.1.0 app/views/admin/install/index.html.erb