Sha256: 4e431a74507ff396c0ed6eadd5bb1b021cf76d7c81cb3b154f04de26aff17b94

Contents?: true

Size: 514 Bytes

Versions: 2

Compression:

Stored size: 514 Bytes

Contents

<div class="alert alert-danger" role="alert"><%= @error %></div>
<div class="well">
<form action="<%= clip_path(@clip_id) %>" method="get" class="form-horizontal">
  <% @variables.each do |variable, options| %>
  <div class="form-group">
    <label for="<%= variable %>" class="control-label">
    <%= variable %>
    </label>
    <input id="<%= variable %>" name="<%= variable %>" type="<%= options[:type] %>" value="<%= params[variable.to_sym] %>"/>
  </div>
  <% end %>
  <input type="submit" />
</form>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dataclips-0.0.2 app/views/dataclips/clips/require_variables.html.erb
dataclips-0.0.1 app/views/dataclips/clips/edit.html.erb