Help us improve GOV.UK

      <form accept-charset="UTF-8" action="/contact/govuk/problem_reports" method="post">

<input name="utf8" type="hidden" value="✓">

        <input id="url" name="url" type="hidden" value="<%= h request_url %>">
        <% if defined?(source) %>
          <input id="source" name="source" type="hidden" value="<%= source %>">
        <% end %>
        <% if defined?(page_owner) %>
          <input id="page_owner" name="page_owner" type="hidden" value="<%= page_owner %>">
        <% end %>

Don't include personal or financial information, eg your National Insurance number or credit card details.

        What you were doing
        <input id="what_doing" name="what_doing" type="text" />

        What went wrong
        <input id="what_wrong" name="what_wrong" type="text" />

          <button name="commit" type="submit" class="button">Send</button>

      </form>

Help us improve GOV.UK

      <form accept-charset="UTF-8" action="/contact/govuk/problem_reports" method="post">

<input name="utf8" type="hidden" value="✓">

        <input id="url" name="url" type="hidden" value="<%= h request_url %>">
        <% if defined?(source) %>
          <input id="source" name="source" type="hidden" value="<%= source %>">
        <% end %>
        <% if defined?(page_owner) %>
          <input id="page_owner" name="page_owner" type="hidden" value="<%= page_owner %>">
        <% end %>

Don’t include personal or financial information, eg your National Insurance number or credit card details.

        What you were doing
        <input id="what_doing" name="what_doing" type="text" />

        What went wrong
        <input id="what_wrong" name="what_wrong" type="text" />

          <button name="commit" type="submit" class="button">Send</button>

      </form>

Tweak original report a problem layout

Tweak original report a problem layout

* Remove HTML comments
* Use smart quotes


<% if transaction.transaction_type == 'request' %>
  <%= link_to transaction.request.requester.first_name, user_path(transaction.request.requester) %> has made a request <%= time_ago_in_words(transaction.created_at) %> ago.
<% elsif transaction.transaction_type == 'response' %>
  <%= link_to transaction.request.responder.first_name, user_path(transaction.request.responder) %> has responded to <%= link_to transaction.request.requester.first_name, user_path(transaction.request.requester) %>'s request <%= time_ago_in_words(transaction.created_at) %> ago!
<% elsif transaction.transaction_type == 'fulfillment' %>
  <%= link_to transaction.request.responder.first_name, user_path(transaction.request.responder) %> has fulfilled <%= link_to transaction.request.requester.first_name, user_path(transaction.request.requester) %>'s request <%= time_ago_in_words(transaction.created_at) %> ago!
<% else %>
  Poop
<% end %>

<% if transaction.transaction_type == 'request' %>
<%= image_tag(transaction.request.requester.picture, class:"profpic", height:"80", width:"80", align:"left") %>
<%= link_to transaction.request.requester.first_name, user_path(transaction.request.requester) %> has made a request <%= time_ago_in_words(transaction.created_at) %> ago.
<% elsif transaction.transaction_type == 'response' %>
<%= image_tag(transaction.request.requester.picture, class:"profpic", height:"100", width:"100", align:"left") %>
<%= link_to transaction.request.responder.first_name, user_path(transaction.request.responder) %> has responded to <%= link_to transaction.request.requester.first_name, user_path(transaction.request.requester) %>'s request <%= time_ago_in_words(transaction.created_at) %> ago!
<% elsif transaction.transaction_type == 'fulfillment' %>
<%= image_tag(transaction.request.requester.picture, class:"profpic", height:"100", width:"100", align:"left") %>
<%= link_to transaction.request.responder.first_name, user_path(transaction.request.responder) %> has fulfilled <%= link_to transaction.request.requester.first_name, user_path(transaction.request.requester) %>'s request <%= time_ago_in_words(transaction.created_at) %> ago!
<% else %>
Poop
<% end %>

Add user profile pic to transaction partial


Hey <%= @user.name.split(' ').first %>!

You are about to embark on what may turn out to be the most rewarding and profitable thing you have ever done online.

Building your online platform is important. We want to help millions of motivated and passionate people like you
build real online businesses without all the technology gobbledygook.

We handle the tech so you can focus on what matters, your members and content.

Check your admin page to share you club link on your blog, social profiles, and email.

To make sure your club is successful we give you free access to our club:

<%= link_to "Membership Secrets: How to build & grow a successful Club", "#{@request_protocol}#{@request_host}#{club_path(1)}" %>

Go be great!

Keith

----

Keith Griffis

Co-founder

IfSimply.com - Stop Wishing, Start Growing

The easiest way to create a membership club? IfSimply.com!

Hey <%= @user.name.split(' ').first %>!

You are about to embark on what may turn out to be the most rewarding and profitable thing you have ever done online.

Building your online platform is important. We want to help millions of motivated and passionate people like you
build real online businesses without all the technology gobbledygook.

We handle the tech so you can focus on what matters, your members and content.

Check your admin page to share your club link on your blog, social profiles, and email.

To make sure your club is successful we give you free access to our club:

<%= link_to "Membership Secrets: How to build & grow a successful Club", "#{@request_protocol}#{@request_host}#{club_path(1)}" %>

Go be great!

Keith

----

Keith Griffis

Co-founder

IfSimply.com - Stop Wishing, Start Growing

The easiest way to create a membership club? IfSimply.com!

Fix Typo in Sign-Up Thank You Email

Fix Typo in Sign-Up Thank You Email

Fix a typo in the Sign-Up Thank You email ('you' to 'your').


<script type="text/javascript" >
  var refinery = window.refinery || {};
  refinery.current_admin_locale = '<%= current_admin_locale %>';
</script>
<%= javascript_include_tag 'admin' -%>
<%= javascript_include_tag 'refinery/refinery' -%>
<% visual_editor_javascripts.each do |js| %>
  <%= javascript_include_tag js %>
<% end %>
<%= javascript_include_tag 'refinery/application' -%>
<%= yield :after_javascript_libraries -%>
<% custom_javascripts.each do |js| %>
  <%= javascript_include_tag js %>
<% end %>
<%= yield :javascripts %>

<% if controller.class.respond_to?(:xhr_pageable?) && !controller.class.xhr_pageable? %>
  <script>
    $(document).ready(function() {
      $('.pagination_container .pagination a').off('click');
    });
  </script>
<% end %>

<script type="text/javascript" >
  var refinery = window.refinery || {};
  refinery.current_admin_locale = '<%= current_admin_locale %>';
</script>
<%= javascript_include_tag 'admin' -%>
<%= javascript_include_tag 'refinery/refinery' -%>
<%= javascript_include_tag 'refinery/application' -%>
<% visual_editor_javascripts.each do |js| %>
  <%= javascript_include_tag js %>
<% end %>
<%= yield :after_javascript_libraries -%>
<% custom_javascripts.each do |js| %>
  <%= javascript_include_tag js %>
<% end %>
<%= yield :javascripts %>

<% if controller.class.respond_to?(:xhr_pageable?) && !controller.class.xhr_pageable? %>
  <script>
    $(document).ready(function() {
      $('.pagination_container .pagination a').off('click');
    });
  </script>
<% end %>

Move wymeditor javascript to after application.

Wymeditor javascripts use functionality included by the
'refinery/application' manifest. Therefore, it must be included
afterwards.

This change in conjunction with my other pull request to
parndt/refinerycms-wymeditor fixes a problem where ajax pagination would
trigger two ajax requests when clicking a page change rather than just
the desired one.

This was because both wymeditor and refinery/application asset pipelines
were including refinery/admin, which then triggered init pagination
twice, which resulted in two identical handlers firing.


Add New Post

	<form role="form">
		<textarea class="form-control" rows="6"></textarea>

	 	<button type="submit" class="btn btn-primary">Submit</button>
	</form>

Add New Post

	<form action="/new" method="POST" role="form">
		<textarea class="form-control" rows="6"></textarea>

	 	<button type="submit" class="btn btn-primary">Submit</button>
	</form>

Add action, method attributes to form

Add action, method attributes to form


Contributors

  <%= link_to "Become a Contributor", become_a_contributor_path, class: "button tiny radius right" %>

  <dd class="<%= "active" if current_page?(contributors_path) %>">
    <%= link_to contributors_path do %>
      All <%= @icla_signatures && @ccla_signatures ? (@icla_signatures.count + @ccla_signatures.count) : (IclaSignature.count + CclaSignature.count) %>
    <% end %>

  <dd class="<%= "active" if current_page?(icla_signatures_path) %>">
    <%= link_to icla_signatures_path, rel: 'individual-contributors' do %>
      Individuals <%= @icla_signatures ? @icla_signatures.count : IclaSignature.by_user.count %>
    <% end %>

  <dd class="<%= "active" if current_page?(ccla_signatures_path) %>">
    <%= link_to ccla_signatures_path, rel: 'companies' do %>
      Companies <%= @ccla_signatures ? @ccla_signatures.count : CclaSignature.by_organization.count %>
    <% end %>

Contributors

  <%= link_to "Become a Contributor", become_a_contributor_path, class: "button tiny radius right" %>

  <dd class="<%= "active" if current_page?(contributors_path) %>">
    <%= link_to contributors_path do %>
      All <%= User.authorized_contributors.count %>
    <% end %>

  <dd class="<%= "active" if current_page?(icla_signatures_path) %>">
    <%= link_to icla_signatures_path, rel: 'individual-contributors' do %>
      Individuals <%= @icla_signatures ? @icla_signatures.count : IclaSignature.by_user.count %>
    <% end %>

  <dd class="<%= "active" if current_page?(ccla_signatures_path) %>">
    <%= link_to ccla_signatures_path, rel: 'companies' do %>
      Companies <%= @ccla_signatures ? @ccla_signatures.count : CclaSignature.by_organization.count %>
    <% end %>

Update logic for All Contributors tab count.

The previous implementation was not accurate. This grabs the unique count of
authorized contributors.


<%= form_for @petition, url: admin_petition_petition_details_path(@petition), method: :patch do |f| %>

Edit petition

  <%= form_row for: [f.object, :action] do %>
    <%= f.label :action, class: 'form-label' %>
    <%= error_messages_for_field @petition, :action %>
    <%= f.text_area :action, tabindex: increment, rows: 3, maxlength: 80, class: 'form-control' %>
  <% end %>

  <%= form_row for: [f.object, :background] do %>
    <%= f.label :background, class: 'form-label' %>
    <%= error_messages_for_field @petition, :background %>
    <%= f.text_area :background, tabindex: increment, rows: 5, class: 'form-control' %>
  <% end %>

  <%= form_row for: [f.object, :additional_details] do %>
    <%= f.label :additional_details, class: 'form-label' %>
    <%= error_messages_for_field @petition, :additional_details %>
    <%= f.text_area :additional_details, tabindex: increment, rows: 7, class: 'form-control' %>
  <% end %>

  <%= form_row do %>
    <%= f.submit 'Save' %>
  <% end %>

  <%= link_to 'Cancel', admin_petition_path(@petition) %>

<% end %>

Edit petition

    <%= form_for @petition, url: admin_petition_petition_details_path(@petition), method: :patch do |f| %>

      <%= form_row for: [f.object, :action] do %>
        <%= f.label :action, class: 'form-label' %>
        <%= error_messages_for_field @petition, :action %>
        <%= f.text_area :action, tabindex: increment, rows: 3, maxlength: 80, class: 'form-control' %>
      <% end %>

      <%= form_row for: [f.object, :background] do %>
        <%= f.label :background, class: 'form-label' %>
        <%= error_messages_for_field @petition, :background %>
        <%= f.text_area :background, tabindex: increment, rows: 5, class: 'form-control' %>
      <% end %>

      <%= form_row for: [f.object, :additional_details] do %>
        <%= f.label :additional_details, class: 'form-label' %>
        <%= error_messages_for_field @petition, :additional_details %>
        <%= f.text_area :additional_details, tabindex: increment, rows: 7, class: 'form-control' %>
      <% end %>

      <%= form_row do %>
        <%= f.submit 'Save', class: 'button' %>
      <% end %>

      <%= link_to 'Cancel', admin_petition_path(@petition) %>

    <% end %>

    <%= render 'admin/petitions/petition_details' %>

Use the column display for petition details admin

It's not a "petition action" that lives in the nav element, so we don't show the petition_actions nav (it could get confusing), but it's nice to show more of the details in the sidebar.


<%= content_tag_for(:article, item) do %>

