Sha256: 818818b9772cac634c090b5231f3f4f406b02899411b81481c817d4834a071c9

Contents?: true

Size: 624 Bytes

Versions: 5

Compression:

Stored size: 624 Bytes

Contents

<h2><%= t(:'adva.sites.title.create') %></h2> 

<%= form_for [:admin, Site.new] do |form| %>
  <h2><%= t(:'adva.titles.home_section') %></h2>  

  <% form.field_set :'home_section' do %>
    <%= fields_for :section, Section.new(params[:section]) do |s| %>
      <% column do %>
        <%= s.label :title %>
        <%= s.text_field :title %>
      <% end %>
      <% column do %>
        <%= s.collection_select :type, Section.types, :to_s, :to_s, {}, :label => true, :tabindex => :section_title %>
      <% end %>
    <% end %>
  <% end %>

  <%= render "form", form: form %>

  <% save_or_cancel_links(form) %>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

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