Sha256: 886ab31bfa8443b1b5acdad4b4f2951c3cde836e83d87096e0a77ffffd1acd73
Contents?: true
Size: 612 Bytes
Versions: 5
Compression:
Stored size: 612 Bytes
Contents
= twitter_form_for [:admin, @<%= @instance_name %>] do |f| = field_set do = f.errors = flash_messages <% @table_columns.each do |c| %><% if @reflections[c[0]] %> .control-group = f.label :<%= @reflections[c[0]].name %>_id, class: 'control-label' .controls = f.collection_select :<%= @reflections[c[0]].name %>_id, <%= @reflections[c[0]].klass.name %>.all, :id, :<%= cms_select_name(@reflections[c[0]].klass) %>, { include_blank: 'Выберите значение' }, { class: 'span5' } <% else %>= f.string :<%= c[0] %> <% end %><% end %> = standard_actions(f)
Version data entries
5 entries across 5 versions & 1 rubygems