Sha256: c5ed01963564d311298e82ac2e9862110dc4b255fec168b02973c0506c91aa90

Contents?: true

Size: 850 Bytes

Versions: 4

Compression:

Stored size: 850 Bytes

Contents

<%= form_for([:admin, @page], :remote => true, :html => {:id => 'new_page_form'}) do |f| %>
  <%= f.hidden_field(:parent_id) %>
  <%= f.hidden_field(:layoutpage) %>
  <div id="errors" style="display:none"></div>
  <table id="new_page_form">
    <tr>
      <td class="label">
        <%= f.label :page_layout %>
      </td>
      <td class="select">
        <%= f.select('page_layout', @page_layouts, {}, { :class => 'alchemy_selectbox', :autofocus => true }) %>
      </td>
    </tr>
    <tr>
      <td class="label">
        <%= f.label :name %>
      </td>
      <td class="input">
        <%= f.text_field(:name, :class => "thin_border") %>
      </td>
    </tr>
    <tr>
      <td class="label">&nbsp;</td>
      <td class="submit">
        <%= f.button t("create"), :class => 'button', :name => nil %>
      </td>
    </tr>
  </table>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
alchemy_cms-2.3.2 app/views/alchemy/admin/pages/_new_page_form.html.erb
alchemy_cms-2.3.1 app/views/alchemy/admin/pages/_new_page_form.html.erb
alchemy_cms-2.3.0 app/views/alchemy/admin/pages/_new_page_form.html.erb
alchemy_cms-2.3.rc5 app/views/alchemy/admin/pages/_new_page_form.html.erb