Sha256: d8fc61e023dcb52c2551eae5b3ec3aae5fbac223510a4b4b3734d91d12703a94
Contents?: true
Size: 687 Bytes
Versions: 17
Compression:
Stored size: 687 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 %></td> <td class="select"> <%= f.select('name', @contents.map { |content| [ _t(content['name'], scope: 'content_names', default: content['name'].humanize), content['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
17 entries across 17 versions & 1 rubygems