Sha256: c059b595d0d7e2003c5afa7bab6c0067ec734becac46bdfeb93bd3046765bbf7

Contents?: true

Size: 657 Bytes

Versions: 27

Compression:

Stored size: 657 Bytes

Contents

<%= alchemy_form_for [alchemy, :admin, @language] do |f| %>
  <%= f.input :name, autofocus: true %>
  <%= f.input :language_code, placeholder: _t(:language_code_placeholder) %>
  <%= f.input :country_code, as: 'string', placeholder: _t(:country_code_placeholder), hint: _t(:country_code_foot_note) %>
  <%= f.input :frontpage_name %>
  <%= f.input :page_layout,
    collection: Alchemy::PageLayout.all,
    label_method: ->(p) { Alchemy::PageLayout.human_layout_name(p['name']) },
    value_method: ->(p) { p['name'] },
    input_html: {class: 'alchemy_selectbox'} %>
  <%= f.input :public %>
  <%= f.input :default %>
  <%= f.submit _t(:save) %>
<% end %>

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
alchemy_cms-3.2.1 app/views/alchemy/admin/languages/_form.html.erb
alchemy_cms-3.1.3 app/views/alchemy/admin/languages/_form.html.erb
lc_alchemy_cms-3.2.1 app/views/alchemy/admin/languages/_form.html.erb
lc_alchemy_cms-3.2.0 app/views/alchemy/admin/languages/_form.html.erb
alchemy_cms-3.2.0 app/views/alchemy/admin/languages/_form.html.erb
alchemy_cms-3.2.0.rc1 app/views/alchemy/admin/languages/_form.html.erb
alchemy_cms-3.2.0.beta app/views/alchemy/admin/languages/_form.html.erb
alchemy_cms-3.1.1 app/views/alchemy/admin/languages/_form.html.erb
alchemy_cms-3.0.4 app/views/alchemy/admin/languages/_form.html.erb
alchemy_cms-3.1.0 app/views/alchemy/admin/languages/_form.html.erb
alchemy_cms-3.1.0.rc3 app/views/alchemy/admin/languages/_form.html.erb
alchemy_cms-3.1.0.rc2 app/views/alchemy/admin/languages/_form.html.erb
alchemy_cms-3.1.0.rc1 app/views/alchemy/admin/languages/_form.html.erb
alchemy_cms-3.1.0.beta6 app/views/alchemy/admin/languages/_form.html.erb
alchemy_cms-3.1.0.beta5 app/views/alchemy/admin/languages/_form.html.erb
alchemy_cms-3.1.0.beta4 app/views/alchemy/admin/languages/_form.html.erb
alchemy_cms-3.0.3 app/views/alchemy/admin/languages/_form.html.erb
alchemy_cms-3.1.0.beta3 app/views/alchemy/admin/languages/_form.html.erb
alchemy_cms-3.1.0.beta2 app/views/alchemy/admin/languages/_form.html.erb
alchemy_cms-3.1.0.beta1 app/views/alchemy/admin/languages/_form.html.erb