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