Sha256: dcdab8f8d15125eabd3be9e7b5061496c1bd618531c233d7cd9e9fd7cade7094
Contents?: true
Size: 431 Bytes
Versions: 20
Compression:
Stored size: 431 Bytes
Contents
<%= form_for [:admin, @content], :remote => true do |f| %> <%= f.error_messages %> <%= f.hidden_field :element_id %> <table> <tr> <td> <%= f.select 'name', @contents.map { |a| [t("alchemy.content_names.#{a['name']}"), a['name']] }, :style => 'width: 200px' %> <%= hidden_field_tag('options', @options) %> </td> <td> <%= f.button _('save'), :class => 'button' %> </td> </tr> </table> <% end %>
Version data entries
20 entries across 20 versions & 1 rubygems