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