<%= link_to item.title, public_document_path(item), class: "title" %>

    <% if display != "compact" %>

        <%= item.summary %>

    <% end %>

      <%= announcement_type(item) %>
      posted <%= relative_time(item.first_published_at, class: 'first_published_at') %>
      <% if item.organisations.any? %>
        by <% item.organisations.each do |org| %>
            <%= link_to (org.acronym.blank? ? org.name : org.acronym), organisation_path(org) %>
        <% end %>
      <% end %>

<% end %>

<%= content_tag_for(:article, item) do %>

<%= link_to item.title, public_document_path(item), class: "title" %>

      <%= item.summary %>

      <%= announcement_type(item) %>
      posted <%= relative_time(item.first_published_at, class: 'first_published_at') %>
      <% if item.organisations.any? %>
        by <% item.organisations.each do |org| %>
            <%= link_to (org.acronym.blank? ? org.name : org.acronym), organisation_path(org) %>
        <% end %>
      <% end %>

<% end %>

Stop random cruft being printed during tests

It turns out that #display is actually a method on Object which dumps
information about an object. If the display variable hadn't been passed
in to this template then it was causing output like
  #<#<Class:0x007f97c0c9dfd8>:0x007f97c2210fa0>
to be printed during test runs.


  <fieldset class="inputs">

    <%= f.input :evidence_type %>
    <%= f.input :details, :input_html => { :rows => "4" } %>

    <% if false # we're disabling file uploads for the time being %>
    <%= f.input :file, :as => :file %>

<%= link_to_remove_fields "Delete", f %>

    <% end %>

  </fieldset>

  <fieldset class="inputs">

    <%= f.input :evidence_type %>
    <%= f.input :details, :input_html => { :rows => "4" } %>

    <% # we're disabling file uploads for the time being %>
    <% if false %>
    <%= f.input :file, :as => :file %>

<%= link_to_remove_fields "Delete", f %>

    <% end %>

  </fieldset>

Correct ERB syntax for comments

Correct ERB syntax for comments


<% builds.each_with_index do |build, idx| %>
  <div class="accordion" id="accordion<%= idx %>">

      <a class="accordion-toggle <%= build.heading_color %>" data-toggle="collapse" data-parent="#accordion<%= idx+1 %>" href="#collapse_<%= idx %>">
        <%= build[:parent] %> :: <%= build.display_title %> <% build[:warnings].each do |warning| %><%= warning %><% end %>

    <div id="collapse_<%= idx %>" class="accordion-body collapse in">

            <a href="<%= build_url_for(build) %>">Link to this build

            <%= build.output if build.respond_to? :output %>

          <%= erb(:"partials/builds/debug", :locals => { :build => build }) %>

<% end %>

<% builds.each_with_index do |build, idx| %>
  <div class="accordion" id="accordion<%= idx %>">
    <%= erb(:"partials/builds/show", :locals => { :build => build, :idx => idx }) %>

<% end %>

Use the build/show partial in the build queue


<% content_for :title, "Jobs and employment tools - Support Pages - GOV.UK Beta (Test)" %>

    <hgroup class="full-width">

Jobs and employment tools

    </hgroup>

On this page:

<% content_for :body_classes do %>full-width<% end %>
<% content_for :extra_stylesheets do %>
  <%= stylesheet_link_tag 'support-styles' %>
<% end %>

<% content_for :title, "Jobs and employment tools - Support Pages - GOV.UK Beta (Test)" %>

    <hgroup class="full-width">

Jobs and employment tools

    </hgroup>

On this page:

What has happened to my 'My Business' account?

What has happened to my 'My Business' account?

The 'My Business' service run by Business Link was shut down on 17 October 2012, when GOV.UK replaced that site as the home of business services and information from the UK government.

You won't be able to access any of the information once held in this account; it has been securely deleted and none of that information has been retained by the government.

<% content_for :body_classes do %>full-width<% end %>
<% content_for :extra_stylesheets do %>
  <%= stylesheet_link_tag 'support-styles' %>
<% end %>

Add content for jobs and employment page


export P4PORT=<%= @p4_port %>
export P4CHARSET=<%= @p4_charset %>
export P4USER=<%= @p4_user %>
export P4CONFIG=<%= @p4_config %>
export PATH=/<%= node[:p4][:install_dir] %>:$PATH

export P4PORT=<%= @p4_port %>
export P4CHARSET=<%= @p4_charset %>
export P4USER=`whoami`
export P4CONFIG=<%= @p4_config %>
export PATH=<%= node[:p4][:install_dir] %>:$PATH

Fix p4user to be auto set on logon

Fix p4user to be auto set on logon

remove extra / in path to p4 executable


---
layout: document_type_layout
parent: /document-types.html
---

There are <%= page.total_count %> pages with document type '<%= page.name %>' on GOV.UK.

Most popular pages

<% page.examples.each do |example| %>

<%= link_to example['title'], "https://www.gov.uk/#{example['link']}" %>

<% end %>

<%= link_to 'Source query from Search API', page.search_url %>

---
layout: document_type_layout
parent: /document-types.html
---

There are <%= page.total_count %> pages with document type '<%= page.name %>' on GOV.UK.

Most popular pages

<% page.examples.each do |example| %>

<%= link_to example['title'], "https://www.gov.uk#{example['link']}" %>

<% end %>

<%= link_to 'Source query from Search API', page.search_url %>

Fix double slash in URL of popular items

In this case `example['link']` already has a slash.


user                    <%= @daemon_user %>;
worker_processes        <%= @worker_processes %>;
worker_rlimit_nofile    <%= @worker_rlimit_nofile %>;
error_log               <%= scope.lookupvar('nginx::params::nx_logdir')%>/error.log;
pid                     <%= scope.lookupvar('nginx::params::nx_pid')%>;

events {
  worker_connections        <%= @worker_connections %>;
}

