Sha256: d2008e473d41e07a9cd71d782b045cce2b43a25d1cff2a76e7e24da8b7b723af
Contents?: true
Size: 738 Bytes
Versions: 9
Compression:
Stored size: 738 Bytes
Contents
<div class="new_alchemy_element"> <%- if @elements.blank? -%> <p class="with_padding"><%= _('no_more_elements_to_add') %></p> <%- else -%> <%= form_for( [:admin, @element], :remote => true, :class => "add_element_content" ) do |form| %> <div id="errors" style="display: none"></div> <%= form.hidden_field('page_id') %> <span style="margin-right: 16px"><%= _("element_of_type") %>:</span> <%= form.select( 'name', @page.can_have_cells? ? grouped_elements_for_select(@elements) : elements_for_select(@elements), {:prompt => _('select_element')}, {:class => 'very_long'} ) -%> <%= form.button( _('add'), :class => 'button' ) %> <% end %> <%- end -%> </div>
Version data entries
9 entries across 9 versions & 1 rubygems