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