Sha256: bc61df6cd1f43141d0e02faf5154d7f85bc5d2bb68bc672be631ef0dde90557f
Contents?: true
Size: 471 Bytes
Versions: 9
Compression:
Stored size: 471 Bytes
Contents
<%- input_classes = ['input'] input_classes << className if local_assigns[:className] name = name_from_variable(local_assigns) value = value_from_variable(local_assigns) %> <div class="field"> <label class="label"><%= local_assigns[:label] %></label> <div class="select"> <%= content_tag :select, nil, name: name, class: input_classes.join(' ') do %> <% options_for_select @doc.send("values_for_#{variable}"), value %> <% end %> </div> </div>
Version data entries
9 entries across 9 versions & 1 rubygems