Sha256: c1820dd044594cf6c8b572d874f0309fb173669d442de386537ba00f97eba787
Contents?: true
Size: 1.94 KB
Versions: 2
Compression:
Stored size: 1.94 KB
Contents
<%= simple_form_for(help_request) do |f| %> <fieldset class="with-side-padding"> <legend>What’s Going On?</legend> <dl class="stacked"> <dt>Your Username</dt> <dd id="help-username"> <%= current_user.user_key %> </dd> <dt>Screen Size</dt> <dd id="help-resolution"> <%= help_request.resolution || 'Unknown' %> </dd> <dt>Browser Size</dt> <dd id="help-viewport"> <%= help_request.view_port || 'Unknown' %> </dd> <dt>JavaScript</dt> <dd id="help-js"> <% if help_request.javascript_enabled %> is enabled <% else %> is <strong>NOT</strong> enabled <% end %> </dd> <dt>Browser</dt> <dd id="help-browser"> <%= help_request.browser_name %> </dd> <dt>Platform</dt> <dd id="help-platfrom"> <%= help_request.platform %> </dd> <dt>CurateND Version</dt> <dd id="help-platfrom"> <%= Rails.configuration.build_identifier %> </dd> <dt>Current URL</dt> <dd id="help-url"<%= ' class="unset"'.html_safe if help_request.current_url? %>> <%= help_request.current_url %> </dd> </dl> </fieldset> <fieldset class="required with-side-padding"> <legend>Describe Your Issue</legend> <%= f.input :view_port, as: 'hidden' %> <%= f.input :resolution, as: 'hidden' %> <% if help_request.current_url.blank? %> <%= f.input :current_url, as: 'hidden', input_html: { class: 'unset' } %> <% else -%> <%= f.input :current_url, as: 'hidden' %> <% end -%> <%= f.input :javascript_enabled, as: 'hidden' %> <%= f.input :how_can_we_help_you, as: 'text', input_html: { class: 'input-xxxlarge', rows: '10' } %> </fieldset> <div class="form-actions"> <%= f.submit "Let Us Know", class: 'btn btn-primary' %> <a href="#" id="never-mind" class="btn btn-link" data-dismiss="modal">or never mind</a> </div> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
curate-0.1.1 | app/views/help_requests/new.html.erb |
curate-0.1.0 | app/views/help_requests/new.html.erb |