Sha256: 648bfa747b726aade8b4cbe9196d328ca561a4e32cbe2e8113b5f702f9451e24
Contents?: true
Size: 577 Bytes
Versions: 12
Compression:
Stored size: 577 Bytes
Contents
- for_context ||= context - fields.each do |field| - name = "#{for_context.resource.name}[#{field.name}]" - id = "#{for_context.resource.name}_#{field.name}" - if field.visible? div class="form-group" label for="#{id}" class="col-sm-2 control-label" = field.display_name div class="col-sm-10" input( type="text" class="form-control" id==id name==name value==field.read(for_context.entity) ) - else input type="hidden" name==name id==id value==field.read(for_context.entity)
Version data entries
12 entries across 12 versions & 1 rubygems