Sha256: 00d7b7427917d3a810b713bc4d541ee6010a0905f7af8df8d048f2f9380f5399
Contents?: true
Size: 1.96 KB
Versions: 13
Compression:
Stored size: 1.96 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><%= t('sufia.product_name') %> Version</dt> <dd id="help-platfrom"> <%= Curate.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"> never mind</a> </div> <% end %>
Version data entries
13 entries across 13 versions & 1 rubygems