Sha256: 3ba270271cf98ebdd491871818a202f72671fb27f9741de756840450d5141089

Contents?: true

Size: 464 Bytes

Versions: 15

Compression:

Stored size: 464 Bytes

Contents

<div className="form-group">
  <label className="control-label col-sm-3" htmlFor="<%= label %>"><%= defined?(label_text) ? label_text : label %></label>
  <div className="col-sm-9">
    <% if value === :file %>
        <input type="file" name="<%= label %>" ></input>
    <% else %>
        <input type="text" name="<%= label %>" defaultValue="<%= value.to_s %>" className="form-control" onChange={this.afterSetPartialState}></input>
    <% end %>
  </div>
</div>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
lurker-0.6.8 lib/lurker/templates/lurker/rendering/_param_form_element.html.erb
lurker-0.6.7 lib/lurker/templates/lurker/rendering/_param_form_element.html.erb
lurker-0.6.6 lib/lurker/templates/lurker/rendering/_param_form_element.html.erb
lurker-0.6.5 lib/lurker/templates/lurker/rendering/_param_form_element.html.erb
lurker-0.6.4 lib/lurker/templates/lurker/rendering/_param_form_element.html.erb
lurker-0.6.3 lib/lurker/templates/lurker/rendering/_param_form_element.html.erb
lurker-0.6.2 lib/lurker/templates/lurker/rendering/_param_form_element.html.erb
lurker-0.6.1 lib/lurker/templates/lurker/rendering/_param_form_element.html.erb
lurker-0.5.7 lib/lurker/templates/lurker/rendering/_param_form_element.html.erb
lurker-0.6.0 lib/lurker/templates/lurker/rendering/_param_form_element.html.erb
lurker-0.5.6 lib/lurker/templates/lurker/rendering/_param_form_element.html.erb
lurker-0.5.5 lib/lurker/templates/lurker/rendering/_param_form_element.html.erb
lurker-0.5.4 lib/lurker/templates/lurker/rendering/_param_form_element.html.erb
lurker-0.5.3 lib/lurker/templates/lurker/rendering/_param_form_element.html.erb
lurker-0.5.2 lib/lurker/templates/lurker/rendering/_param_form_element.html.erb