Sha256: 06b228c4bc48e14f030fb5a8b6ec3967d78c506e5fe26a38844a7b6e8c6800dd

Contents?: true

Size: 605 Bytes

Versions: 9

Compression:

Stored size: 605 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

9 entries across 9 versions & 1 rubygems

Version Path
alchemy_cms-2.5.3.1 app/views/alchemy/admin/contents/new.html.erb
alchemy_cms-2.5.3 app/views/alchemy/admin/contents/new.html.erb
alchemy_cms-2.5.2.2 app/views/alchemy/admin/contents/new.html.erb
alchemy_cms-2.5.2.1 app/views/alchemy/admin/contents/new.html.erb
alchemy_cms-2.5.2 app/views/alchemy/admin/contents/new.html.erb
alchemy_cms-2.5.1 app/views/alchemy/admin/contents/new.html.erb
alchemy_cms-2.5.0 app/views/alchemy/admin/contents/new.html.erb
alchemy_cms-2.5.0.rc3 app/views/alchemy/admin/contents/new.html.erb
alchemy_cms-2.5.0.b9 app/views/alchemy/admin/contents/new.html.erb