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