<%= form.label :name, _t("element_of_type") %> | <%= form.select( 'name', @page.can_have_cells? ? grouped_elements_for_select(@elements) : elements_for_select(@elements), { :prompt => _t('select_element') }, { :class => "alchemy_selectbox", :autofocus => true } ) -%> |
<%= form.hidden_field 'page_id' %> <%= form.button _t('add'), :class => 'button' %> |