

@presentation.render_for(WeightsSequenceEditor, 'edit')
def render_weightssequenceeditor_edit(self, h, comp, model):

    def answer():
        if self.commit():
            comp.call(self, None)
    with h.form(class_='weights-form'):
        kw = {
            
        }
        if (not self.weights()):
            kw['placeholder'] = '10,20,30'
        (h << h.input(value=self.weights(), type='text', **comp).action(self.weights).error(self.weights.error))
        (h << h.button(_('Save'), class_='btn btn-primary').action(answer))
    return h.root

dataset/ETHPy150Open Net-ng/kansha/kansha/board/view.py render_weightssequenceeditor_edit/VarMisuse@113/145 `kw`->`comp`