Sha256: d7950a8f8923d519de54967be3f1df28587b5828cd31d40f63f5b7e5e5de0232

Contents?: true

Size: 458 Bytes

Versions: 5

Compression:

Stored size: 458 Bytes

Contents

<% raise 'You must pass in a "answerer" to use this partial' unless defined?(answerer) %>

<%= form_for answerer, url: "#", html: {class: "form-horizontal form-preview"} do |f| %>
  <fieldset>
    <% # This partial is loaded from the ask gem %>
    <%= render(partial: 'answerer/form', locals: { f: f }) %>
  </fieldset>
  <div class="form-actions">
    <%= f.submit 'Submit Form', class: "btn btn-primary disabled", disabled: :disabled %>
  </div>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ask-0.5.4 app/views/asker/_form_preview.html.erb
ask-0.5.3 app/views/asker/_form_preview.html.erb
ask-0.5.2 app/views/asker/_form_preview.html.erb
ask-0.5.1 app/views/asker/_form_preview.html.erb
ask-0.5.0 app/views/asker/_form_preview.html.erb