Sha256: 17a905310a37efa26fd2c3f1d11d9546324774ea8c08e52b26437e497b1de3d0

Contents?: true

Size: 373 Bytes

Versions: 6

Compression:

Stored size: 373 Bytes

Contents

<div class="control-group">
  <label class="control-label" for="<%= label %>"><%= defined?(label_text) ? label_text : label %></label>
  <div class="controls">
    <% if value === :file %>
        <input type="file" name="<%= label %>" ></input>
    <% else %>
        <input type="text" name="<%= label %>" value="<%= value.to_s %>"></input>
    <% end %>
  </div>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
api_taster-0.8.4 app/views/api_taster/routes/_param_form_element.html.erb
api_taster-0.8.3 app/views/api_taster/routes/_param_form_element.html.erb
api_taster-0.8.2 app/views/api_taster/routes/_param_form_element.html.erb
api_taster-0.8.1 app/views/api_taster/routes/_param_form_element.html.erb
api_taster-0.7.0 app/views/api_taster/routes/_param_form_element.html.erb
api_taster-0.6.0 app/views/api_taster/routes/_param_form_element.html.erb