Sha256: 7c76d178f149d20cd4e4c12d4d2b2e424cbff1d9935b832c407a96a4101743eb

Contents?: true

Size: 602 Bytes

Versions: 12

Compression:

Stored size: 602 Bytes

Contents

<%= form_for [:admin, @content], :remote => true do |f| %>
  <%= f.error_messages %>
  <%= f.hidden_field :element_id %>
  <table>
    <tr>
      <td class="label"><%= f.label :name, t('name') %></td>
      <td class="select">
        <%= f.select('name', @contents.map { |a|
          [t("content_names.#{a['name']}"), a['name']]
        }, {}, {:class => 'alchemy_selectbox'}) %>
      </td>
    </tr>
    <tr>
      <td class="submit" colspan="2">
        <%= hidden_field_tag('options', @options) %>
        <%= f.button t(:create), :class => 'button' %>
      </td>
    </tr>
  </table>
<% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
alchemy_cms-2.3.2 app/views/alchemy/admin/contents/new.html.erb
alchemy_cms-2.4.1 app/views/alchemy/admin/contents/new.html.erb
alchemy_cms-2.5.0.b5 app/views/alchemy/admin/contents/new.html.erb
alchemy_cms-2.5.0.b2 app/views/alchemy/admin/contents/new.html.erb
alchemy_cms-2.4.0 app/views/alchemy/admin/contents/new.html.erb
alchemy_cms-2.4.rc4 app/views/alchemy/admin/contents/new.html.erb
alchemy_cms-2.4.rc2 app/views/alchemy/admin/contents/new.html.erb
alchemy_cms-2.4.rc1 app/views/alchemy/admin/contents/new.html.erb
alchemy_cms-2.3.1 app/views/alchemy/admin/contents/new.html.erb
alchemy_cms-2.4.beta2 app/views/alchemy/admin/contents/new.html.erb
alchemy_cms-2.3.0 app/views/alchemy/admin/contents/new.html.erb
alchemy_cms-2.3.rc5 app/views/alchemy/admin/contents/new.html.erb