http {
  include                   /etc/nginx/mime.types;
  default_type              application/octet-stream;
  server_tokens             <%= @server_tokens %>;

  sendfile                  <%= scope.lookupvar('nginx::params::nx_sendfile')%>;
  <% if scope.lookupvar('nginx::params::nx_gzip') == 'on'%>
  gzip                      on;
  <% end %>
  client_max_body_size      <%= @client_max_body_size %>;
  keepalive_timeout         <%= @keepalive_timeout %>;
  <% if scope.lookupvar('nginx::params::nx_tcp_nopush') == 'on'%>
  tcp_nopush                on;
  <% end %>
  client_body_timeout       <%= @client_body_timeout %>;
  client_header_timeout     <%= @client_header_timeout %>;
  send_timeout              <%= @send_timeout %>;
  <% if @access_log == 'on'%>
  access_log                <%= scope.lookupvar('nginx::params::nx_logdir')%>/access.log;
  <% else %>
  access_log                off;
  <% end -%>

  include /etc/nginx/conf.d/*.conf;
}

user                    <%= @daemon_user %>;
worker_processes        <%= @worker_processes %>;
worker_rlimit_nofile    <%= @worker_rlimit_nofile %>;
error_log               <%= scope.lookupvar('nginx::params::nx_logdir')%>/error.log;
pid                     <%= scope.lookupvar('nginx::params::nx_pid')%>;

events {
  worker_connections        <%= @worker_connections %>;
}

http {
  include                   /etc/nginx/mime.types;
  default_type              application/octet-stream;
  charset                   utf-8;
  server_tokens             <%= @server_tokens %>;

  sendfile                  <%= scope.lookupvar('nginx::params::nx_sendfile')%>;
  <% if scope.lookupvar('nginx::params::nx_gzip') == 'on'%>
  gzip                      on;
  <% end %>
  client_max_body_size      <%= @client_max_body_size %>;
  keepalive_timeout         <%= @keepalive_timeout %>;
  <% if scope.lookupvar('nginx::params::nx_tcp_nopush') == 'on'%>
  tcp_nopush                on;
  <% end %>
  client_body_timeout       <%= @client_body_timeout %>;
  client_header_timeout     <%= @client_header_timeout %>;
  send_timeout              <%= @send_timeout %>;
  <% if @access_log == 'on'%>
  access_log                <%= scope.lookupvar('nginx::params::nx_logdir')%>/access.log;
  <% else %>
  access_log                off;
  <% end -%>

  include /etc/nginx/conf.d/*.conf;
}

Set nginx' default charset to utf-8

Set nginx' default charset to utf-8


# Generated by Chef
# host definitions

define host {
  use server
  address <%= node['ipaddress'] %>
  host_name <%= node['hostname'] %>
  hostgroups <%= node['nagios']['server_role'] %>
}

<% @nodes.each do |n| -%>
<% unless n.name == node.name -%>
define host {
  use server
  address <%= n['ipaddress'] %>
  host_name <%= n['hostname'] %>
<% if n.run_list.roles.nil? || n.run_list.roles.length == 0 -%>
  hostgroups all
<% elsif node['nagios']['multi_environment_monitoring'] == "true" -%>
	<% if node['nagios']['multi_os_monitoring'] == "true" -%>
		hostgroups <%= n.run_list.roles.to_a.join(",") %>,<%= n.chef_environment %>,<%= n.os %>
	<% else -%>
	  hostgroups <%= n.run_list.roles.to_a.join(",") %>,<%= n.chef_environment %>
	<% end -%>
<% elsif node['nagios']['multi_os_monitoring'] == "true" -%>
hostgroups <%= n.run_list.roles.to_a.join(",") %>,<%= n.os %>
<% else -%>
  hostgroups <%= n.run_list.roles.to_a.join(",") %>
<% end -%>
}
<% end -%>

<% end -%>

Fix formatting so the ERB writes out correctly

Former-commit-id: a358d315b6eb27c916c12839cc12d17f8d5d68b4 [formerly 9b5c7dac31254afa9a497616162f6fa4622e87fd] [formerly c2c12c072c85a3d42ad11b3b9f1865f9a0e19571 [formerly d7b3d188c6d87880d64d62ae75ddad02273e8e4b [formerly 6a0453a7558815ed8a59c8b10c5b60d2e4c58906]]]
Former-commit-id: 6f8c8e9f0841c58384bb911fd7eefff1b941938b [formerly e354ad533208e8ab14fadf4ad5fe8516d4235140]
Former-commit-id: 31eca9b630e146ea01d196255ce3cb1ffecce5a8
Former-commit-id: f7ae813980ff1350feb4d55717605cb4e521502d


<% if @authorizedIps.nil? || @authorizedIps.empty? -%>

	Pas d'ip enregistree pour outrepasser la maintenance

<% else
	count = 0
	@authorizedIps.each do |ip|
	odd = (count%2 == 0 ? ' odd' : '') -%>
<tr class="record <%=odd%>" id="record-<%=ip%>">
	<%=ip%>
	<%= link_to_remote 'Retirer', :update => 'bodyListIps', :url=> url_for(:controller => 'server_state', :action => 'remove_ip'), :with => "'ip=#{ip}'", :method => 'post', :confirm => 'Are you sure to remove \''+ip+'\'?' %>

	<% end -%>
<% end -%>

<% unless @addIpResult.nil?-%>

<% end -%>

Improve interface + fix some bugs + add some passenger methods if passenger used


Application: <%= @application.name %>

Application Id:

<%= @application.uid %>

Secret:

<%= @application.secret %>

Scope:

<%= @application.default_scope.join(",")%>

Callback urls:

      <% @application.redirect_uri.split.each do |uri| %>

            <%= uri %>

            <%= link_to 'Authorize', oauth_authorization_path(client_id: @application.uid, redirect_uri: uri, response_type: 'token', scope: @application.default_scope.join("+")), class: 'btn btn-success', target: '_blank' %>

      <% end %>

Actions

<%= link_to 'Edit', edit_oauth_application_path(@application), class: 'btn btn-primary' %>

<%= render 'delete_form', application: @application, submit_btn_css: 'btn btn-danger' %>

Application: <%= @application.name %>

Application Id:

<%= @application.uid %>

Secret:

<%= @application.secret %>

Scope:

<%= @application.default_scope.join(",")%>

Callback urls:

      <% @application.redirect_uri.split.each do |uri| %>

            <%= uri %>

            <%= link_to 'Authorize', oauth_authorization_path(client_id: @application.uid, redirect_uri: uri, response_type: 'token', scope: @application.default_scope.join(" ")), class: 'btn btn-success', target: '_blank' %>

      <% end %>

Actions

<%= link_to 'Edit', edit_oauth_application_path(@application), class: 'btn btn-primary' %>

<%= render 'delete_form', application: @application, submit_btn_css: 'btn btn-danger' %>

Fix reemplazo del + por el espacio en el join que te redirige a la app autorizada (para más info, ver la wiki)


<%graphql
  fragment User on User {
    login
    birthday
  }
%>
<%= user.login %>

<%graphql
  fragment User on User {
    login
    birthday

    posts(first: 10) {
      edges {
        node {
          title
        }
      }
    }
  }
%>
<%= user.login %>

<%- user.posts.edges.map(&:node).map(&:title).each do |title| %>

<%= title %>

<%- end %>

Add failing test showing symbol to proc issue


  <form action='/user/<%= @user.id %>/add' method="POST">
    Name: <input type="text" name="movie[name]">

ADD DROPDOWN FOR GENRE

    Description: <textarea name="movie[description]"></textarea>

    Rating: <input type="text" name="movie[rating]">

    <input type="submit">
  </form>

  <form action='/user/<%= @user.id %>/add' method="POST">
    Name: <input type="text" name="movie[name]">

ADD DROPDOWN FOR GENRE

    Genre:<input type="text" name="genre[name]">

    Description: <textarea name="movie[description]"></textarea>

    Rating: <input type="text" name="movie[rating]">

    <input type="submit">
  </form>

Add a field in create movie form to allow user to enter a genre


This is where your form for creating new users will go.

<%= render 'form', item: @user %>

Register New User

<%= render 'form', item: @user %>

Already have a profile?  <%= link_to 'Login here!', login_path%>

Add a level 2 header to new user form. Add clickable link that will take users from registration form to login form


  <%= form.text_field :hoc_paper_number, label_text: 'House of Commons paper number', class: 'input-md-3' %>
  <%= form.check_box :unnumbered_hoc_paper, label_text: 'Unnumbered' %>

  <%= form.label :parliamentary_session %>
  <%= form.select :parliamentary_session, Attachment.parliamentary_sessions, {include_blank: true}, {class: 'form-control input-md-3'} %>

  <%= form.text_field :hoc_paper_number, label_text: 'House of Commons paper number', class: 'input-md-3' %>
  <%= form.check_box :unnumbered_hoc_paper, label_text: 'Unnumbered act paper' %>

    Fill in the command and House of Commons boxes to publish an official
    document which will appear in the list of official documents.

  <%= form.label :parliamentary_session %>
  <%= form.select :parliamentary_session, Attachment.parliamentary_sessions, {include_blank: true}, {class: 'form-control input-md-3'} %>

Choose the right Parliamentary session.

Add help text for House of Commons reference fields

Plenty of documents get published incorrectly. They should be marked
as official documents but aren't. This is controlled by data put into
the form fields above. The GOV.UK guidance team met with someone from
the National Archives about this problem and decided these changes
would help publishers make more informed decisions.


<%= shared_path %>/log/production.log <%= shared_path %>/log/mongrel.*.log {
  daily
  rotate 14
  dateext
  missingok
  compress
  sharedscripts
  copytruncate
}

<%= shared_path %>/log/<%= rails_env %>.log <%= shared_path %>/log/mongrel.*.log {
  daily
  rotate 14
  dateext
  missingok
  compress
  sharedscripts
  copytruncate
}

Use :rails_env rather then 'production' when rotating rails log file.


Welcome to <%= competition_name %>

	<%= link_to image_tag("mcpa-black.png", width: '80%', alt: "MCPA San Antonio logo",
												class: "center col-sm-12 col-md-6 col-md-offset-3"), 'http://mcpa-stl.org' %>

    Announcing Defend the Alamo 2017!  April 29th 2017, location: TBD.

	<% if registration_active? %>
		<% if !logged_in? %>
  			<%= link_to "Sign up now!", signup_path, class: "btn btn-lg btn-primary" %>
  		<% end %>
	<% else %>
		<% if competition_started? %>

Registration closed!

		<% else %>

Registration hasn't opened yet, check back soon!

		<% end %>
	<% end %>

Welcome to <%= competition_name %>

	<%= link_to image_tag("mcpa-black.png", width: '80%', alt: "MCPA San Antonio logo",
												class: "center col-sm-12 col-md-6 col-md-offset-3"), 'http://mcpa-stl.org' %>

    Announcing Defend the Alamo 2017!  April 29th 2017, location: TBD.  Sign-up now!

	<% if registration_active? %>
		<% if !logged_in? %>
  			<%= link_to "Sign up now!", signup_path, class: "btn btn-lg btn-primary" %>
  		<% end %>
	<% else %>
		<% if competition_started? %>

Registration closed!

		<% else %>

Registration hasn't opened yet, check back soon!

		<% end %>
	<% end %>

Revert "Remove redundant 'Sign-Up Now!'"

This reverts commit d70014d285f9b7644404663fef8662015bb01ab0.


CII Best Practices Badge Program

    The Core Infrastructure Initiative (CII)
    Best Practices badge is a way for Free/Libre and
    Open Source Software (FLOSS) projects to
    show that they follow best practices. Projects can voluntarily self-certify,
    at no cost, by using this web application to explain how they follow each
    best practice. The CII Best Practices Badge is inspired by the many badges
    available to projects on Github. Consumers of the badge will be able to
    quickly assess which OSS projects are following best practices and as a
    result are more likely to produce higher-quality secure software.

    More information on the CII Best Practices Badging program,
    including background
    and criteria, is available on
    GitHub.

<%= link_to 'Get Your Badge Now!', new_project_path, class:"btn btn-success" %>

CII Best Practices Badge Program

    The Core Infrastructure Initiative (CII)
    Best Practices badge is a way for Free/Libre and
    Open Source Software (FLOSS) projects to
    show that they follow best practices. Projects can voluntarily self-certify,
    at no cost, by using this web application to explain how they follow each
    best practice. The CII Best Practices Badge is inspired by the many badges
    available to projects on Github. Consumers of the badge will be able to
    quickly assess which FLOSS projects are following best practices and as a
    result are more likely to produce higher-quality secure software.

    More information on the CII Best Practices Badging program,
    including background
    and criteria, is available on
    GitHub.

<%= link_to 'Get Your Badge Now!', new_project_path, class:"btn btn-success" %>

Fix home page OSS -> FLOSS

Fix home page OSS -> FLOSS

Signed-off-by: David A. Wheeler <9ae72d22d8b894b865a7a496af4fab6320e6abb2@dwheeler.com>


<% page_title @world_location.name %>
<% page_class "world-location-show" %>

<%= content_tag_for(:div, @world_location) do %>

      <%= @world_location.name %>
      “<%= @world_location.title %>”

<%= view_on_website_link_for @world_location %>

    <%= tab_navigation_for(@world_location) %>

      <%= govspeak_to_html @world_location.mission_statement %>

      <%= link_to "Edit", [:edit, :admin, @world_location], class: "btn btn-lg btn-primary"%>

<% end %>

<% page_title @world_location.name %>
<% page_class "world-location-show" %>

<%= content_tag_for(:div, @world_location) do %>

      <%= @world_location.name %>
      “<%= @world_location.title %>”

    <%= link_to "View on website", world_location_news_index_path(@world_location, cachebust_url_options) %>

    <%= tab_navigation_for(@world_location) %>

      <%= govspeak_to_html @world_location.mission_statement %>

      <%= link_to "Edit", [:edit, :admin, @world_location], class: "btn btn-lg btn-primary"%>

<% end %>

Update world location news view link

Update world location news view link

`WorldLocation`s are no longer rendered explicitly and are now
represented as world location news pages. This commit updates the 'View
on website' link to point to this URL.


<% content_for :title, "2-step verification" %>
<% content_for :thin_form, true %>
<% content_for :suppress_navbar_items, true %>

Sign in

<%= form_tag(two_step_verification_session_path, :method => :post) do %>

2-step verification

        <%= label_tag :code, 'Verification code' %>

Use the verification app on your phone to get your code.
You won’t need to do this again for 30 days.

        <%= text_field_tag :code, nil,
          class: 'form-control input-md-4 input-lg',
          placeholder: 'Enter 6-digit code',
          tabindex: 1,
          autofocus: 'autofocus',
          autocomplete: 'off' %>

      <%= submit_tag "Sign in", tabindex: 2, class: 'btn btn-success btn-lg btn-block' %>

<% end %>

<% content_for :title, "2-step verification" %>
<% content_for :thin_form, true %>
<% content_for :suppress_navbar_items, true %>

Sign in

<%= form_tag(two_step_verification_session_path, :method => :post) do %>

2-step verification

        <%= label_tag :code, 'Verification code' %>

Use the verification app on your phone to get your code.
You won’t need to do this again for 30 days.

        <%= text_field_tag :code, nil,
          class: 'form-control input-md-4 input-lg',
          placeholder: 'Enter 6-digit code',
          tabindex: 1,
          autofocus: 'autofocus',
          autocomplete: 'off',
          'aria-describedby': 'code-hint' %>

      <%= submit_tag "Sign in", tabindex: 2, class: 'btn btn-success btn-lg btn-block' %>

<% end %>

Add aria-described-by for 2-step code input

The hint about where to find your verification code should be linked to
the input.


/* DO NOT EDIT: File is auto-generated */
package <%= message.data_module.gwt.client_event_package %>;

public interface <%= message.gwt.event_handler_name %>
  extends com.google.gwt.event.shared.EventHandler
{
  void on<%= message.name %>( <%= message.gwt.event_name %> event );
}

/* DO NOT EDIT: File is auto-generated */
package <%= message.data_module.gwt.client_event_package %>;

@javax.annotation.Generated( "Domgen" )
public interface <%= message.gwt.event_handler_name %>
  extends com.google.gwt.event.shared.EventHandler
{
  void on<%= message.name %>( <%= message.gwt.event_name %> event );
}

Mark artifact as generated by domgen

Mark artifact as generated by domgen


<%= render layout: "shared/model_show" do %>

  <%= attribute_table_row(t("myplaceonline.files.name"), @obj.file_file_name) %>
  <%= attribute_table_row(t("myplaceonline.files.download"), link_to(t("myplaceonline.files.download"), file_download_url(@obj), :data => { :ajax => 'false' }), nil) %>
  <%= attribute_table_row(t("myplaceonline.files.size_bytes"), @obj.file_file_size) %>

<% end %>

<%= render layout: "shared/model_show" do %>

  <%= attribute_table_row(t("myplaceonline.files.name"), @obj.file_file_name) %>
  <%= attribute_table_row(t("myplaceonline.files.download"), link_to(t("myplaceonline.files.download"), file_download_url(@obj), :class => "externallink", :data => { :ajax => 'false' }), nil) %>
  <%= attribute_table_row(t("myplaceonline.files.size_bytes"), @obj.file_file_size) %>

<% end %>

Add externallink class for file download


<% title @user.username %>

<%= @user.username %>

<% if @rides.any? %>

Rides

        Date
        Distance
        Description

    <% @rides.each do |ride| %>
      <%= content_tag_for :tr, ride do %>
        <%= ride.date %>
        <%= ride.bike_distance %>
        <%= ride.description %>
        <% if can? :manage, ride %>
          <%= link_to "Edit", edit_ride_path(ride) %>
        <% end %>
      <% end %>
    <% end %>

<% else %>

<%= t "user.rides.empty" %>

<% end %>

<% title @user.username %>

<%= @user.username %>

<% if @rides.any? %>

Rides

        Date
        Distance
        Type
        Description

    <% @rides.each do |ride| %>
      <%= content_tag_for :tr, ride do %>
        <%= ride.date %>
        <%= ride.bike_distance %>
        <%= trip_type(ride) %>
        <%= ride.description %>
        <% if can? :manage, ride %>
          <%= link_to "Edit", edit_ride_path(ride) %>
        <% end %>
      <% end %>
    <% end %>

<% else %>

<%= t "user.rides.empty" %>

<% end %>

Add trip type column to user show page

Add trip type column to user show page


Hello, <%= @user.name %>

	Profile information placeholder

	Content Placeholder

	Content Placeholder

	<%= button_to('Delete Account', user_path(@user), method: :delete, data: { confirm: "Are you sure?", disable_with: "loading...." }) %>

Add destroy button to user show page

Add destroy button to user show page


<% results = results.reject { |r| r.description.empty? } %>

<% if results.any? %>

<%= Proposition.model_name.human(count: 2).capitalize %>

    <% results.each do |r| %>
      <% if r.votes.first %>
        <li data-proposition-id="<%= r.id %>"><%= link_to r.description, vote_path(r.votes.first.slug) %>

      <% else %>
        <li data-proposition-id="<%= r.id %>"><%= r.description %>

      <% end %>
    <% end %>

<% end %>

<% results = results.reject { |r| r.description.empty? } %>

<% if results.any? %>

<%= Proposition.model_name.human(count: 2).capitalize %>

    <% results.each do |r| %>
      <% if r.votes.first %>
        <li data-proposition-id="<%= r.id %>"><%= link_to r.simple_description || r.description, vote_path(r.votes.first.slug) %>

      <% else %>
        <li data-proposition-id="<%= r.id %>"><%= r.simple_description || description %>

      <% end %>
    <% end %>

<% end %>

Use simple description in search results.


<%= paginator.render do -%>

    Older articles <svg class="l-index-archive__link-arrow">
        <use xlink:href="#svg-arrow-right"></use>
      </svg>

<% end -%>

<%= paginator.render do -%>

    All Articles <svg class="l-index-archive__link-arrow">
        <use xlink:href="#svg-arrow-right"></use>
      </svg>

<% end -%>

Update anchor text for archive pagination link.


Hello <%= @request.email %>

<%= @request.user.username %> has requested to join your game, would you like to accept?

<a href="http://<%= ENV["SITE_URL"] %>/games/<%= @request.game_id %>/invites/<%= @request.user_id %>" style="background-color:#EB7035;border:1px solid #EB7035;border-radius:3px;color:#ffffff;display:inline-block;font-family:sans-serif;font-size:16px;line-height:44px;text-align:center;text-decoration:none;width:150px;-webkit-text-size-adjust:none;mso-hide:all;">YES!

<a href="http://<%= ENV["SITE_URL"] %>/games/<%= @request.game_id %>/invites/<%= @request.user_id %>" style="background-color:#EB7035;border:1px solid #EB7035;border-radius:3px;color:#ffffff;display:inline-block;font-family:sans-serif;font-size:16px;line-height:44px;text-align:center;text-decoration:none;width:150px;-webkit-text-size-adjust:none;mso-hide:all;">NO!

Hello <%= @request.email %>

<%= @request.user.username %> has requested to join your game, would you like to accept?

<a href="http://<%= ENV["SITE_URL"] %>/games/<%= @request.game_id %>/invites/<%= @request.user_id %>/accept" style="background-color:#EB7035;border:1px solid #EB7035;border-radius:3px;color:#ffffff;display:inline-block;font-family:sans-serif;font-size:16px;line-height:44px;text-align:center;text-decoration:none;width:150px;-webkit-text-size-adjust:none;mso-hide:all;">YES!

<a href="http://<%= ENV["SITE_URL"] %>/games/<%= @request.game_id %>/invites/<%= @request.user_id %>/reject" style="background-color:#EB7035;border:1px solid #EB7035;border-radius:3px;color:#ffffff;display:inline-block;font-family:sans-serif;font-size:16px;line-height:44px;text-align:center;text-decoration:none;width:150px;-webkit-text-size-adjust:none;mso-hide:all;">NO!

Update link url in request email

Update link url in request email


Sign in (or up)

      You can use either your Twitter, Facebook, Github, or LinkedIn account to sign in or sign up.

      Select your preferred method and you'll be sent off to authorise us to use your account.

      It’ll only take a second and your information will be perfectly safe. We don't get access to your password and we won't post or tweet anything from your account without your explicit permission.

  <%= twitter_login_button %>
  <%= facebook_login_button %>
  <%= github_login_button %>
  <%= linkedin_login_button %>

Sign in (or up)

      You can use either your Twitter or Facebook account to sign in or sign up.

      Select your preferred method and you'll be sent off to authorise us to use your account.

      It’ll only take a second and your information will be perfectly safe. We don't get access to your password and we won't post or tweet anything from your account without your explicit permission.

  <%= twitter_login_button %>
  <%= facebook_login_button %>

Remove github and linked_in buttons from the new page until support is added back in.


<head>
  <link rel="stylesheet" type="text/css" href="stylesheets/style.css">
</head>

<body id="ello-icon">
  <%= erb :_ello_icon, :locals => { color: @color, username: @username } %>
</body>

<%= erb :_analytics, :locals => { color: @color, username: @username } %>

<head>
  <link rel="stylesheet" type="text/css" href="stylesheets/style.css">
</head>

<body id="ello-icon">
  <%= erb :_ello_icon, :locals => { color: @color, username: @username } %>
  <%= erb :_analytics, :locals => { color: @color, username: @username } %>
</body>

Move script to the inside of body tags

Move script to the inside of body tags


ETahi.AdminIndexController = Ember.ArrayController.extend
  actions:
    addNewJournal: ->
      @store.createRecord 'adminJournal', logoUrl: "<%= asset_path('no-journal-image.gif') %>"

    searchUsers: ->
      @set 'adminJournalUsers', @store.find('AdminJournalUser', {query: @get('searchQuery')})

Add action to handle searchUsers

Add action to handle searchUsers


options => {
  listen => [ <%= node.ipaddresses(:role => :external).join(", ") %> ]
}

plugins => {
  geoip => {
    maps => {
      $include{config.d/tile.map}
    }
    resources => {
      $include{config.d/tile.resource}
    }
  }
}

options => {
  listen => [ <%= node.ipaddresses(:role => :external).join(", ") %> ]
}

plugins => {
  geoip => {
    maps => {
      $include{config.d/tile.map}
    }
    resources => {
      $include{config.d/tile.resource}
    }
  },
  weighted => {
    $include{config.d/tile.weighted}
  }
}

Configure weighted plugin for gdnsd

Configure weighted plugin for gdnsd


<% columns.each :for => @record do |column| %>
  <% if column.is_a? ActiveScaffold::DataStructures::ActionColumns -%>

<%= column.name -%>

<%= render :partial => 'show_columns' %>

  <% else -%>

<%= column.label -%>

<%= show_column_value(@record, column) -%>

  <% end -%>
<% end -%>

<% columns.each :for => @record do |column| %>
  <% if column.is_a? ActiveScaffold::DataStructures::ActionColumns -%>

<%= column.label -%>

<%= render :partial => 'show_columns', :locals => {:columns => column} %>

  <% else -%>

<%= column.label -%>

<%= show_column_value(@record, column) -%>

  <% end -%>
<% end -%>

Fix showing columns groups in show view

Fix showing columns groups in show view


    <% if local_assigns[:county].present? %>

<%= county %>

    <% end %>

      <%= report.description_label %>
      Number of Items
      Value of Orders

    <% report.each do |description, item_count, value| %>

        <%= description %>
        <%= item_count %>
        <%= number_to_currency value, precision: 2 %>

    <% end %>

      Total
      <%= report.total_item_count %>
      <%= number_to_currency report.total_value, precision: 2 %>

Add columns to print out

Add columns to print out


<%= form_for([@udl_module, @udl_module_section], url: udl_module_section_path(@udl_module, @udl_module_section)) do |f| %>

  <div class="field">
    <%= f.cktext_area :content %>
  </div>
<% end %>

<%= form_for([@udl_module, @udl_module_section], url: udl_module_section_path(@udl_module, @udl_module_section)) do |f| %>

    <%= f.cktext_area :content %>

    <%= button_tag(
          type: 'submit',
          class: 'create-button'
        ) do
          fa_icon( 'check', text: 'Create section' )
        end %>

<% end %>

Add save button to module_section edit form

The edit form for UdlModuleSections#edit view previously used the
ckeditor's save button. We decided to remove that because it was
confusing. When doing so, I forgot to add a save button to the bottom
of the page.


<% javascript 'backend/sortable' %>
<%= render 'backend/breadcrumbs' %>

<% if @email_templates.any? %>

        <%= t 'b.description' %>

      <% @email_templates.each do |s| %>
        <tr data-update-position="<%= update_position_backend_email_template_path(s) %>">
          <%= s.description %>

            <%= link_to icon(:pencil_square_o), edit_translation_backend_email_template_path(s, translation_locale: default_locale) %>

      <% end %>

<% else %>

<%= t 'b.msg.no_items' %>

<% end %>

<% javascript 'backend/sortable' %>
<%= render 'backend/breadcrumbs' %>

<% if @email_templates.any? %>

        <%= t 'b.description' %>

      <% @email_templates.each do |s| %>
        <tr data-update-position="<%= update_position_backend_email_template_path(s) %>">
          <%= s.description %>

            <%= link_to_edit [:backend, s] %>

      <% end %>

<% else %>

<%= t 'b.msg.no_items' %>

<% end %>

Use the shorthand edit link.

Use the shorthand edit link.


<% content_for(:header) do %>
  <link rel="canonical" href="http://<%= request.host_with_port + Blog::Engine.routes._generate_prefix({}) %>" />
  <% unless params[:page].blank? %>
<meta name="robots" content="noindex,follow,noodp,noydir"/>
  <% end %>
<% end %>

Resume Help, Career Tips & Job News From Resume Companion

    <% @posts.each do |post| %>

<%= link_to post.title, blog.post_path(post) %>

        <%=raw post.excerpt %>

        <%= link_to("Read More...", blog.post_path(post)) %>

          Posted on <%= l(post.published_at.to_date, :format => :short) %>

          By <%= post.author.nickname if post.author.present? %>.

    <% end %>

  <%= paginate @posts, :params => { :at => nil } %>

  <%=raw @sidebar.try(:content) %>
  <%= render "blog/shared/recent_posts" %>
  <%= render "blog/shared/posts_by_tag" %>

<% content_for(:header) do %>
  <link rel="canonical" href="http://<%= request.host_with_port + Blog::Engine.routes._generate_prefix({}) %>" />
  <% unless params[:page].blank? %>
<meta name="robots" content="noindex,follow,noodp,noydir"/>
  <% end %>
<% end %>

Resume Help, Career Tips & Job News From Resume Genius

    <% @posts.each do |post| %>

<%= link_to post.title, blog.post_path(post) %>

        <%=raw post.excerpt %>

        <%= link_to("Read More...", blog.post_path(post)) %>

          Posted on <%= l(post.published_at.to_date, :format => :short) %>

          By <%= post.author.nickname if post.author.present? %>.

    <% end %>

  <%= paginate @posts, :params => { :at => nil } %>

  <%=raw @sidebar.try(:content) %>
  <%= render "blog/shared/recent_posts" %>
  <%= render "blog/shared/posts_by_tag" %>

Fix the title of the RG blog

Fix the title of the RG blog


<%
  requestor = @requestor.name(false)
  recipient_name = @user.name(false)
  plan_name = @plan.title
  tool_name = Rails.configuration.branding[:application][:name]
%>

<%= _('Hello %{recipient_name}') % { recipient_name: recipient_name } %>

<%= _('%{commenter} has finished providing feedback on the plan "%{plan_title}". To view the comments, please visit the My Dashboard page in %{tool_name} and open your plan.') % { commenter: requestor, plan_title: plan_name, tool_name: tool_name } %>

<%= render partial: 'email_signature' %>

<%
  requestor = @requestor.name(false)
  recipient_name = @user.name(false)
  plan_name = @plan.title
  tool_name = Rails.configuration.branding[:application][:name]
%>

<%= _('Hello %{recipient_name}') % { recipient_name: recipient_name } %>

  <%= _("%{commenter} has finished providing feedback on the plan \"%{link_html}\". To view the comments, please visit the My Dashboard page in %{tool_name} and open your plan. Plan comments can be found adjacent to your answers in the tabbed panel next to guidance.").html_safe % {
    commenter: requestor,
    link_html: link_to(plan_name, plan_url(@plan)),
    tool_name: tool_name
  }%>

<%= render partial: 'email_signature' %>

Add comments text to feedback completed email

Issue 1492


Sign up

<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
  <%= devise_error_messages! %>

    <%= f.label :email %>

    <%= f.email_field :email, autofocus: true %>

    <%= f.label :password %>
    <% if @minimum_password_length %>
    (<%= @minimum_password_length %> characters minimum)
    <% end %>

    <%= f.password_field :password, autocomplete: "off" %>

    <%= f.label :password_confirmation %>

    <%= f.password_field :password_confirmation, autocomplete: "off" %>

    <%= f.submit "Sign up" %>

<% end %>

<%= render "devise/shared/links" %>

Sign up

<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
  <%= devise_error_messages! %>

    <%= f.label :email %>

    <%= f.email_field :email, autofocus: true %>

    <%= f.label :password %>
    <% if @minimum_password_length %>
    (<%= @minimum_password_length %> characters minimum)
    <% end %>

    <%= f.password_field :password, autocomplete: "off" %>

    <%= f.label :password_confirmation %>

    <%= f.password_field :password_confirmation, autocomplete: "off" %>

    <%= f.label :first_name %>

    <%= f.text_field :first_name %>

    <%= f.label :last_name %>

    <%= f.text_field :last_name %>

    <%= f.submit "Sign up" %>

<% end %>

<%= render "devise/shared/links" %>

Add first and last name to registration.


College STAR Virtual Conference

Preparing students who learn differently for college success

      <%= @page_content.text.html_safe %>

          <%= link_to "Register for the Virtual Conference!",
                      new_virtual_conference_registration_path,
                      class: 'create-button' %>

Interested in presenting?

We are still <%= link_to "accepting proposals", new_virtual_conference_proposal_path %> for conference presentations and would love to hear yours!

Add proposal link to virtual conference landing page


Free & easy to integrate

Just use one of our plugins for blogging platforms. Alternatively, drop a single line of code on your page, and you’re done! We will automatically match the look and feel of your site, and if this is not enough you can customize it.

Install Factlink on your site

      <%= link_to 'Manual installation', "#publisher-page-manual-installation", class: 'button' %> <%= link_to 'Get WordPress plugin', 'http://wordpress.org/plugins/factlink/', class: 'button' %>

Free & easy to integrate

Just use one of our plugins for blogging platforms. Alternatively, drop a single line of code on your page, and you’re done! We will automatically match the look and feel of your site, and if this is not enough you can customize it.

Install Factlink on your site

      <%= link_to 'Manual installation', "#publisher-page-manual-installation", class: 'button' %> <%= link_to 'Get WordPress plugin', 'https://wordpress.org/plugins/factlink/', class: 'button' %>

Use safe link to wordpress

Use safe link to wordpress


<%= Spree.t(:bookmark_or_share_this, scope: :social) %>

    <% if Spree::Social::Config.preferred_twitter_button %>

        <%= render 'spree/social/twitter' %>

    <% end %>
    <% if Spree::Social::Config.preferred_pinterest_button %>

        <%= render 'spree/social/pinterest' %>

    <% end %>
    <% if Spree::Social::Config.preferred_reddit_button %>

        <%= render 'spree/social/reddit' %>

    <% end %>
    <% if Spree::Social::Config.preferred_tumblr_button %>

        <%= render 'spree/social/tumblr' %>

    <% end %>
    <% if Spree::Social::Config.preferred_delicious_button %>

        <%= render 'spree/social/delicious' %>

    <% end %>
    <% if Spree::Social::Config.preferred_google_plus_button %>

        <%= render 'spree/social/google_plus' %>

    <% end %>

    <% if Spree::Social::Config.preferred_facebook_button %>

        <%= render 'spree/social/facebook' %>

    <% end %>

Remove header above social buttons

Remove header above social buttons


Suspend user “<%= @user.name %>”

<%= form_tag admin_suspension_path(@user), method: "put", :class => 'well' do %>

      Suspended?
      <%= check_box_tag "user[suspended]", "1", @user.suspended?, class: "checkbox" %>

    Reason for suspension
    <%= text_field_tag "user[reason_for_suspension]", @user.reason_for_suspension, class: "span6", required: true %>

  <%= submit_tag "Save", class: "btn btn-primary" %>
  <%= link_to "Cancel", class: "btn" %>
<% end %>

Suspend user “<%= @user.name %>”

<%= form_tag admin_suspension_path(@user), method: "put", :class => 'well' do %>

      Suspended?
      <%= check_box_tag "user[suspended]", "1", @user.suspended?, class: "checkbox" %>

    Reason for suspension
    <%= text_field_tag "user[reason_for_suspension]", @user.reason_for_suspension, class: "span6" %>

  <%= submit_tag "Save", class: "btn btn-primary" %>
  <%= link_to "Cancel", class: "btn" %>
<% end %>

Revert "Use browserside validation for suspension reason"

This meant that unsuspending someone required you to fill out the 'reason'
field, even though it wouldn't be used.

This reverts commit 056772da8240949e816b71600519c506274e8b16.


<% ads.each_with_index do |ad,i| %>
  <%= render :partial => "ads/ad", :locals => { :ad => ad } %>

  <% if [ 5, 10, 15 ].include? i %>

    <%= render partial: "partials/google_adsense", locals: { class_name: "desktop google_adsense_336_280", ad_slot: "7225596067"}  %>
    <%= render partial: "partials/google_adsense", locals: { class_name: "mobile google_adsense_320_100", ad_slot: "1977811266"}  %>

  <% end %>
<% end %>

<% ads.each_with_index do |ad,i| %>
  <%= render :partial => "ads/ad", :locals => { :ad => ad } %>

  <% if [ 5, 10, 15 ].include? i %>
    <%= render partial: "partials/google_adsense", locals: { class_name: "desktop google_adsense_336_280", ad_slot: "7225596067"}  %>
    <%= render partial: "partials/google_adsense", locals: { class_name: "mobile google_adsense_320_100", ad_slot: "1977811266"}  %>
    <hr>
  <% end %>
<% end %>

Remove upper separator from adsense banner in list

Ads already have a lower separator so this cause a line to be drawn
twice at the same place and looks thicker than it should.


<%= milestone.title %>

  <% if can? :manage, LessonPlanEntry %>
      <%= link_to edit_course_lesson_plan_milestone_path(@course, milestone), class: 'btn' do %>

      <% end %>
      <%= link_to course_lesson_plan_milestone_path(@course, milestone),
            method: :delete,
            data: { confirm: t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')) },
            class: 'btn btn-danger' do %>

      <% end %>
  <% end %>

    <% milestone.entries.each {|entry| %>
    <%= render :partial => 'lesson_plan/entry', locals: { :entry => entry } %>
    <% } %>

<%= milestone.title %>

  <% if can? :manage, LessonPlanEntry %>
      <%= link_to edit_course_lesson_plan_milestone_path(@course, milestone), class: 'btn' do %>

      <% end %>
      <%= link_to course_lesson_plan_milestone_path(@course, milestone),
            method: :delete,
            data: { confirm: t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')) },
            class: 'btn btn-danger' do %>

      <% end %>
  <% end %>

    <% entries = milestone.entries.sort { |a, b| a.start_at <=> b.start_at } %>
    <% entries.each {|entry| %>
    <%= render :partial => 'lesson_plan/entry', locals: { :entry => entry } %>
    <% } %>

Sort all entries in a milestone by date.


<h1 style="color: #0B0C0C !important;font-family: Helvetica, Arial, sans-serif;margin: 15px 0;font-weight: 700;font-size: 20px;line-height: 1.111111111;padding: 15px 0;">
  SMS Appointment Cancellation
</h1>

<%= p do %>
  The customer cancelled their appointment by SMS.
<% end %>

<%= p do %>
  Appointment reference: <%= @appointment.reference %>
<% end %>

<%= p do %>
  Guider: <%= @appointment.guider_name %>
<% end %>

<%= p do %>
  <%= link_to 'View the appointment', edit_appointment_url(@appointment) %>.
<% end %>

<%= h2 do %>
  SMS Appointment Cancellation
<% end %>

<%= p do %>
  The customer cancelled their appointment by SMS.
<% end %>

<%= p do %>
  Appointment reference: <%= @appointment.reference %>
<% end %>

<%= p do %>
  Guider: <%= @appointment.guider_name %>
<% end %>

<%= p do %>
  <%= link_to 'View the appointment', edit_appointment_url(@appointment) %>.
<% end %>

Update booking manager cancellation email


<%= fields_for :settings, OpenObject.new(settings) do |f| %>

        <%= mt :description, "You will need access to an [Academic Benchmark](%{url}) account.", :url => "http://www.academicbenchmarks.com/" %>

        <%= t "The importer will be migrating from API v3 to v4.1. Credentials will not change, but you should ensure your account has access to v4.1 by February 2021." %>

      <%= f.blabel :partner_id, :en => "Partner ID" %>

        <%= f.text_field :partner_id, :size => "90" %>

      <%= f.blabel :partner_key, :en => "Partner Key" %>

        <%= f.text_field :partner_key %>

<% end %>

<%= fields_for :settings, OpenObject.new(settings) do |f| %>

        <%= mt :description, "You will need access to an [Academic Benchmark](%{url}) account.", :url => "http://www.academicbenchmarks.com/" %>

      <%= f.blabel :partner_id, :en => "Partner ID" %>

        <%= f.text_field :partner_id, :size => "90" %>

      <%= f.blabel :partner_key, :en => "Partner Key" %>

        <%= f.text_field :partner_key %>

<% end %>

Remove AB importer upgrade warning in AB Plugin config page

This warning was for an upgrade that took place in Feb 2021

flag=none

Test-plan:
- Navigate to SiteAdmin > Plugins > Academic Benchmark Importer
- In the dropdown select a few different options
- Select |Create Config| to make sure the whole form is present
- Verify the red text with "The importer will be migrating from API
  v3 to v4.1. Credentials will not change...." is NOT present

Change-Id: I31d3a6f7c0f226d42b5b00bda74ef5d9f935fece
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/286413
Tested-by: Service Cloud Jenkins <9144042a601061f88f1e1d7a1753ea3e2972119d@instructure.com>
Reviewed-by: Kyle Rosenbaum <08c6582752644f4eca90309d6d9805aeb3128ceb@instructure.com>
QA-Review: Martin Yosifov <6a3824bf5c535ee1ddd50b39e2ac9b6ba130ccb0@instructure.com>
Product-Review: Ben Friedman <9ff7ab9178cb213f349bd6b616f1928aeccb5475@instructure.com>


<% if policy(ad).update? || policy(ad).bump? %>

    <% if policy(ad).update? %>

        <%= link_to ads_edit_path(ad) do %>
          <%= image_tag "edit_ad.png", alt: t('nlt.edit_this_ad') %>
          <%= t('nlt.edit') %>
        <% end %>

    <% end %>

    <% if policy(ad).bump? %>

        <%= link_to ads_bump_path(ad), method: :post do %>
          <%= image_tag "bump_ad.png", alt: t('nlt.bump_this_ad') %>
          <%= t('nlt.bump') %>
        <% end %>

    <% end %>

<% end %>

<% if policy(ad).update? || policy(ad).bump? %>

    <% if policy(ad).update? %>

        <% full_title = t('nlt.edit_this_ad') %>

        <%= link_to ads_edit_path(ad), title: full_title do %>
          <%= image_tag "edit_ad.png", alt: full_title %>
          <%= t('nlt.edit') %>
        <% end %>

    <% end %>

    <% if policy(ad).bump? %>

        <% full_title = t('nlt.bump_this_ad') %>

        <%= link_to ads_bump_path(ad), method: :post, title: full_title do %>
          <%= image_tag "bump_ad.png", alt: full_title %>
          <%= t('nlt.bump') %>
        <% end %>

    <% end %>

<% end %>

Add titles to ad action links

Add titles to ad action links


<!DOCTYPE html>

    <%= render :partial => 'shared/head' %>
    <%= stylesheet_link_tag "application", :media => "all" %>
    <%= javascript_include_tag "application" %>

      <%= bootstrap_flash %>
      <%= yield %>

          Powered by Resumis
          <% if user_signed_in? %>
            ·
            <%= link_to "Logout", destroy_user_session_url(host: request.domain), :method => :delete %>
          <% end %>

<!DOCTYPE html>

    <%= render :partial => 'shared/head' %>
    <%= stylesheet_link_tag "application", :media => "all" %>
    <%= javascript_include_tag "application" %>

      <%= bootstrap_flash %>
      <%= yield %>

          Powered by Resumis
          <% if user_signed_in? %>
            ·
            <%= link_to "Logout", destroy_user_session_url(host: canonical_host), :method => :delete %>
          <% end %>

Change a trailing request.domain reference in devise url generation

Signed-off-by: Max Fierke <0706025b2bbcec1ed8d64822f4eccd96314938d0@maxfierke.com>


description "govuk-uptime-collector"

start on runlevel [2345]
respawn

env RBENV_VERSION=2.3
env PATH=/usr/lib/rbenv/shims:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

exec govuk_uptime_collector <%= @environment %> <%= @aws %> content-store hmrc-manuals-api link-checker-api manuals-publisher publishing-api specialist-publisher travel-advice-publisher

description "govuk-uptime-collector"

start on runlevel [2345]
respawn

env RBENV_VERSION=2.5
env PATH=/usr/lib/rbenv/shims:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

exec govuk_uptime_collector <%= @environment %> <%= @aws %> content-store hmrc-manuals-api link-checker-api manuals-publisher publishing-api specialist-publisher travel-advice-publisher

Convert govuk_uptime_collector to use Ruby 2.5

This will allow us to stop using Ruby 2.3.


---
- scm:
    name: govuk-provisioning_Network_Config_Deploy_DryRun
    scm:
        - git:
            url: git@github.gds:gds/govuk-provisioning.git
            branches:
              - master

- job:
    name: Network_Config_Deploy_DryRun
    display-name: Network_Config_Deploy_DryRun
    project-type: freestyle
    description: "Dry run only. Use this to observe the diff output before deploying for real. Accepts a branch so that you can test pull requests."
    properties:
        - github:
            url: https://github.gds/gds/govuk-provisioning/
    scm:
      - govuk-provisioning_Network_Config_Deploy_DryRun
    builders:
        - shell: |
          ./vcloud-edge_gateway/jenkins.sh <%= @environment_script_parameter %> --dry-run
    wrappers:
        - ansicolor:
            colormap: xterm
        - build-name:
            name: '#${BUILD_NUMBER} ${ENV,var="component"}'
    parameters:
        - choice:
            name: COMPONENT
            description: Which part of the networking config do you wish to update?
            choices:
                - PLEASE CHOOSE ONE
                - lb
                - nat
                - firewall
                - vpn
        - string:
            name: USERNAME
            description: Vcloud username
        - password:
            name: VCLOUD_PASSWORD
            description: Vcloud Password

Fix whitespace in network dryrun Jenkins job

jenkins-job-builder is picky about whitespace and it needs to have
the correct number of spaces indented.


$('#ranking-table').replaceWith("<%= j(render partial: 'gobierto_budgets/places/ranking_table') %>")
$('.pagination').replaceWith("<%= j(paginate @ranking_items, remote: true) %>")

history.pushState(null, '', "<%= request.url %>");

Update page URL after ranking ajax request


<%= form_tag mute_path do |f| %>
  <%= label_tag :twitter_name %>
  <%= text_field_tag :twitter_name %>
  <%= submit_tag 'Mute' %>
<% end %>

<%= form_tag mute_path do |f| %>
  <%= label_tag :twitter_name %>
  <%= text_field_tag :twitter_name %>
  <%= submit_tag 'Mute' %>
  <%= label_tag :unmute_at, 'Mute for:' %>
  <%= select(:mute, :unmute_at,
      [
        ['an hour', 1.hour.from_now],
        ['a day', 1.day.from_now],
        ['a week', 1.week.from_now],
        ['a month', 1.month.from_now],
        ['until World Cup 2014 is over', 'Sun, 14 Jul 2014 00:00:00 +0000']
      ]
      ) %>
<% end %>

Add mute duration selectbox to form

Add mute duration selectbox to form


<!DOCTYPE html>

    <title>Rigor</title>
    <link rel="stylesheet" type="text/css" href="/css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="/css/application.css" />

          Rigor

      <%= yield %>

<!DOCTYPE html>

    <title>Rigor</title>
    <link rel="stylesheet" type="text/css" href="/css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="/css/application.css" />

          Rigor

Experiments

      <%= yield %>

Add explicit link back to the list of experiments


public extension <%= model.name %> {
    var itself: String { get { return "WHERE \(Person.tableName.unwrapped).\("id".unwrapped) = \(id)" } }

    func delete() {
        let deleteSQL = "DELETE FROM \(Person.tableName.unwrapped) \(itself)"
        executeSQL(deleteSQL)
    }

    mutating func update(name name: String?) -> Person {
        return self.update([.name: name])
    }

    mutating func update(email email: String) -> Person {
        return self.update([.email: email])
    }

    mutating func update(attributes: [Person.Column: Any]) -> Person {
        var setSQL: [String] = []
        for (key, _) in attributes {
            switch key {
            case .name: setSQL.append("\(key.unwrapped) = \(self.name?.unwrapped)")
            case .email: setSQL.append("\(key.unwrapped) = \(self.email.unwrapped)")
            default: break
            }
        }
        let updateSQL = "UPDATE \(Person.tableName.unwrapped) SET \(setSQL.joinWithSeparator(", ")) \(itself)"
        executeSQL(updateSQL) {
            for (key, value) in attributes {
                switch key {
                case .name: self.name = value as? String
                case .email: self.email = value as! String
                default: break
                }
            }
        }
        return self
    }
}

public extension <%= model.name %> {
    var itself: String { get { return "WHERE \(<%= model.name %>.tableName.unwrapped).\("id".unwrapped) = \(id)" } }

    func delete() {
        let deleteSQL = "DELETE FROM \(<%= model.name %>.tableName.unwrapped) \(itself)"
        executeSQL(deleteSQL)
    }

    mutating func update(name name: String?) -> <%= model.name %> {
        return self.update([.name: name])
    }

    mutating func update(email email: String) -> <%= model.name %> {
        return self.update([.email: email])
    }

    mutating func update(attributes: [<%= model.name %>.Column: Any]) -> <%= model.name %> {
        var setSQL: [String] = []
        for (key, _) in attributes {
            switch key {
            case .name: setSQL.append("\(key.unwrapped) = \(self.name?.unwrapped)")
            case .email: setSQL.append("\(key.unwrapped) = \(self.email.unwrapped)")
            default: break
            }
        }
        let updateSQL = "UPDATE \(<%= model.name %>.tableName.unwrapped) SET \(setSQL.joinWithSeparator(", ")) \(itself)"
        executeSQL(updateSQL) {
            for (key, value) in attributes {
                switch key {
                case .name: self.name = value as? String
                case .email: self.email = value as! String
                default: break
                }
            }
        }
        return self
    }
}

Use model.name instead of Person model

Use model.name instead of Person model


/* DO NOT EDIT: File is auto-generated */
package <%= message.data_module.gwt.client_event_package %>;

@javax.annotation.Generated( "Domgen" )
public interface <%= message.gwt.event_handler_name %>
  extends com.google.gwt.event.shared.EventHandler
{
  void on<%= message.name %>( <%= message.gwt.event_name %> event );
}

/* DO NOT EDIT: File is auto-generated */
package <%= message.data_module.gwt.client_event_package %>;

@javax.annotation.Generated( "Domgen" )
public interface <%= message.gwt.event_handler_name %>
  extends com.google.gwt.event.shared.EventHandler
{
  void on<%= message.name %>( @javax.annotation.Nonnull <%= message.gwt.event_name %> event );
}

Mark message handler as nullable

Mark message handler as nullable


<%= form.input column.name, :input_html => {:class => "input-xlarge",:rows => 4} %>

<%= form.input column.name, :input_html => {:class => [column.options[:class], "input-xlarge"].flatten.join(" "), :rows => 4} %>

Handle class option on text fields

Handle class option on text fields


# this file is automatically required when you run `assert`
# put any test helpers here

# add the root dir to the load path
$LOAD_PATH.unshift(File.expand_path("../..", __FILE__))

# require pry for debugging (`binding.pry`)
require 'pry'

require 'test/suppport/factory'

# TODO: put test helpers here...

# this file is automatically required when you run `assert`
# put any test helpers here

# add the root dir to the load path
$LOAD_PATH.unshift(File.expand_path("../..", __FILE__))

# require pry for debugging (`binding.pry`)
require 'pry'

require 'test/support/factory'

# TODO: put test helpers here...

Fix `test/helper` requiring `test/suppport/factory` (with 3 p's)

This fixes a type in the `test/helper` template where it requires
`test/support/factory`. It previously used `suppport` (3 p's)
instead of `support`. This fixes the typo so it won't fail when
requiring the `test/helper`.


[Unit]
Description=publish-subscribe messaging rethought as a distributed commit log

[Service]
Type=simple
TimeoutStopSec=<%= scope.lookupvar('kafka::server::kill_timeout_seconds') %>

Environment=ENABLED=no
Environment=JAVA_HOME=
Environment=KAFKA_HEAP_OPTS=
Environment=GC_LOG_ENABLED=
Environment=JMX_PORT=
Environment=CLASSPATH=
Environment=LOG_DIR=
Environment=CLASSPATH=
Environment=KAFKA_JVM_PERFORMANCE_OPTS=
Environment=KAFKA_LOG4J_OPTS=
EnvironmentFile=/etc/default/kafka
User=kafka
Group=kafka
ExecStart=/bin/sh -c /etc/kafka/start.sh
LimitNOFILE=65535

[Install]
WantedBy=multi-user.target

[Unit]
Description=publish-subscribe messaging rethought as a distributed commit log

[Service]
Type=simple
TimeoutStopSec=<%= scope.lookupvar('kafka::server::kill_timeout_seconds') %>

Environment=ENABLED=no
Environment=JAVA_HOME=
Environment=KAFKA_HEAP_OPTS=
Environment=GC_LOG_ENABLED=
Environment=JMX_PORT=
Environment=CLASSPATH=
Environment=LOG_DIR=
Environment=CLASSPATH=
Environment=KAFKA_JVM_PERFORMANCE_OPTS=
Environment=KAFKA_LOG4J_OPTS=
EnvironmentFile=/etc/default/kafka
User=kafka
Group=kafka
ExecStart=/bin/sh -c /etc/kafka/start.sh
LimitNOFILE=1048576

[Install]
WantedBy=multi-user.target

Increase the limit of open files to 2^20

This is the limit on most hosts nowadays and should prevent issues when
Kafka needs file when hosting a lot of partitions.

    $ sysctl fs.nr_open
    fs.nr_open = 1048576


<%
  payment_iframe_url =  payment_method.service_url(
    invoice: @order.number,
    amount: @order.total,
    name: @order.name,
    email: @order.email,
    lang: I18n.locale.to_s[0].upcase,
    order_id: @order.id
  )
%>

<style>
  iframe.paysbuy_frame {
    border: 0px;
    width: 600px;
    height: 500px;
  }
</style>
<script type="text/javascript">
  $(function(){

    var $radioInputs = $('input:radio[name="order[payments_attributes][][payment_method_id]"]');

    var toggleSubmit = function() {
      if ($(this).is(':checked') && $(this).val() == <%= payment_method.id %>) {
        $('input[type="submit"]').hide();
      } else {
        $('input[type="submit"]').show();
      }
    }

    $radioInputs.on('change', toggleSubmit);
  });
</script>

<fieldset id="paysbuy_payment__<%= payment_method.id %>" data-hook>
  <iframe id="paysbuy_frame_<%= payment_method.id %>"
    class="paysbuy_frame" src="<%= payment_iframe_url %>"></iframe>
</fieldset>

<%
  payment_iframe_url =  payment_method.service_url(
    invoice: @order.number,
    amount: @order.total,
    name: @order.name,
    email: @order.email,
    lang: I18n.locale.to_s[0].upcase,
    order_id: @order.id
  )
%>

<style>
  iframe.paysbuy_frame {
    border: 0px;
    width: 600px;
    height: 500px;
  }
</style>
<script type="text/javascript">
  $(function(){

    var $radioInputs = $('input:radio[name="order[payments_attributes][][payment_method_id]"]');

    var toggleSubmit = function() {
      if ($(this).is(':checked') && $(this).val() == <%= payment_method.id %>) {
        $('input[type="submit"]').hide();
      } else {
        $('input[type="submit"]').show();
      }
    };

    if ( $('.paysbuy_frame').closest('li').is(":visible") ){
      $('input[type="submit"]').hide();
    };

    $radioInputs.on('change', toggleSubmit);
  });
</script>

<fieldset id="paysbuy_payment__<%= payment_method.id %>" data-hook>
  <iframe id="paysbuy_frame_<%= payment_method.id %>"
    class="paysbuy_frame" src="<%= payment_iframe_url %>"></iframe>
</fieldset>

Hide continue button if pays buy is first option


Hi there!

You've been invited to the <%= @teammate.event %> team to help with the Call for Proposals as <%= @teammate.role %>. You can join the conversation as you review proposals via Internal Comments and will recieve notifications when you are mentioned by the name @<%= @teammate.mention_name %>.

<%= md_link_to 'Click here to accept.', accept_teammate_url(@teammate.token) %>
You'll be prompted to create an account if you don't already have one.

<%= md_link_to 'Click here to decline.', decline_teammate_url(@teammate.token) %>

You can view the event <%= md_link_to 'here', event_url(@event.slug) %>.

The <%= @event.name %> Program Committee

Hi there!

You've been invited to the <%= @teammate.event %> team to help with the Call for Proposals as <%= @teammate.role %>. You can join the conversation as you review proposals via Internal Comments and will receive notifications when you are mentioned by the name @<%= @teammate.mention_name %>.

<%= md_link_to 'Click here to accept.', accept_teammate_url(@teammate.token) %>
You'll be prompted to create an account if you don't already have one.

<%= md_link_to 'Click here to decline.', decline_teammate_url(@teammate.token) %>

You can view the event <%= md_link_to 'here', event_url(@event.slug) %>.

The <%= @event.name %> Program Committee

Fix typo in team invitation mailer.

Fix typo in team invitation mailer.


<%= render partial: 'spree/shared/search' %>

Fix top nav bar margin right to align with main grid


<% id = "%05d" % issue_id %>

:tada::tada::tada: Congratulations on your paper acceptance! :tada::tada::tada:

If you would like to include a link to your paper from your README use the following code snippet:

```
Markdown:
[![DOI](<%= site_host %>/papers/<%= doi_prefix %>/<%= doi_journal %>.<%= id %>/status.svg)](https://doi.org/<%= doi_prefix %>/<%= doi_journal %>.<%= id %>)

HTML:
<a style="border-width:0" href="https://doi.org/<%= doi_prefix %>/<%= doi_journal %>">
  <img src="<%= site_host %>/papers/<%= doi_prefix %>/<%= doi_journal %>.<%= id %>/status.svg" alt="DOI badge" >
</a>

```
This is how it will look in your documentation:

[![DOI](<%= site_host %>/papers/<%= doi_prefix %>/<%= doi_journal %>.<%= id %>/status.svg)](https://doi.org/<%= doi_prefix %>/<%= doi_journal %>.<%= id %>)

**We need your help!**

<%= site_name %> is a community-run journal and relies upon volunteer effort. If you'd like to support us please consider doing either one (or both) of the the following:

- Volunteering to review for us sometime in the future. You can add your name to the reviewer list here: <%= reviewers %>
- Making a small donation to support our running costs here: <%= donate_url %>

<% id = "%05d" % issue_id %>

:tada::tada::tada: Congratulations on your paper acceptance! :tada::tada::tada:

If you would like to include a link to your paper from your README use the following code snippet:

```
Markdown:
[![DOI](<%= site_host %>/papers/<%= doi_prefix %>/<%= doi_journal %>.<%= id %>/status.svg)](https://doi.org/<%= doi_prefix %>/<%= doi_journal %>.<%= id %>)

HTML:
<a style="border-width:0" href="https://doi.org/<%= doi_prefix %>/<%= doi_journal %>.<%= id %>">
  <img src="<%= site_host %>/papers/<%= doi_prefix %>/<%= doi_journal %>.<%= id %>/status.svg" alt="DOI badge" >
</a>

```
This is how it will look in your documentation:

[![DOI](<%= site_host %>/papers/<%= doi_prefix %>/<%= doi_journal %>.<%= id %>/status.svg)](https://doi.org/<%= doi_prefix %>/<%= doi_journal %>.<%= id %>)

**We need your help!**

<%= site_name %> is a community-run journal and relies upon volunteer effort. If you'd like to support us please consider doing either one (or both) of the the following:

- Volunteering to review for us sometime in the future. You can add your name to the reviewer list here: <%= reviewers %>
- Making a small donation to support our running costs here: <%= donate_url %>

Add missing suffix to DOI

Add missing suffix to DOI


<% content_for :title, "Components" %>

Button

Footer

Header

Navigation

Slider

Tabs

Tooltip

<% content_for :title, "Ornament" %>

Styleguide

Components

Button

Footer

Header

Navigation

Slider

Tabs

Tooltip

Improve the dummy app's index page.

Improve the dummy app's index page.


<%= raw @outgoing_message.body.strip %>

-------------------------------------------------------------------

<%= _('Please use this email address for all replies to this request:')%>
<%= @info_request.incoming_email %>

<%= _('Requester details') %>:
<%-# !!!IF YOU CHANGE THE FORMAT OF THE BLOCK BELOW, ADD A NEW CENSOR RULE!!! -%>
===================================================================
# <%= _('Name') %>: <%= @outgoing_message.info_request.user.name %>
# <%= _('Identity Card Number') %>: <%= @outgoing_message.info_request.user.identity_card_number %>
# <%= _('Address') %>: <%= @outgoing_message.info_request.user.address.gsub("\r\n", "\n").gsub(',','').split("\n").join(", ") %>
===================================================================

<%= _('Is {{email_address}} the wrong address for {{type_of_request}} requests to {{public_body_name}}? If so, please contact us using this form:', :email_address => @info_request.public_body.request_email, :type_of_request =>  @info_request.law_used_human(:full), :public_body_name => @info_request.public_body.name)%>
<%= new_change_request_url(:body => @info_request.public_body.url_name) %>

<%= render :partial => 'followup_footer' %>

<%= raw @outgoing_message.body.strip %>

-------------------------------------------------------------------

<%= _('Please use this email address for all replies to this request:')%>
<%= @info_request.incoming_email %>

<%= _('Requester details') %>:
<%-# !!!IF YOU CHANGE THE FORMAT OF THE BLOCK BELOW, ADD A NEW CENSOR RULE!!! -%>
===================================================================
# <%= _('Name') %>: <%= @outgoing_message.info_request.user.name %>
# <%= _('Identity Card Number') %>: <%= @outgoing_message.info_request.user.identity_card_number %>
# <%= _('Address') %>: <%= @outgoing_message.info_request.user.address.gsub("\r\n", "\n").gsub(',','').split("\n").join(", ") %>
===================================================================

* Bu başvuru Ek-1 başvuru forumunda yer alan bilgilere göre hazırlanmıştır.
* Başvuruma E-postayla cevap verilmesini istiyorum.

<%= _('Is {{email_address}} the wrong address for {{type_of_request}} requests to {{public_body_name}}? If so, please contact us using this form:', :email_address => @info_request.public_body.request_email, :type_of_request =>  @info_request.law_used_human(:full), :public_body_name => @info_request.public_body.name)%>
<%= new_change_request_url(:body => @info_request.public_body.url_name) %>

<%= render :partial => 'followup_footer' %>

Add additional lines to initial outgoing mail


  <%= form_tag smart_answer_path(params.slice(:responses, :id, :started)) %>

        <%= @presenter.current_question_number %> <%= question.title %>

      <div class="question-body <%= @presenter.error && 'error' %>">
        <% if question.has_body? %>
          <%= question.body %>
        <% end %>

        <% if @presenter.error %>

            <%= @presenter.error %>

        <% end %>

        <%= render partial: question.partial_template_name, locals: { question: question } %>

        <% if question.has_hint? %>

<%= question.hint %>

        <% end %>

        <input type="submit" value="Next step →">

  </form>

  <%= form_tag smart_answer_path(params.slice(:responses, :id, :started)), :authenticity_token => false %>

        <%= @presenter.current_question_number %> <%= question.title %>

      <div class="question-body <%= @presenter.error && 'error' %>">
        <% if question.has_body? %>
          <%= question.body %>
        <% end %>

        <% if @presenter.error %>

            <%= @presenter.error %>

        <% end %>

        <%= render partial: question.partial_template_name, locals: { question: question } %>

        <% if question.has_hint? %>

<%= question.hint %>

        <% end %>

        <input type="submit" value="Next step →">

  </form>

Cover our bases in removing the authenticity_token parameter


server {
  listen 8080;
  server_name <%= @domain_names.join(' ') %>;
  root /u/apps/<%= @name %>/current/public;

  try_files $uri/index.html $uri.html $uri @app;

  location @app {
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $http_host;
    proxy_redirect off;

    proxy_pass http://<%= @name %>;
  }

  # passenger_enabled on;
  # passenger_min_instances 1;
}

upstream <%= @name %> {
  server unix:/u/apps/<%= @name %>/current/tmp/sockets/unicorn.sock;
}

server {
  listen 8080;
  server_name <%= @domain_names.join(' ') %>;
  root /u/apps/<%= @name %>/current/public;

  try_files $uri/index.html $uri.html $uri @app;

  location @app {
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $http_host;
    proxy_redirect off;

    proxy_pass http://<%= @name %>;
  }

}

upstream <%= @name %> {
  server unix:/u/apps/<%= @name %>/current/tmp/sockets/unicorn.sock;
}

Clean up old Passenger stuf from app_nginx


/*
* Encoded PatternFly ttf
*/

@font-face {
  font-family: "PatternFlyIcons-webfont";
  src: url(<%= asset_data_uri("patternfly/PatternFlyIcons-webfont.ttf") %>);
  font-weight: normal;
  font-style: normal;
}

/*
* Encoded PatternFly ttf
*/

@font-face {
  font-family: "PatternFlyIcons-webfont";
  src: url(<%= asset_data_uri("patternfly/dist/fonts/PatternFlyIcons-webfont.ttf") %>);
  font-weight: normal;
  font-style: normal;
}

Fix broken asset path for PDF downloads

Fix broken asset path for PDF downloads


---
title: Dante Editor example
---

Dante Wysiwyg

    <% partial "partials/example_1" %>
    <% partial "partials/example_2" %>

Add medium post structure temporary.

Add medium post structure temporary.


  <% param_prefix = "payment_source[#{payment_method.id}]" %>

    <%= label_tag "email", Spree.t(:email) %>*

    <%= text_field_tag "#{param_prefix}[email]", @order.email, { id: "email", class: 'form-control required'} %>

    <%= label_tag "phone", Spree.t(:phone) %>*

    <%= text_field_tag "#{param_prefix}[phone]", @order.billing_address.phone, { id: "phone", class: 'form-control required'} %>

      <%= label_tag "family_name", Spree.t(:family_name) %>*

      <%= text_field_tag "#{param_prefix}[family_name]", @order.billing_lastname, { id: "family_name", class: 'form-control required'} %>

      <%= label_tag "given_name", Spree.t(:given_name) %>*

      <%= text_field_tag "#{param_prefix}[given_name]", @order.billing_firstname, { id: "given_name", class: 'form-control required'} %>

      <%= label_tag "family_name_kana", Spree.t(:family_name_kana) %>*

      <%= text_field_tag "#{param_prefix}[family_name_kana]", "", { id: "family_name_kana", class: 'form-control required'} %>

      <%= label_tag "given_name_kana", Spree.t(:given_name_kana) %>*

      <%= text_field_tag "#{param_prefix}[given_name_kana]", "", { id: "given_name_kana", class: 'form-control required'} %>

Create form for bank transfer

Create form for bank transfer


<%= form_for :hyperlinks, url: '/submitted_content/remove_hyperlink' do |f| %>
  <% if stage != "Complete" %>
    <% if @current_user.name == participant.handle %>
      Hyperlink Actions:

      <%= f.submit 'Delete selected hyperlink' %>
    <% end  %>

    <%= f.hidden_field :participant_id, value: participant.id %>

  <% end %>

  Hyperlinks

  hide links

      <% participant.hyperlinks.each_with_index {
        |link, index| %>
      <% if stage != "Complete" %>
        <a href="<%= link %>" target="new"><%= link %>

        <% if index == 0 %>
          <input type="radio" id='chk_links' name='chk_links' checked value="<%= index %>"/>
        <% else %>
          <input type="radio" id='chk_links' name='chk_links' value="<%= index %>"/>
        <% end %>
      <% end %>
      <% } %>

<% end %>

<%= form_for :hyperlinks, url: '/submitted_content/remove_hyperlink' do |f| %>
  <% if stage != "Complete" %>
    <% if @current_user.name == participant.handle %>
      Hyperlink Actions:

      <%= f.submit 'Delete selected hyperlink' %>
    <% end  %>

    <%= f.hidden_field :participant_id, value: participant.id %>

  <% end %>

  Hyperlinks

  hide links

      <% participant.hyperlinks.each_with_index {
        |link, index| %>
      <% if stage != "Complete" %>

        <% if index == 0 %>
          <input type="radio" id='chk_links' name='chk_links' checked value="<%= index %>"/>
        <% else %>
          <input type="radio" id='chk_links' name='chk_links' value="<%= index %>"/>
        <% end %>
              <a href="<%= link %>" target="new"><%= link %>

      <% end %>
      <% } %>

<% end %>

Move the radio buttons before the hyperlinks


<%= form.errors %>

<%= form.label :person_id, 'Person' %>
<%= form.select :person_id,
                options_from_collection_for_select(Person.all, 'id', 'name', form.object.person_id),
                {include_blank: true},
                class: 'chzn-select',
                data: { placeholder: "Choose person..." },
                disabled: !form.object.new_record? %>

<% if form.object.new_record? %>

Once an appointment has been created the person cannot be changed, to preserve this person's relationship to any associated speeches.

<% end %>

<%= form.label :started_at %>
<%= form.date_select :started_at, { include_blank: true, start_year: 1990 }, { :class => "date" } %>

<% if params[:make_current].blank? %>
  <%= form.label :ended_at %>
  <%= form.date_select :ended_at, { include_blank: true, start_year: 1990 }, { :class => "date" } %>
<% end %>

<% if params[:make_current] %>
  <%= form.hidden_field :make_current, value: true %>
<% end %>

<%= form.errors %>

<%= form.label :person_id, 'Person' %>
<%= form.select :person_id,
                options_from_collection_for_select(Person.all, 'id', 'name', form.object.person_id),
                {include_blank: true},
                class: 'chzn-select',
                data: { placeholder: "Choose person..." },
                disabled: !form.object.new_record? %>

<% if form.object.new_record? %>

Once an appointment has been created the person cannot be changed, to preserve this person's relationship to any associated speeches.

<% end %>

<%= form.label :started_at %>
<%= form.date_select :started_at, { include_blank: true, start_year: 1730 }, { :class => "date" } %>

<% if params[:make_current].blank? %>
  <%= form.label :ended_at %>
  <%= form.date_select :ended_at, { include_blank: true, start_year: 1730 }, { :class => "date" } %>
<% end %>

<% if params[:make_current] %>
  <%= form.hidden_field :make_current, value: true %>
<% end %>

Allow role appointments to have older dates...

... so we can add the historical accounts dating back to 1700s.


<%= raw @outgoing_message.body.strip %>

-------------------------------------------------------------------

<%= _('Please use this email address for all replies to this request:')%>
<%= @info_request.incoming_email %>

<%= _('Requester details') %>:
<%-# !!!IF YOU CHANGE THE FORMAT OF THE BLOCK BELOW, ADD A NEW CENSOR RULE!!! -%>
===================================================================
# <%= _('Name') %>: <%= @outgoing_message.info_request.user.name %>
# <%= _('Identity Card Number') %>: <%= @outgoing_message.info_request.user.identity_card_number %>
===================================================================

<%= _('Is {{email_address}} the wrong address for {{type_of_request}} requests to {{public_body_name}}? If so, please contact us using this form:', :email_address => @info_request.public_body.request_email, :type_of_request =>  @info_request.law_used_human(:full), :public_body_name => @info_request.public_body.name)%>
<%= new_change_request_url(:body => @info_request.public_body.url_name) %>

<%= render :partial => 'followup_footer' %>

<%= raw @outgoing_message.body.strip %>

-------------------------------------------------------------------

<%= _('Please use this email address for all replies to this request:')%>
<%= @info_request.incoming_email %>

<%= _('Requester details') %>:
<%-# !!!IF YOU CHANGE THE FORMAT OF THE BLOCK BELOW, ADD A NEW CENSOR RULE!!! -%>
===================================================================
# <%= _('Name') %>: <%= @outgoing_message.info_request.user.name %>
# <%= _('Identity Card Number') %>: <%= @outgoing_message.info_request.user.identity_card_number %>
# <%= _('Address') %>: <%= @outgoing_message.info_request.user.address.gsub("\r\n", "\n").gsub(',','').split("\n").join(", ") %>
===================================================================

<%= _('Is {{email_address}} the wrong address for {{type_of_request}} requests to {{public_body_name}}? If so, please contact us using this form:', :email_address => @info_request.public_body.request_email, :type_of_request =>  @info_request.law_used_human(:full), :public_body_name => @info_request.public_body.name)%>
<%= new_change_request_url(:body => @info_request.public_body.url_name) %>

<%= render :partial => 'followup_footer' %>

Add address to initial request email

Add address to initial request email

Redacted by existing global CensorRule


Edit <%= resource_name.to_s.humanize %>

<%= simple_form_for(resource, as: resource_name, url: user_registration_path(resource), html: { method: :patch }) do |f| %>
  <%= f.error_notification %>

    <%= f.input :email, required: true, autofocus: true %>

    <% if devise_mapping.confirmable? && resource.pending_reconfirmation? %>

Currently waiting confirmation for: <%= resource.unconfirmed_email %>

    <% end %>

    <%= f.input :password, autocomplete: "off", hint: "leave it blank if you don't want to change it", required: false %>
    <%= f.input :password_confirmation, required: false %>
    <%= f.input :current_password, hint: "we need your current password to confirm your changes", required: true %>

    <%= f.button :submit, "Update" %>

<% end %>

Edit <%= resource_name.to_s.humanize %>

<%= simple_form_for(resource, as: resource_name, url: user_registration_path, html: { method: :put }) do |f| %>
  <%= f.error_notification %>

    <%= f.input :email, required: true, autofocus: true %>

    <% if devise_mapping.confirmable? && resource.pending_reconfirmation? %>

Currently waiting confirmation for: <%= resource.unconfirmed_email %>

    <% end %>

    <%= f.input :password, autocomplete: "off", hint: "leave it blank if you don't want to change it", required: false %>
    <%= f.input :password_confirmation, required: false %>
    <%= f.input :current_password, hint: "we need your current password to confirm your changes", required: true %>

    <%= f.button :submit, "Update" %>

<% end %>

Fix user password reset form

Fix user password reset form


<tr data-hook="audits_row" class="<%= cycle('odd', 'even')%>">

    <% audit.audited_changes.each do |k, v| %>
      <% if v.is_a? Array %>
        <% if v[0].present? %>
          <%= "#{k} changed from #{v[0]} to #{v[1]}
".html_safe %>
        <% else %>
          <%= "#{k} set to #{v[1]}
".html_safe %>
        <% end %>
      <% else %>
        <%= "#{k} set to #{v}
".html_safe unless v.nil? %>
      <% end %>
    <% end %>

  <%= I18n.l audit.created_at, :format => :short %>
  <%= audit.try(:user).try(:email) %>
  <%= audit.action %>
  <%= audit.comment %>
  <% if audit.auditable.is_a? Spree::Shipment %>
    <%= audit.auditable.number %>
  <% end %>

Add wrapper for audit comment

Add wrapper for audit comment

Useful for truncating or adding UX features like show/hide actions.


How do we learn and build?

    <% @lesson_obj.steps.each_with_index do |step, index| %>

          Step <%= index + 1 %>

          <%= distance_of_time_in_words(step.duration * 60) %>

          Title attribute for step required

        <%= link_to "Edit step", edit_lesson_step_path(id: step.id, lesson_id: @lesson_obj.id, form_step: @form_step), class: 'EditList__edit' %>
        <% if @lesson_obj.steps.count >= 2 %>
        <%= link_to 'Remove'.html_safe, lesson_step_path(id: step.id, lesson_id: @lesson_obj.id, form_step: @form_step), method: :delete, confirm: "Are you sure?", class: 'EditList__remove' %>
        <% end %>

    <% end %>

    <%= link_to "+ Add a new step", new_lesson_step_path(lesson_id: @lesson_obj.id, form_step: @form_step) %>

How do we learn and build?

    <% @lesson_obj.steps.each_with_index do |step, index| %>

          Step <%= index + 1 %>

          <%= distance_of_time_in_words(step.duration * 60) %>

          <%= step.name %>

        <%= link_to "Edit step", edit_lesson_step_path(id: step.id, lesson_id: @lesson_obj.id, form_step: @form_step), class: 'EditList__edit' %>
        <% if @lesson_obj.steps.count >= 2 %>
        <%= link_to 'Remove'.html_safe, lesson_step_path(id: step.id, lesson_id: @lesson_obj.id, form_step: @form_step), method: :delete, confirm: "Are you sure?", class: 'EditList__remove' %>
        <% end %>

    <% end %>

    <%= link_to "+ Add a new step", new_lesson_step_path(lesson_id: @lesson_obj.id, form_step: @form_step) %>

Use step.name in step list

Use step.name in step list


      <%= form_tag('/vote', :method=>'post', :class=>'upvote') do %>
        <%= hidden_field_tag "vote[value]", 1 %>
        <%= hidden_field_tag "vote[candidate_id]", current_user.id %>
        <%= hidden_field_tag "vote[requester_id]", current_user.id %>

<%= image_submit_tag("orange-arrow.png") %>

      <% end %>

      <%= form_tag('/vote', :method=>'post', :class=>'downvote') do %>
        <%= hidden_field_tag "vote[value]", -1 %>
        <%= hidden_field_tag "vote[candidate_id]", current_user.id %>
        <%= hidden_field_tag "vote[requester_id]", current_user.id %>

<%= image_submit_tag("orange-arrow.png") %>

      <% end %>

      <%= form_tag('/vote', :method=>'post', :class=>'upvote') do %>
        <%= hidden_field_tag "vote[value]", 1 %>

<%= image_submit_tag("orange-arrow.png") %>

      <% end %>

      <%= form_tag('/vote', :method=>'post', :class=>'downvote') do %>
        <%= hidden_field_tag "vote[value]", -1 %>

<%= image_submit_tag("orange-arrow.png") %>

      <% end %>

Update vote form to only accept value

Update vote form to only accept value


<%= error_messages_for 'forum' %>

<%= _('My Forum') %>

<%= required_fields_message %>

<%= render :file => 'shared/tiny_mce' %>

<%= required f.text_field(:name, :size => '64', :maxlength => 150, :onchange => "updateUrlField(this, 'article_slug')") %>

<%= render :partial => 'general_fields' %>

<%= labelled_form_field(_('Description:'), text_area(:article, :body, :cols => 64, :rows => 10)) %>

<%= labelled_form_field(_('Posts per page:'), f.select(:posts_per_page, Forum.posts_per_page_options)) %>

<%= labelled_form_field(_('Has terms of use:'), check_box(:article, :has_terms_of_use))%>

  <%= labelled_form_field(_('Terms of use:'), text_area(:article, :terms_of_use, :class => 'mceEditor',:cols => 64, :rows => 10)) %>

<%= error_messages_for 'forum' %>

<%= _('My Forum') %>

<%= required_fields_message %>

<%= render :file => 'shared/tiny_mce' %>

<%= required f.text_field(:name, :size => '64', :maxlength => 150, :onchange => "updateUrlField(this, 'article_slug')") %>

<%= render :partial => 'general_fields' %>

<%= labelled_form_field(_('Description:'), text_area(:article, :body, :class => 'mceEditor', :cols => 64, :rows => 10)) %>

<%= labelled_form_field(_('Posts per page:'), f.select(:posts_per_page, Forum.posts_per_page_options)) %>

<%= labelled_form_field(_('Has terms of use:'), check_box(:article, :has_terms_of_use))%>

  <%= labelled_form_field(_('Terms of use:'), text_area(:article, :terms_of_use, :class => 'mceEditor',:cols => 64, :rows => 10)) %>

Add support to tinymce editor in forum description


<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-47478322-3', 'inch-ci.org');
  ga('send', 'pageview');
</script>

<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-47478322-3', 'inch-ci.org');
  <% if @project %>
    ga('set', 'Project-Language', <%= @project.language.to_json.html_safe %>);
  <% end %>
  ga('send', 'pageview');
</script>

Add project language to tracking

Add project language to tracking


    <%= render 'users/stats' %>

    <%= render 'follow_form' %>

 Your Topics

    <% @topics.each do |topic| %>
      <% if current_user == @user %>

<%= link_to( topic.title , "/topics/#{topic.id}/edit") %>

<%= topic.description %>

      <% else %>

<%= link_to( topic.title , "/topics/#{topic.id}") %>

<%= topic.description %>

    <% end %>
    <% end %>

      <%= render 'stats' %>

    <%= render 'follow_form' %>

      <%= render 'tabs' %>

Add tabs to user show page

Add tabs to user show page