Howdy!

<%= @question.title %>

	By: <%= link_to @question.user.username, user_path %>

<%= link_to @question.votes question_votes_path %>

<%= @question.description %>

	Votes: <%= @question.votes.count %>

	Tags: <% @question.tags.each do |tag| %>
		<%= link_to tag.name, tag_path %>
	<% end %>

Asked On : <%= @question.created_at.strftime('%Y-%m-%d %H:%M:%S') %>

Howdy!

<%= @question.title %>

	By: <%= link_to @question.user.username, user_path %>

<%= @question.description %>

<%= button_to "+", question_votes_path(@question, :vote_value => 1) %>

	Votes: <%= @question.votes.count %>

	Tags: <% @question.tags.each do |tag| %>
		<%= link_to tag.name, tag_path %>
	<% end %>

Asked On : <%= @question.created_at.strftime('%Y-%m-%d %H:%M:%S') %>

Add upvote button to create new votes

Add upvote button to create new votes


<!DOCTYPE html>

    <title>MPD Client</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <%= stylesheet_tag 'mpd-client' %>
    <%= javascript_tag 'mpd-client' %>

      <ng-include src="'<%= asset_path 'views/queue.html' %>'"></ng-include>

    <ng-include src="'<%= asset_path 'views/transport.html' %>'"></ng-include>

<!DOCTYPE html>

    <title>MPD Client</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimal-ui">
    <%= stylesheet_tag 'mpd-client' %>
    <%= javascript_tag 'mpd-client' %>

      <ng-include src="'<%= asset_path 'views/queue.html' %>'"></ng-include>

    <ng-include src="'<%= asset_path 'views/transport.html' %>'"></ng-include>

Add minimal-ui for iOS Safari.

Add minimal-ui for iOS Safari.


Fix less than ie 9 conditional

Fix less than ie 9 conditional


<%= f.hidden_field :promoter_id -%>
<button type="button" class="btn btn-default" data-toggle="modal" data-target="#event_promoter_select_modal">

  <%= @event.promoter&.name %>
</button>

<%= render partial: "modals/select", locals: { target: "event_promoter" } %>

Move modal partial out of form

Move modal partial out of form


  <%= form_tag smart_answer_path(params.reject {|k,v| k == 'format'}) %>

        <%= @presenter.current_question_number %>
        <%= question.title %>
        <% if question.has_body? %>
          <%= question.body %>
        <% end %>

      <%= render partial: "#{question.type}_question", locals: {question: question} %>

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

  </form>

Move body outside of h3 (oops).

Move body outside of h3 (oops).


<%= render partial: 'teachers/shared/scorebook_tabs' %>

<%= render partial: 'teachers/classrooms/subnav' %>

<%= javascript_include_tag 'jquery.js' %>
<%= javascript_include_tag 'create_a_class.js' %>

Create Your Class

    <%= form_for [:teachers, @classroom] do |f| %>

          <%= f.text_field :name, class: 'big-input', placeholder: 'Class Name' %>

          <%= f.select :grade, Classroom::GRADES, {prompt: 'Grade'}, class: 'grade-select' %>

          <%= f.label :code, "Class Code" %>
          <%= f.text_field :code, class: 'inactive class-code' %>
          Generate a New Code

      <%= f.button 'Create Class', class: 'button-green' %>
    <% end %>

<%= render partial: 'teachers/shared/scorebook_tabs' %>

<%= render partial: 'teachers/classrooms/subnav' %>

<%= javascript_include_tag 'jquery.js' %>
<%= javascript_include_tag 'scorebook/create_a_class.js' %>

Create Your Class

    <%= form_for [:teachers, @classroom] do |f| %>

          <%= f.text_field :name, class: 'big-input', placeholder: 'Class Name' %>

          <%= f.select :grade, Classroom::GRADES, {prompt: 'Grade'}, class: 'grade-select' %>

          <%= f.label :code, "Class Code" %>
          <%= f.text_field :code, class: 'inactive class-code' %>
          Generate a New Code

      <%= f.button 'Create Class', class: 'button-green' %>
    <% end %>

Fix view's path to create_a_class.js

Fix view's path to create_a_class.js

a5c773d moved/renamed create_a_class.js into .../scorebook/,
but didn't update the view using it.

If this caused any problems or errors in `development` or `production`,
they apparently weren't visible and/or troublesome enough to get any
attention.

`spec/features/sign_up_spec.rb`, however, triggered

    Failure/Error: Unable to find matching line from backtrace
    ActionController::InvalidCrossOriginRequest:
      Security warning: an embedded <script> tag on another site requested
                        protected JavaScript.  If you know what you're doing,
                        go ahead and disable forgery protection on this action
                        to permit cross-origin JavaScript embedding.

Tracking it down was as educational as it was time-consuming...

cf https://github.com/bobmazanec/til/commit/db070f23357ee426058e52ea389447beeac31dc5


Login

Logout

Register

  <% if auth_logged_in? %>

Username: <%= auth_current_user.username %>

  <% end %>

Login

Logout

Register

<a href="/profile/<%= auth_current_user.id %>/edit">Edit

  <% if auth_logged_in? %>

Username: <%= auth_current_user.username %>

  <% end %>

Add edit link on header layout

Add edit link on header layout


#
# This file is managed by Puppet. Local edits will be lost.
#

<VirtualHost <%= @vhost_name %>:<%= @port %>>
  SetEnv PATH /usr/bin:/bin:/usr/local/bin
  SetEnv LC_ALL en_US.UTF-8

  ServerName <%= @srvname %>
  DocumentRoot <%= @docroot %>
  <Directory <%= @docroot %>>
    Options <%= @options %>
    AllowOverride None
    Order allow,deny
    allow from all
  </Directory>

  ErrorLog <%= @logroot %>/<%= @name %>_error.log
  LogLevel warn
  CustomLog <%= @logroot %>/<%= @name %>_access.log combined
  ServerSignature Off

  PassengerMinInstances <%= scope.lookupvar('passenger::params::min_instances') %>
</VirtualHost>

#
# This file is managed by Puppet. Local edits will be lost.
#

<VirtualHost <%= @vhost_name %>:<%= @port %>>
  SetEnv PATH /usr/bin:/bin:/usr/local/bin
  SetEnv LC_ALL en_US.UTF-8

  ServerName <%= @srvname %>
  DocumentRoot <%= @docroot %>
  <Directory <%= @docroot %>>
    Options <%= @options %>
    AllowOverride None
    Order allow,deny
    Allow from all
    Require all granted
  </Directory>

  ErrorLog <%= @logroot %>/<%= @name %>_error.log
  LogLevel warn
  CustomLog <%= @logroot %>/<%= @name %>_access.log combined
  ServerSignature Off

  PassengerMinInstances <%= scope.lookupvar('passenger::params::min_instances') %>
</VirtualHost>

Fix for Apache > 2.4

Fix for Apache > 2.4


<!DOCTYPE html>

  <title>MuseumFinder</title>
  <%= stylesheet_link_tag    'application', media: 'all' %>
  <%= javascript_include_tag 'application' %>
  <%= csrf_meta_tags %>

  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />

      <button class="menu-icon slide-down-menu-button" type="button" data-toggle></button>

LOGO

IMAGE

          <%if signed_in?%>

Sign Out

          <%else%>

Login

Register

          <%end%>

<%= yield %>

<!DOCTYPE html>

  <title>MuseumFinder</title>
  <%= stylesheet_link_tag    'application', media: 'all' %>
  <%= javascript_include_tag 'application' %>
  <%= csrf_meta_tags %>

  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />

      <button class="menu-icon slide-down-menu-button" type="button" data-toggle></button>

LOGO

IMAGE

          <%if signed_in?%>

<%= link_to 'Sign out', destroy_user_session_path, :method => :delete %>

<%= link_to 'Favorites', user_path(current_user.id)%>

          <%else%>

<%= link_to "Sign in", new_user_session_path %>

<%= link_to "Sign up", new_user_registration_path %>

          <%end%>

<%= yield %>

Fix layout links to direct to correct paths


# Dropped off by Chef
[thruput]
maxKBps = <%= @ratelimit_kbps %>

# Managed by Chef. Changes will be reverted
[thruput]
maxKBps = <%= @ratelimit_kbps %>

Update the chef managed warning

Update the chef managed warning

Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>


Listing images

    <% @images.each do |image| %>

        <%= link_to 'Show', image %>
        <%= link_to 'Edit', edit_image_path(image) %>
        <%= link_to 'Destroy', image, method: :delete, data: { confirm: 'Are you sure?' } %>

    <% end %>

<%= link_to 'New Image', new_image_path %>

<%= image_tag('small_image.gif', id: 'zoom_01',
'data-zoom-image' => '/assets/large_image.gif') %>

Add image_tag method to display sample image


  <% organisms.each do |org| %>

<%= org.english_name %>

Iconic Taxon: <%= org.iconic_taxon_name %>

Iconic Taxon Rank: <%= org.iconic_taxon_rank %>

Taxon: <%= org.taxon_name %>

Taxon Rank: <%= org.taxon_rank %>

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

  <% end %>

Create standard formatting for adding info as it comes


    <%= form_for @user do |f| %>

<%= f.label :account_name, "Your name" %>

<%= f.text_field :account_name %>

          <% if @user.errors[:account_name].any? %>

<%= @user.errors[:account_name][0] %>

          <% end %>

<%= f.label :password, "Your password" %>

<%= f.password_field :password %>

          <% if @user.errors[:password].any? %>

<%= @user.errors[:password][0] %>

          <% end %>

<%= f.label :password_confirmation, "Please input your password again" %>

<%= f.password_field :password_confirmation %>

          <% if @user.errors[:password_confirmation].any? %>

<%= @user.errors[:password_confirmation][0] %>

          <% end %>

<%= f.submit "Register", :class => "signup-button btn btn-primary" %>

    <% end %>

  <%= link_to "Homepage", root_path %>

Add homepage link to signup page

Add homepage link to signup page


		About · Privacy · FAQ on @textizen

		a project of Code for America

				Follow @Textizen

				Tweet

		About · Privacy · FAQ on @textizen

		a project of Code for America · Fork me on GitHub

				Follow @Textizen

				Tweet

Add Github link as text in footer

Add Github link as text in footer


<!DOCTYPE html>
<html>
<head>
  <title>RubyOnRailsWebapp</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <%= yield :cdn_code %>
  <%= stylesheet_link_tag    '//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css' %>
  <%= stylesheet_link_tag    '//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css' %>
  <%= javascript_include_tag '//cdn.auth0.com/js/lock-8.2.min.js' %>
  <%= javascript_include_tag '//use.typekit.net/iws6ohy.js' %>
  <script type="text/javascript">try{Typekit.load();}catch(e){}</script>

  <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true %>
  <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
  <%= csrf_meta_tags %>
</head>
<body>

<%= yield %>

</body>
</html>

<!DOCTYPE html>
<html>
<head>
  <title>RubyOnRailsWebapp</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <%= yield :cdn_code %>
  <%= stylesheet_link_tag    '//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css' %>
  <%= stylesheet_link_tag    '//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css' %>
  <%= javascript_include_tag '//cdn.auth0.com/js/lock-9.0.min.js' %>
  <%= javascript_include_tag '//use.typekit.net/iws6ohy.js' %>
  <script type="text/javascript">try{Typekit.load();}catch(e){}</script>

  <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true %>
  <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
  <%= csrf_meta_tags %>
</head>
<body>

<%= yield %>

</body>
</html>

Update lock to version 9

Update lock to version 9


<%= t(:no_remark_result) %>

    <%= t('marker.remark_submitted') %>
    <% if @submission.remark_request_timestamp %>
      <%= l(@submission.remark_request_timestamp, format: :long_date) %>
    <% end %>

<%= t('marker.remark_instructions') %>

    <%= @assignment.remark_message %>

<%= t('marker.remark_request') %>

      <%= markdown(@submission.remark_request) %>

<%= t('marker.cancel_remark_to_change') %>

      <%= link_to t(:cancel_remark),
                  { controller: 'results',
                    action: 'cancel_remark_request',
                    id: @assignment.id,
                    submission_id: @submission.id },
                  class: 'button',
                  onclick: "return confirm('#{t(:cancel_remark_request)}');",
                  method: :delete %>

<%= t(:no_remark_result) %>

    <%= t('marker.remark_submitted') %>
    <% if @submission.remark_request_timestamp %>
      <%= l(@submission.remark_request_timestamp, format: :long_date) %>
    <% end %>

<%= t('marker.remark_instructions') %>

    <%= @assignment.remark_message %>

<%= t('marker.remark_request') %>

      <%= markdown(@submission.remark_request) %>

<%= t('marker.cancel_remark_to_change') %>

      <%= link_to t(:cancel_remark),
                  { controller: 'results',
                    action: 'cancel_remark_request',
                    id: @assignment.id,
                    submission_id: @submission.id },
                  class: 'button',
                  data: { confirm: t(:cancel_remark_request) },
                  method: :delete %>

Fix cancel remark request button (Cancel still sent DELETE request)


<% if profile.lat %>
  <%= block_title block.title %>

    <img src="https://maps.google.com/maps/api/staticmap?center=<%=profile.lat%>,<%=profile.lng%>&zoom=<%=block.zoom%>&size=190x250&maptype=<%=block.map_type%>&markers=<%=profile.lat%>,<%=profile.lng%>&sensor=false"/>

<% else %>
  <%= _('This profile has no geographical position registered.') %>
<% end %>

Remove extra div close tag

Remove extra div close tag


<% page_title "UK and the world" %>
<% page_class "countries-index" %>

UK and the world

The UK government’s priorities and interests overseas

  <% if @featured_country %>

        <%= content_tag_for(:div, @featured_country, class: 'featured') do %>

<%= link_to @featured_country.name, country_path(@featured_country), class: "name" %>

            <%= @featured_country.description %>

        <% end %>

  <% end %>

      <%= render partial: "grouped_list", locals: {countries: @countries} %>

<% page_title "UK and the world" %>
<% page_class "countries-index" %>

UK and the world

The UK government’s priorities and interests overseas

  <% if @featured_country %>

        <%= content_tag_for(:div, @featured_country, class: 'featured') do %>
          <%= image_tag 'spain.png', alt: 'Country image - Spain' %>

<%= link_to @featured_country.name, country_path(@featured_country), class: "name" %>

            <%= @featured_country.description %>

        <% end %>

  <% end %>

      <%= render partial: "grouped_list", locals: {countries: @countries} %>

Use Rails helper rather than hardcoded image tag.


      <%= link_to "Metadata Census", root_path, class: "brand" %>

<%= link_to "Metadata", metadata_path %>

<%= link_to "Repositories", repositories_path %>

<%= link_to "Control", admin_control_path %>

<%= link_to "Report", report_repository_path %>

    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex3-collapse">
      Toggle navigation

    </button>
    <%= link_to "Metadata Census", root_path, class: "navbar-brand" %>

<%= link_to "Home", '/' %>

<%= link_to "Metadata", metadata_path %>

<%= link_to "Repositories", repositories_path %>

<%= link_to "Control", admin_control_path %>

<%= link_to "Report", report_repository_path %>

Update navigation bar to Bootstrap 3 changes

With Bootstrap 3 a lot has changed. Due to that change I have updated
the navigation bar.

Signed-off-by: Konrad Reiche <4ff0213f56e2082fcd8c882d04c546881c579ce4@gmail.com>


<% content_for :title do %><%= local_assigns[:title] %> - GOV.UK<% end %>

<% content_for :html_classes do %>error error-40X<% end %>

<% content_for :body_classes do %>mainstream error<% end %>

<% content_for :content do %>

      <hgroup>

<%= local_assigns[:heading] %>

      </hgroup>

         <%= raw local_assigns[:intro] %>

Search GOV.UK

         <form class="search-box" action="/search" method="get" role="search">

           	Try searching
           	<input type="text" id="main_autocomplete2" value="" name="q" placeholder="Enter search text">
           	<input type="submit" value="Search" class="button">

         </form>

Explore GOV.UK

Go to the GOV.UK home page

<% end %>

<%= render partial: 'base' %>

<% content_for :title do %><%= local_assigns[:title] %> - GOV.UK<% end %>

<% content_for :html_classes do %>error error-40X<% end %>

<% content_for :body_classes do %>mainstream error<% end %>

<% content_for :content do %>

      <hgroup>

<%= local_assigns[:heading] %>

      </hgroup>

         <%= raw local_assigns[:intro] %>

Search GOV.UK

         <form class="search-box" action="/search" method="get" role="search">

           	Try searching
           	<input type="text" id="main_autocomplete2" value="" name="q" placeholder="Enter search text">
            	<button type="submit" class="button">Search</button>

         </form>

Explore GOV.UK

Go to the GOV.UK home page

<% end %>

<%= render partial: 'base' %>

Replace input for button on 404

Replace input for button on 404


<%= content_tag_for :div, preset, class: 'span6' do %>

<%= preset.name %>

<%= preset.parameters %>

  <%= link_to 'Edit', edit_preset_path(preset), class: 'btn btn-mini' %>
  <%= link_to 'Delete', api_preset_path(preset), class: 'btn btn-mini', method: :delete, confirm: t('confirm.delete', :model_name => 'preset') %>
<% end %>

<%= content_tag_for :div, preset, class: 'span12' do %>

<%= preset.name %>

<%= preset.parameters %>

  <%= link_to 'Edit', edit_preset_path(preset), class: 'btn btn-mini' %>
  <%= link_to 'Delete', api_preset_path(preset), class: 'btn btn-mini', method: :delete, confirm: t('confirm.delete', :model_name => 'preset') %>
<% end %>

Make presets full width (avoid layout issues)


<%= page_header('Providers') %>

      Name
      Identifier
      Actions

  <%- @providers.each do |provider| -%>

        <%= provider.name %>
        <%= provider.identifier %>

          <%= button_link_to(provider, class: 'tiny icon') do -%>
            <%= icon_tag('list layout') %>
            View
          <%- end -%>

          <%= button_link_to([:edit, provider], class: 'tiny icon') do -%>
            <%= icon_tag('edit') %>
            Edit
          <%- end -%>

          <%= delete_button_tag(provider) %>

  <%- end -%>

<%= button_link_to(new_provider_path, class: 'large green icon') do -%>
  <%= icon_tag('add') %>
  Add
<%- end -%>

<%= page_header('Providers') %>

      Name
      Identifier
      Actions

  <%- @providers.sort_by(&:name).each do |provider| -%>

        <%= provider.name %>
        <%= provider.identifier %>

          <%= button_link_to(provider, class: 'tiny icon') do -%>
            <%= icon_tag('list layout') %>
            View
          <%- end -%>

          <%= button_link_to([:edit, provider], class: 'tiny icon') do -%>
            <%= icon_tag('edit') %>
            Edit
          <%- end -%>

          <%= delete_button_tag(provider) %>

  <%- end -%>

<%= button_link_to(new_provider_path, class: 'large green icon') do -%>
  <%= icon_tag('add') %>
  Add
<%- end -%>

Sort providers by name in the index

Sort providers by name in the index


<%= pull_box(t("views.site.dashboard.repositories")) do %>
  <% if repositories.blank? %>
    <% if is_current_user?(user) %>
      You currently do not have any repository clones. You can clone a repository you wish to contribute to by going to a repository overview page and clicking the "Clone repository" button in the repository information box.
    <% else %>

        <%=h user.title %> currently does not have any repository clones.

    <% end %>
  <% else %>

      <% repositories.each do |repo| %>

            <%= link_to h(repo.url_path), [repo.project, repo] %>

      <% end %>

  <% end %>
<% end %>

<%= pull_box(t("views.site.dashboard.repositories"), :class => 'repositories-box') do %>
  <% if repositories.blank? %>

      <% if is_current_user?(user) %>
        You currently do not have any repository clones. You can clone a repository you wish to contribute to by going to a repository overview page and clicking the "Clone repository" button in the repository information box.
      <% else %>
          <%=h user.title %> currently does not have any repository clones.
      <% end %>

  <% else %>

      <% repositories.each do |repo| %>

            <%= link_to h(repo.url_path), [repo.project, repo] %>

      <% end %>

  <% end %>
<% end %>

Add special class for repositories box

Add special class for repositories box


<%= @item.name %>

Description: <%= @item.description %>

Quantity: <%= @item.quantity %>

Price: <%= @item.price %>

<%= @item.name %>

<% if !@item.image.empty? %>
  <img src="<%= @item.image %>">
<% else %>
  IMAGE NOT AVAILABLE
<%end%>

Description: <%= @item.description %>

Quantity: <%= @item.quantity %>

Price: <%= @item.price %>

Make image visible if provided, otherwise display message explaining lack of image


<% content_for :sidebar do %><% end %>

<%= t('people.new_person') %>

<%= error_messages_for(@person) %>
<%= render partial: 'form' %>

Put something in the sidebar to make it show.


<% if document.editorial_remarks.any? %>

Editorial remarks

      <% document.editorial_remarks.each do |editorial_remark| %>

          <%= editorial_remark.author.name %>
          wrote
          <abbr class="created_at" title="<%= editorial_remark.created_at.iso8601 %>">
            <%= time_ago_in_words(editorial_remark.created_at) %>
           ago:

<%= editorial_remark.body %>

      <% end %>

<% end %>

Add 'container' styling to editorial remarks.


<%= step.broken_links.count %> broken link<%= "(s)" if step.broken_links.count > 1 %> found

Create broken links partial This is so that it can be used in other areas without duplicating the code


# ************************************
# Default template in module puppetlabs-apache
# Managed by Puppet
# ************************************

NameVirtualHost <%= vhost_name %>:<%= port %>
<VirtualHost <%= vhost_name %>:<%= port %>>
  ServerName <%= srvname %>
<% if serveradmin %>
  ServerAdmin <%= serveradmin %>
<% end %>
<% if serveraliases.is_a? Array -%>
<% serveraliases.each do |name| -%><%= "  ServerAlias #{name}\n" %><% end -%>
<% elsif serveraliases != '' -%>
<%= "  ServerAlias #{serveraliases}\n" -%>
<% end -%>
  DocumentRoot <%= docroot %>
  <Directory <%= docroot %>>
    Options <%= options %>
    AllowOverride <%= Array(override).join(' ') %>
    Order allow,deny
    allow from all
  </Directory>
  ErrorLog <%= logroot %>/<%= name %>_error.log
  LogLevel warn
  CustomLog <%= logroot %>/<%= name %>_access.log combined
  ServerSignature Off
</VirtualHost>

# ************************************
# Default template in module puppetlabs-apache
# Managed by Puppet
# ************************************

NameVirtualHost <%= vhost_name %>:<%= port %>
<VirtualHost <%= vhost_name %>:<%= port %>>
  ServerName <%= srvname %>
<% if serveradmin %>
  ServerAdmin <%= serveradmin %>
<% end %>
<% if serveraliases.is_a? Array -%>
<% serveraliases.each do |name| -%><%= "  ServerAlias #{name}\n" %><% end -%>
<% elsif serveraliases != '' -%>
<%= "  ServerAlias #{serveraliases}" %>
<% end -%>
  DocumentRoot <%= docroot %>
  <Directory <%= docroot %>>
    Options <%= options %>
    AllowOverride <%= Array(override).join(' ') %>
    Order allow,deny
    allow from all
  </Directory>
  ErrorLog <%= logroot %>/<%= name %>_error.log
  LogLevel warn
  CustomLog <%= logroot %>/<%= name %>_access.log combined
  ServerSignature Off
</VirtualHost>

Change line ending for erb expressions

Change line ending for erb expressions


---
title: Domains and Shared Domains
---
_This page assumes you are using cf CLI v6._

This page has information about domains and shared domains.
For more information, see [Creating Domains and Routes](./domains-routes.html).

A domain is an IP resource represented by a domain name like "<%= vars.app_domain %>".
A domain is not directly bound to an application, but acts as part of the route
to an application.

When you deploy an application, you supply a hostname.
This hostname is prepended to the domain to create the full URL, or route, to
the application.

Example: If I use the hostname "demo-time" for my application, and my domain is
"<%= vars.app_domain %>", the route to the application is the full
URL "demo-time.<%= vars.app_domain %>".

A Cloud Foundry instance defines a default shared domain.
Unless you specify a different domain, routes to your application are created
using this shared domain.

Cloud Foundry also supports custom domains.

## Create a Custom Domain ##

If you want to use a registered domain of your own, you can:

- Create and associate it with a single organization in your account.

- Create and associate it with _all_ organizations in your account. Note: This can only be done by an **account** administrator.

### Associate a Custom Domain with a Single Organization ###

Use the `create-domain` command to create the custom domain `<%= vars.app_domain %>` in the
"test" organization:

$ cf create-domain test <%= vars.app_domain %>

### Associate a Custom Domain with All Organizations in an Account ###

Use the `create-shared-domain` command to create a shared custom domain
available to all organizations in your account:

$ cf create-shared-domain <%= vars.app_domain %>

## View Domains ##

You can see available domains for the targeted organization using the `cf
domains` command.
In this example, there are two available domains: a system-wide default
`<%=vars.app_domain%>` domain and the custom `example.org` domain.

$ cf domains
Getting domains in org console as a.user@<%=vars.app_domain%>... OK

name           status
<%=vars.app_domain%>    shared
example.org     owned

## Delete a Domain ##

### Delete a Custom Domain ###

Use the `cf delete-domain` command to delete a domain:

$ cf delete-domain <%= vars.app_domain %>

### Delete a Custom Shared Domain ###

Deleting a shared domain can only be done by an **account** administrator.

**Caution**: Deleting a shared domain will remove all associated routes, and
will make any application with this domain unreachable.

To delete a shared domain:

$ cf delete-shared-domain <%= vars.app_domain %>

Add Domains and Shared Domains into devguide


# Dynamically generated by Chef - local modifications will be overwritten

[Unit]
Description=The nginx HTTP and reverse proxy server for <%= @nginx_instance_name %>
After=network.target remote-fs.target nss-lookup.target

[Service]
Type=forking
PIDFile=/run/<%= @nginx_instance_name %>.pid
ExecStartPre=/usr/sbin/nginx -t
ExecStart=/usr/sbin/nginx -c /etc/<%= @nginx_instance_name %>/nginx.conf
ExecReload=/bin/kill -s HUP $MAINPID
KillMode=process
KillSignal=SIGQUIT
TimeoutStopSec=5
PrivateTmp=true

[Install]
WantedBy=multi-user.target

# Dynamically generated by Chef - local modifications will be overwritten

[Unit]
Description=The nginx HTTP and reverse proxy server for <%= @nginx_instance_name %>
After=network.target remote-fs.target nss-lookup.target

[Service]
Type=forking
PIDFile=/run/<%= @nginx_instance_name %>.pid
ExecStartPre=/usr/sbin/nginx -t -c /etc/<%= @nginx_instance_name %>/nginx.conf
ExecStart=/usr/sbin/nginx -c /etc/<%= @nginx_instance_name %>/nginx.conf
ExecReload=/bin/kill -s HUP $MAINPID
KillMode=process
KillSignal=SIGQUIT
TimeoutStopSec=5
PrivateTmp=true

[Install]
WantedBy=multi-user.target

Add configuration parameter to systemd test command


		<%= render "shared/voteable_controls", :voteable => answer %>

			<%= answer.content.html_safe %>

					Submitted by <%= link_to answer.user.username, 'question.user' %>.

					Submitted at <%= answer.created_at.to_s(:short) %>

		<%= render "shared/voteable_controls", :voteable => answer %>

			<%= answer.content_html %>

					Submitted by <%= link_to answer.user.username, 'question.user' %>.

					Submitted at <%= answer.created_at.to_s(:short) %>

Fix grid now that answer is indented under question


  <%= form_for document do |f| %>
  <%= render partial: "shared/form_errors", locals: { object: document } %>

  <%= f.text_field :title %>
  <%= f.text_area :summary, class: 'short-textarea' %>
  <%= f.text_area :body %>

  <%= render partial: "specialist_documents/minor_major_update_fields", locals: { f: f, document: document } %>

    <button name="save" class="btn btn-success">Save as draft</button>

  <% end %>

<%= render partial: "specialist_documents/attachments_form", locals: { document: document } %>

<%= render partial: "specialist_documents/js_preview", locals: { document: document, form_namespace: "esi_fund" } %>

Add form for ESI funds

Add form for ESI funds


<%=
  breadcrumbs(
    { 'Providers' => providers_path },
    { @provider.name => provider_path(@provider) },
    { 'Provided Attributes' => url_for([@provider, :provided_attributes]) },
    'Invite New User'
  )
%>

<%= page_header(@provider.name, 'Invite New User') %>

<%= form_for([@provider, @invitation]) do |f| -%>
  <%= field_block do -%>
    <%= f.label(:name) %>
    <%= f.text_field(:name) %>
  <%- end -%>

  <%= field_block do -%>
    <%= f.label(:mail, 'Email Address') %>
    <%= f.text_field(:mail) %>
  <%- end -%>

  <div class="line-of-buttons">
    <%- if permitted?("providers:#{@provider.name}:invitations:create") -%>
      <%= button_tag(type: 'submit', class: 'large green icon') do -%>
        <%= icon_tag('checkmark') %>
        Send Invitation
      <%- end -%>
    <%- end -%>

    <%= button_link_to(provider_provided_attributes_path(@provider), class: 'large icon') do -%>
      <%= icon_tag('cancel') %>
      Cancel
    <%- end -%>
  </div>
<%- end -%>

<%=
  breadcrumbs(
    { 'Providers' => providers_path },
    { @provider.name => provider_path(@provider) },
    { 'Provided Attributes' => url_for([@provider, :provided_attributes]) },
    'Invite New User'
  )
%>

<%= page_header(@provider.name, 'Invite New User') %>

<%= form_for([@provider, @invitation]) do |f| -%>
  <%= field_block do -%>
    <%= f.label(:name) %>
    <%= f.text_field(:name) %>
  <%- end -%>

  <%= field_block do -%>
    <%= f.label(:mail, 'Email Address') %>
    <%= f.text_field(:mail) %>
  <%- end -%>

  <div class="line-of-buttons">
    <%- if permitted?("providers:#{@provider.name}:invitations:create") -%>
      <%= button_tag(type: 'submit', class: 'large green icon') do -%>
        <%= icon_tag('checkmark') %>
        Send Invitation
      <%- end -%>
    <%- end -%>

    <%= button_link_to(provider_provided_attributes_path(@provider), class: 'large icon') do -%>
      <%= icon_tag('cancel') %>
      Cancel
    <%- end -%>
  </div>

  <%= error_messages_tag %>
<%- end -%>

<%= validate_form('#new_invitation', :invitation) do -%>
  <%= validate_field(:name, empty: 'Please enter the users full name') %>
  <%= validate_field(:mail, email: 'Please enter a valid email address') %>
<%- end -%>

Validate invitation creation in UI

Validate invitation creation in UI

Ensure administrators are prompted if invalid data is entered to
invitation form instead of previous exception.

Closes #28.


<% if events %>

<%= @page.calendar_title %>

      <% events.each  do |event| %>

          <div class="<%= @page.calendar_details ? '' : 'collapsible'%> accordion-noimage">

              <%= @page.format_event_date(event) %>, <%= @page.format_event_time(event) %>
              <%= event['summary'] %>
                <% if !@page.calendar_details %>
                  (More)
                <% end %>

              <% if event['location'] %>

Where: <%= event['location'] %> (<a href="http://maps.google.com/?q=<%= event['location'] %>">Map)

              <% end %>

<%== Rinku.auto_link(event['description'].gsub("\n","
"), :all, 'class="calendar_link"') %>

      <% end %>

<a href="<%= @page.calendar_link %>">See More Events

<% end %>

<% if events %>

<%= @page.calendar_title %>

      <% events.each  do |event| %>

          <div class="<%= @page.calendar_details ? '' : 'collapsible'%> accordion-noimage">

              <%= @page.format_event_date(event) %>, <%= @page.format_event_time(event) %>
              <%= event['summary'] %>
                <% if !@page.calendar_details %>
                  (More)
                <% end %>

              <% if event['location'] %>

Where: <%= event['location'] %> (<a href="http://maps.google.com/?q=<%= event['location'] %>">Map)

              <% end %>

<%== Rinku.auto_link( (event['description'] || '').gsub("\n","
"), :all, 'class="calendar_link"') %>

      <% end %>

<a href="<%= @page.calendar_link %>">See More Events

<% end %>

Handle events with no description

Handle events with no description


All Questions

			<% @questions.each do |question| %>

<%= question.title %>

<%= question.content %>

 <img class='ui_avatar_question' src='<%= question.creator.avatar %>'/>

<%= question.creator.name %>

			<% end %>

			<% if false %>

<%= link_to 'sign up', signup_path %>

<%= link_to 'login', login_path %>

			<% end %>

All Questions

			<% @questions.each do |question| %>

<%= link_to "#{question.title}", question_path(question.id) %>

<%= question.content %>

 <img class='ui_avatar_question' src='<%= question.creator.avatar %>'/>

<%= link_to "#{question.creator.name}", user_path(question.creator_id) %>

			<% end %>

			<% if false %>

<%= link_to 'sign up', signup_path %>

<%= link_to 'login', login_path %>

			<% end %>

Add links for user and question

Add links for user and question


<%= form_for @document,
             url: documents_path(
              documentable_type: @document.documentable_type,
              documentable_id: @document.documentable_id,
              from: params[:from]
             ),
             html: { multipart: true } do |f| %>

  <%= render 'shared/errors', resource: @document %>

      <%= f.text_field :title %>

        <%= f.file_field :attachment, label: false, class: 'show-for-sr' %>
        <%= f.label :attachment, t("documents.form.attachment_label"), class: 'button hollow' %>

<%= document_attachment_file_name(@document) %>

    <% if @document.errors.has_key?(:attachment) %>

          <%= errors_on_attachment(@document)%>

    <% end %>

      <%= f.submit(t("documents.form.submit_button"), class: "button expanded") %>

<% end %>

Add missing class to file input custom error to hide and show correctly.


Listing enquiries

    Name
    Organisation
    Address
    Country
    Postcode
    Telephone
    Email
    Fax
    Enquiry
    Call back
    Hear about

<% @enquiries.each do |enquiry| %>

    <%=h enquiry.name %>
    <%=h enquiry.organisation %>
    <%=h enquiry.address %>
    <%=h enquiry.country %>
    <%=h enquiry.postcode %>
    <%=h enquiry.telephone %>
    <%=h enquiry.email %>
    <%=h enquiry.fax %>
    <%=h enquiry.enquiry %>
    <%=h enquiry.call_back %>
    <%=h enquiry.hear_about %>
    <%= link_to 'Show', enquiry %>
    <%= link_to 'Edit', edit_enquiry_path(enquiry) %>
    <%= link_to 'Destroy', enquiry, :confirm => 'Are you sure?', :method => :delete %>

<% end %>

Listing enquiries

    Name
    Organisation
    Postcode
    Telephone
    Email
    Call back

<% @enquiries.each do |enquiry| %>

    <%=h enquiry.name %>
    <%=h enquiry.organisation %>
    <%=h enquiry.postcode %>
    <%=h enquiry.telephone %>
    <%=h enquiry.email %>
    <%=h enquiry.call_back %>
    <%= link_to 'Show', enquiry %>
    <%= link_to 'Edit', edit_enquiry_path(enquiry) %>
    <%= link_to 'Destroy', enquiry, :confirm => 'Are you sure?', :method => :delete %>

<% end %>

Remove excessive detail from enquiries list


      <%= link_to "Metadata Census", root_path, class: "brand" %>

<%= link_to "Metadata", metadata_path %>

<%= link_to "Repositories", repositories_path %>

<%= link_to "Metrics", metrics_path %>

<%= link_to "Control", admin_control_path %>

<%= link_to "Report", report_repository_path %>

Add link for the repository report to the header

As the report view will replace the metrics view I have added a link for
the path of it to the header. It will be the start to investigate
quality issues.

Signed-off-by: Konrad Reiche <4ff0213f56e2082fcd8c882d04c546881c579ce4@gmail.com>


    <% if user_signed_in? %>

        Hi <%= link_to (current_user.username || current_user.email), edit_user_registration_path, :class => "muted" %>!
          |

    <% end %>
    <%= link_to "About RevTilt", about_path, :class => "muted" %>   |
    Autism   |
    <% if user_signed_in? %>
      <%= link_to "Favorites", favorites_path, :class => "muted" %>
        |
      <%= link_to "Sign Out", destroy_user_session_path, :method => :delete, :class => "muted" %>
    <% else %>
      <%= link_to "Sign In", new_user_session_path, :class => "muted" %>
    <% end %>

  <%= link_to "/" do %>
    logo
  <% end %>

Make autism a label in the header

Make autism a label in the header


<!DOCTYPE html>
<html>

<head>

  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <title>Fluentd-UI</title>
  <%= stylesheet_link_tag 'application', media: 'all'%>
  <%= javascript_pack_tag 'application' %>
  <%= csrf_meta_tags %>
</head>

<body class="bg-light">
  <div class="container">
    <%= yield %>
  </div>
</body>

</html>

<!DOCTYPE html>
<html>

<head>

  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <title><%= fluentd_ui_title %></title>
  <%= stylesheet_link_tag 'application', media: 'all'%>
  <%= javascript_pack_tag 'application' %>
  <%= csrf_meta_tags %>
</head>

<body class="bg-light">
  <div class="container">
    <%= yield %>
  </div>
</body>

</html>

Use fluentd_ui_title helper method to set title

Signed-off-by: Kenji Okimoto <7a4b90a0a1e6fc688adec907898b6822ce215e6c@clear-code.com>


<nav id="main-nav-menu" class="fade">
  <div class="inner-box">
    <%= link_to 'Room', rooms_path %>
    <%= link_to 'Notes', notes_path %>
    <%= link_to 'Pictures', pictures_path %>
    <%= link_to 'Lists', lists_path %>
    <%= link_to 'Polls', lists_path %>
    <%= link_to 'Bills', lists_path %>
    <%= link_to 'Chores', lists_path %>
    <%= link_to "Sign Out", :destroy_user_session, :method => :delete %>
  </div>
</nav>

<nav id="main-nav-menu" class="fade">
  <div class="inner-box">
    <%= link_to 'Room', rooms_path %>
    <%= link_to 'Notes', notes_path %>
    <%= link_to 'Pictures', pictures_path %>
    <%= link_to 'Lists', lists_path %>
    <%= link_to 'Polls', poll_lists_path %>
    <%= link_to 'Bills', lists_path %>
    <%= link_to 'Chores', lists_path %>
    <%= link_to "Sign Out", :destroy_user_session, :method => :delete %>
  </div>
</nav>

Add poll_list link to navmenu

Add poll_list link to navmenu


      <%= inline_svg("logo.svg", class: "isvg") %>

        <%= inline_svg("menu.svg", class: "isvg isvg-menu") %>

    <form class="search-box" action="<%= url_for('/search/index.html') %>" novalidate>

          <input type="email" class="form-control placeholder-shown" name="inputSearch" id="inputSearch" placeholder="Search Solidus Documentation">
          Search Solidus Documentation
          <button type="submit" class="btn btn-link"><%= inline_svg("icons/search.svg", class: "isvg") %></button>

    </form>

      <%= inline_svg("logo.svg", class: "isvg") %>

        <%= inline_svg("menu.svg", class: "isvg isvg-menu") %>

    <form class="search-box" action="<%= url_for('/search/index.html') %>" novalidate>

          <input type="email" class="form-control h-auto placeholder-shown" name="inputSearch" id="inputSearch" placeholder="Search Solidus Documentation">
          Search Solidus Documentation
          <button type="submit" class="btn btn-link"><%= inline_svg("icons/search.svg", class: "isvg") %></button>

    </form>

Fix Guides search bar height

Fix Guides search bar height

In latest Twitter Bootstrap versions form-control height is
no more auto and this change is needed to make our search
bar work properly, see: twbs/bootstrap#26820


<!DOCTYPE html>

    <meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />

Welcome to Code-Laborate
      <%if @user.org_affiliate %>
       <%= @user.first_name %>!
      <% else %>
       <%= @user.first_name %>!
      <% end %>

      You have successfully signed up to code-laborate.herokuapp.com,
      your username is: <%= @user.email %>.

      To login to the site, just follow this link: <%= @url %>.

Thanks for joining and have a great day!

  <code>laborate Team

Terms & Guidlines:

<!DOCTYPE html>

    <meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />

Welcome to <Code>laborate
      <%if @user.org_affiliate %>
       <%= @user.first_name %>!
      <% else %>
       <%= @user.first_name %>!
      <% end %>

      You have successfully signed up to code-laborate.herokuapp.com,
      your username is: <%= @user.email %>. A place to provide an active link between organizations and beginning programmers to build useful, meaningful technical tools.

      To login to the site, just follow this link: <%= @url %>.

Thanks for joining and have a great day!

  <Code>laborate Team

Terms & Guidlines:

Add terms/guidlines to email and Mission statement


require 'minitest/autorun'
require_relative '<%= exercise_name %>'

# Common test data version: <%= canonical_data_version %> <%= abbreviated_commit_hash %>
class <%= exercise_test_classname %> < Minitest::Test
<%=
  test_cases.map.with_index do |test_case, index|
    test_case.to_s(index.zero?)
  end.join("\n")
%>end

require 'minitest/autorun'
require_relative '<%= exercise_name %>'

# Common test data version: <%= canonical_data_version %> <%= abbreviated_commit_hash %>
class <%= exercise_test_classname %> < Minitest::Test
<%=
  test_cases.map.with_index do |test_case, index|
    test_case.to_s(index.zero?)
  end.compact.join("\n")
%>end

Handle test cases with to_s evaluating to nil

This change makes it possible for ExerciseCases to override the to_s
method, returning nil for tests we don't want for the Ruby track.

Without this change these excluded tests would still not appear on the
generated test file, but an extra new-line would be present where they
would be, given how:

	[1, 2, nil, 4].join("\n")
	# => "1\n2\n\n4"


<% text_for :title do %>
  The estate is shared equally between the half-brothers or half-sisters.
<% end %>

<% govspeak_for :body do %>
  If a half-brother or half-sister has already died, their children (nieces and nephews of the deceased) inherit in their place.
<% end %>

<% govspeak_for :next_steps do %>
  <%= render partial: 'next_step_links', locals: { next_steps: calculator.next_steps } %>
<% end %>

<% text_for :title do %>
  The estate is shared equally between the half-brothers or half-sisters.
<% end %>

<% govspeak_for :body do %>
  If a half-brother or half-sister has died before the deceased died, their children (nieces and nephews of the deceased) inherit in their place.
<% end %>

<% govspeak_for :next_steps do %>
  <%= render partial: 'next_step_links', locals: { next_steps: calculator.next_steps } %>
<% end %>

Update to inheritance sentence - outcome 23


<%# The container tag
  - available local variables
    current_page:  a page object for the currently displayed page
    num_pages:     total number of pages
    per_page:      number of items to fetch per page
    remote:        data-remote
    paginator:     the paginator that renders the pagination tags inside
-%>
<%= paginator.render do -%>
  <nav class="pagination">
  <% if num_pages > 0 -%>
    <ul>
      <%= first_page_tag unless current_page.first? %>
      <%= prev_page_tag unless current_page.first? %>
      <% each_page do |page| -%>
        <% if page.left_outer? || page.right_outer? || page.inside_window? -%>
          <%= page_tag page %>
        <% elsif !page.was_truncated? -%>
          <%= gap_tag %>
        <% end -%>
      <% end -%>
      <%= next_page_tag unless current_page.last? %>
      <%= last_page_tag unless current_page.last? %>
    </ul>
  <% end -%>
  </nav>
<% end -%>

<%# The container tag
  - available local variables
    current_page:  a page object for the currently displayed page
    num_pages:     total number of pages
    per_page:      number of items to fetch per page
    remote:        data-remote
    paginator:     the paginator that renders the pagination tags inside
-%>
<%= paginator.render do -%>
  <nav class="pagination">
  <% if total_pages > 0 -%>
    <ul>
      <%= first_page_tag unless current_page.first? %>
      <%= prev_page_tag unless current_page.first? %>
      <% each_page do |page| -%>
        <% if page.left_outer? || page.right_outer? || page.inside_window? -%>
          <%= page_tag page %>
        <% elsif !page.was_truncated? -%>
          <%= gap_tag %>
        <% end -%>
      <% end -%>
      <%= next_page_tag unless current_page.last? %>
      <%= last_page_tag unless current_page.last? %>
    </ul>
  <% end -%>
  </nav>
<% end -%>

Fix for rename of num_pages to total_pages


<!DOCTYPE html>
<html>
<head>
  <title>Myblog</title>

  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">

  <%= stylesheet_link_tag    'application', media: 'all'%>
  <%= javascript_include_tag 'application' %>

  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>

  <script src='//cdn.tinymce.com/4/tinymce.min.js'></script>
  <%= csrf_meta_tags %>
</head>
<body>

<%= render 'layouts/header' %>

<%= yield %>

</body>

<%= render 'layouts/footer' %>

</html>

<!DOCTYPE html>
<html>
<head>
  <title>Myblog</title>

  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">

  <%= stylesheet_link_tag    'application', media: 'all'%>
  <%= javascript_include_tag 'application' %>

  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>

  <script src='//cdn.tinymce.com/4/tinymce.min.js'></script>
  <%= csrf_meta_tags %>
</head>
<body>

<%= render 'layouts/header' %>

<%= yield %>

</body>

<%= render 'layouts/footer' %>

</html>

Add viewport tag to adjust for device width


<% @song_tags.flatten.uniq.each do |t| %>
<span class="song_tag" data-tag-name="<%= t %>"><%= t %>
<% end %>

		Song

		#
		Last Used

	<% @usages.each_with_index do |usage, index| %>
		<tr class='<%= @song_tags[index].blank? ? "" : @song_tags[index].join(" ") %>'>
			<%= index+1 %>
			<a class="unborderedanchor songAnchor" id="<%= usage.song_id %>"><%= usage.song_name %>

				<% @song_tags[index].each do |t| %>
					<%= t %>
				<% end %>

			<%= usage.count_song_id %>
			<%= usage.date %><%# .strftime "%-d %b %B %Y" %>

	<% end %>

<% @song_tags.flatten.uniq.each do |t| %>
<span class="song_tag" data-tag-name="<%= t.squish.downcase.tr(" ","_") %>"><%= t %>
<% end %>

		Song

		#
		Last Used

	<% @usages.each_with_index do |usage, index| %>
		<tr class='<%= @song_tags[index].blank? ? "" : @song_tags[index].map {|st| st.squish.downcase.tr(" ","_") }.join(" ") %>'>
			<%= index+1 %>
			<a class="unborderedanchor songAnchor" id="<%= usage.song_id %>"><%= usage.song_name %>

				<% @song_tags[index].each do |t| %>
					<%= t %>
				<% end %>

			<%= usage.count_song_id %>
			<%= usage.date %><%# .strftime "%-d %b %B %Y" %>

	<% end %>

Fix for tags with spaces in names

Fix for tags with spaces in names


<% if @locales[:available].any? && !params.empty? %>

   <p class="locale-list-trigger <% @locales[:current] %>">
     <%= locale_name(@locales[:current]) %>

     <% @locales[:available].each do |locale| %>

         <%= link_to locale_name(locale), url_for(params.merge(:locale => locale)) %>

     <% end %>

<% end %>

<% if @locales[:available].any? %>

   <p class="locale-list-trigger <% @locales[:current] %>">
     <%= locale_name(@locales[:current]) %>

     <% @locales[:available].each do |locale| %>

         <%= link_to locale_name(locale), url_for(params.merge(:locale => locale)) %>

     <% end %>

<% end %>

Remove params check in locale switcher

Remove params check in locale switcher

Introduced in 8eed2061. Specs all pass so I think its a hangover from an
old way of routing.


Hallo <%= @participant.first_name %>,

Herzlichen Glückwunsch zur Weiterleitung zum <%= @performance.competition.round_name_and_year %>
  in der Kategorie <%= @performance.category.name %>!

Bis zum <%= l(@performance.competition.last_signup_date, format: :long) %> kannst du das Vorspielprogramm noch ändern. Dazu brauchst du den folgenden Änderungscode:

<%= @performance.tracing_code %>

Bitte gib ihn nur an Personen weiter, die diese Anmeldung bearbeiten dürfen. Deine Programmänderungen kannst du mit dem obenstehenden Code auf folgender Seite anmelden:

<%= link_to nil, signup_search_url %>

Viel Erfolg bei der Teilnahme am <%= @performance.competition.round_name_and_year %> wünscht Dir

Dein JuMu-Orgteam

Hallo <%= @participant.first_name %>,

Herzlichen Glückwunsch zur Weiterleitung zum <%= @performance.competition.round_name_and_year %>
  in der Kategorie <%= @performance.category.name %>!

Bis zum <%= l(@performance.competition.last_signup_date, format: :long) %> kannst du das Vorspielprogramm noch ändern. Dazu brauchst du den folgenden Änderungscode:

<%= @performance.tracing_code %>

Bitte gib ihn nur an Personen weiter, die diese Anmeldung bearbeiten dürfen. Deine Programmänderungen kannst du mit dem obenstehenden Code auf folgender Seite anmelden:

<%= link_to nil, signup_search_url %>

Viel Erfolg bei der Teilnahme am <%= @performance.competition.round_name_and_year %> wünscht dir

Dein JuMu-Orgteam

Fix spelling inconsistency in welcome mail


//
//  <%= kls %>+Mixed.swift
//  Pods
//
//  Created by Draveness.
//
//

import Foundation

public extension <%= kls %> {
    <% properties.each do |property| %><% cap = property.slice(0,1).capitalize + property.slice(1..-1) %>
    public var mixed<%= cap %>: MixedColor? {
        get { return getMixedColor(&Keys.<%= property %>) }
        set {
            <%= property %>= newValue?.unfold()
            setMixedColor(&Keys.<%= property %>, value: newValue)
        }
    }
    <% end %>

    override func updateCurrentColor() {
        super.updateCurrentColor()

        <% properties.each do |property| %><% cap = property.slice(0,1).capitalize + property.slice(1..-1) %>
        if let mixed<%= cap %> = mixed<%= cap %> {
            <%= property %> = mixed<%= cap %>.unfold()
        }
        <% end %>
    }
}

//
//  <%= kls %>+Mixed.swift
//  Pods
//
//  Created by Draveness.
//
//  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
//  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
//  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
//  DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
//  FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
//  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
//  SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
//  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
//  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
//  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
//

import Foundation

public extension <%= kls %> {
    <% properties.each do |property| %><% cap = property.slice(0,1).capitalize + property.slice(1..-1) %>
    public var mixed<%= cap %>: MixedColor? {
        get { return getMixedColor(&Keys.<%= property %>) }
        set {
            <%= property %>= newValue?.unfold()
            setMixedColor(&Keys.<%= property %>, value: newValue)
        }
    }
    <% end %>

    override func updateCurrentColor() {
        super.updateCurrentColor()

        <% properties.each do |property| %><% cap = property.slice(0,1).capitalize + property.slice(1..-1) %>
        if let mixed<%= cap %> = mixed<%= cap %> {
            <%= property %> = mixed<%= cap %>.unfold()
        }
        <% end %>
    }
}

Add file header for license

Add file header for license


<% set_meta_tags(description: category.description) %>

<%= title category.title %>

<%= category.description %>

    <% category.contents.each do |subcategory| %>

<%= link_to subcategory.title, subcategory.path %>

        <% if subcategory.contents.present? %>

          <% subcategory.contents.each do |subsubcategory| %>

<%= link_to subsubcategory.title, subsubcategory.path %>

          <% end%>

        <% end %>

    <% end %>

<% set_meta_tags(description: category.description) %>

<%= title category.title %>

<%= category.description %>

  <% category.contents.each_with_index do |subcategory, i| %>
    <section class="category-detail category-detail--<%= i+1 %>">

<%= link_to subcategory.title, subcategory.path %>

      <% if subcategory.contents.present? %>

          <% subcategory.contents.each do |subsubcategory| %>

<%= link_to subsubcategory.title, subsubcategory.path %>

          <% end %>

      <% end %>

  <% end %>

Apply presentation to category view

Apply presentation to category view


# DO NOT EDIT - This file is being maintained by Chef

CGIMAP_PORT="<%= @cgimap_port %>"
CGIMAP_DBPORT="<%= @database_port %>"
CGIMAP_DBNAME="<%= @database_name %>"
CGIMAP_USERNAME="apis"
CGIMAP_LOGFILE="<%= @log_directory %>/cgimap.log"
CGIMAP_MEMCACHE="127.0.0.1"
CGIMAP_RATELIMIT="204800"
CGIMAP_MAXDEBT="250"
CGIMAP_MAP_AREA="<%= node[:web][:max_request_area] %>"
CGIMAP_MAP_NODES"<%= node[:web][:max_number_of_nodes] %>"
CGIMAP_MAX_WAY_NODES="<%= node[:web][:max_number_of_way_nodes] %>"
CGIMAP_MAX_RELATION_MEMBERS="<%= node[:web][:max_number_of_relation_members] %>"

Configure API limits for dev instances

Configure API limits for dev instances


Mathio Party

    <% if current_user %>
    	<%= link_to "Logout, #{current_user.username}", destroy_user_session_path, method: :delete %>
    	<% if !player2_logged_in? %>
    		<%= link_to 'Player 2 Login', players_new_path %>
    	<% else %>
    		<%= link_to "Logout, #{current_player2.username}", players_logout_path, method: :delete %>
    	<% end %>
    <% else %>
    	<%= link_to 'Login', new_user_session_path %>
      <%= link_to 'Sign Up', new_user_registration_path  %>
    <% end %>

Mathio Party

    <% if current_user %>
    	<%= link_to "Logout, #{current_user.username}", destroy_user_session_path, method: :delete %>
      <%= link_to 'Profile Page', user_path(current_user.id) %>
    	<% if !player2_logged_in? %>
    		<%= link_to 'Player 2 Login', players_new_path %>
    	<% else %>
    		<%= link_to "Logout, #{current_player2.username}", players_logout_path, method: :delete %>
    	<% end %>
    <% else %>
    	<%= link_to 'Login', new_user_session_path %>
      <%= link_to 'Sign Up', new_user_registration_path  %>
    <% end %>

Add user profile page link on navbar

Add user profile page link on navbar


Featured Articles

<% @articles.each do |article| %>

  <% if article.creator.name %>

By: <%= article.creator.name %>

  <% end %>

Date: <%= article.created_at.strftime("%A, %b %d, %Y") %>

 <%= link_to(article.title, article_path(article)) %>

 <%= raw article.revisions.last.body.split(".")[0..1].join(". ") %>...

<% end %>

Featured Articles

<% @articles.each do |article| %>

  <%if article.creator.name %>

By: <%= article.creator.name %>

  <% end %>

Date: <%= article.created_at.strftime("%A, %b %d, %Y") %>

 <%= link_to(article.title, article_path(article)) %>

 <%= raw article.revisions.last.body.split(".")[0..1].join(". ") %>...

<% end %>

Fix name issue on home page

Fix name issue on home page


<%= form.inputs do %>
<%= form.input :name %>
<%= form.input :postal_address %>

<%= form.inputs 'Phone numbers' do %>
  <%= form.semantic_fields_for :phone_numbers, phone_numbers_for(form.object) do |phone_number| %>

      <%= phone_number.input :kind, :collection => PhoneNumber::KINDS %>
      <%= phone_number.input :label %>
      <%= phone_number.input :value %>

      <input type="submit" value="Delete" class="delete-item">

  <% end %>
  <input type="submit" value="Add new phone number" class="new-item">
<% end %>

<%= form.input :email_address %>
<%= form.input :website_url %>
<%= form.input :opening_hours %>

<%= link_to 'Cancel editing', contact_path, :class => 'button' %>

<%= tag :input, :class => form.object.new_record? ? 'create' : 'update', :name => 'commit', :type => :submit, :value => "#{form.object.new_record? ? 'Create' : 'Update'} Contact" %>

<% end %>

<%= form.inputs do %>
<%= form.input :name %>
<%= form.input :postal_address %>

<%= form.inputs 'Phone numbers' do %>
  <%= form.semantic_fields_for :phone_numbers, phone_numbers_for(form.object) do |phone_number| %>

      <%= phone_number.input :kind, :collection => PhoneNumber::KINDS %>
      <%= phone_number.input :label %>
      <%= phone_number.input :value %>

      <input type="submit" value="Delete" class="delete-item">

  <% end %>
  <input type="submit" value="Add new phone number" class="new-item">
<% end %>

<%= form.input :email_address %>
<%= form.input :website_url %>
<%= form.input :opening_hours %>

<%= link_to 'Cancel', form.object.new_record? ? contacts_path : contact_path(form.object), :class => 'button' %>

<%= tag :input, :class => form.object.new_record? ? 'create' : 'update', :name => 'commit', :type => :submit, :value => "#{form.object.new_record? ? 'Create' : 'Update'} Contact" %>

<% end %>

Fix cancel button for new contacts

Fix cancel button for new contacts


<!DOCTYPE html>

  <title>actopus</title>
  <%= stylesheet_link_tag 'application', media: 'all' %>
  <%= javascript_include_tag 'application' %>
  <%= csrf_meta_tags %>

actopus

      <% if staff_signed_in? %>

            <%= staff_menu_item 'exchange', '時間割を変更する', '#' %>
            <%= staff_menu_item 'search', '時間割を見る', staffs_klasses_path %>
            <%= staff_menu_item 'th-list', '教員データを管理する', staffs_lecturers_path %>
            <%= staff_menu_item 'rotate-left', '時間割データを読み込む', new_staffs_timetable_path %>

          <%= render 'shared/messages' %>
          <%= yield %>

      <% else %>

          <%= render 'shared/messages' %>
          <%= yield %>

      <% end %>

<!DOCTYPE html>

  <title>actopus</title>
  <%= stylesheet_link_tag 'application', media: 'all' %>
  <%= javascript_include_tag 'application' %>
  <%= csrf_meta_tags %>

actopus

      <% if staff_signed_in? %>

            <%= staff_menu_item 'exchange', '時間割を変更する', '#' %>
            <%= staff_menu_item 'search', '時間割を見る', staffs_klasses_path %>
            <%= staff_menu_item 'th-list', '教員データを管理する', staffs_lecturers_path %>
            <%= staff_menu_item 'rotate-left', '時間割データを読み込む', new_staffs_timetable_path %>
            <%= staff_menu_item 'users', 'スタッフを管理する', staffs_staffs_path %>

          <%= render 'shared/messages' %>
          <%= yield %>

      <% else %>

          <%= render 'shared/messages' %>
          <%= yield %>

      <% end %>

Add a link to staffs managing page @sidebar


    <%= link_to t("layouts.application.about_contact"), about_us_path %>
    <%= link_to t("layouts.application.faq"), faq_path %>
    <% if signed_in? -%>
      <%= link_to t("layouts.application.sign-out"), sign_out_path, :method => :delete %>
    <% else -%>
      <%= link_to t("layouts.application.sign-in"), sign_in_path %>
    <% end -%>

    ·

    <%= link_to "English", params.merge(:locale => "en") %>
    <%= link_to "Español", params.merge(:locale => "es") %>
    <%= link_to "Français", params.merge(:locale => "fr") %>
    <%= link_to "Português", params.merge(:locale => "pt") %>
    <%= link_to "Русский", params.merge(:locale => "ru") %>

<%= link_to "", "http://twitter.com/awesomefound", :class => :twitter %>

<%= link_to "", "http://facebook.com/awesomefoundation", :class => :facebook %>

<%= link_to "", "http://blog.awesomefoundation.org", :class => :blog %>

    <%= link_to t("layouts.application.about_contact"), about_us_path %>
    <%= link_to t("layouts.application.faq"), faq_path %>
    <% if signed_in? -%>
      <%= link_to t("layouts.application.sign-out"), sign_out_path, :method => :delete %>
    <% else -%>
      <%= link_to t("layouts.application.sign-in"), sign_in_path %>
    <% end -%>

    ·

    <%= link_to "English", params.merge(:locale => "en") %>
    <%= link_to "Español", params.merge(:locale => "es") %>
    <%= link_to "Français", params.merge(:locale => "fr") %>
    <%= link_to "Português", params.merge(:locale => "pt") %>
    <%= link_to "Русский", params.merge(:locale => "ru") %>

<%= link_to "", "https://twitter.com/awesomefound", :class => :twitter %>

<%= link_to "", "https://www.facebook.com/awesomefoundation", :class => :facebook %>

<%= link_to "", "http://blog.awesomefoundation.org", :class => :blog %>

Update footer social media links

Update footer social media links


<% if current_user && current_user.optin == false %>

    We have updated our terms of service and privacy policy. If you do not accept these changes your account will be removed at some point in the future. <%= link_to 'Accept', optin_account_path, method: 'put', class: 'btn btn-success btn-sm', rel: 'nofollow', title: 'Accept the new terms of service and privacy policy' %>

<% end %>

  Introducing the Tidelift Subscription. Professional-quality security updates and maintenance for the open source projects you depend on.

Update link in tidelift notice

Update link in tidelift notice


#!/bin/bash
export PATH=<%= @install_dir %>/bin:<%= @install_dir %>/embedded/bin:$PATH

# default to RAILS_ENV=production
if [[ -z $RAILS_ENV ]]; then
  export RAILS_ENV=production
fi

gitlab_user=$(ls -lLd <%= @install_dir %>/embedded/service/gitlab-core/log | awk '{ print $3 }')

cd <%= @install_dir %>/embedded/service/gitlab-core
exec <%= @install_dir %>/embedded/bin/chpst -u $gitlab_user -U $gitlab_user <%= @install_dir %>/embedded/bin/bundle exec <%= @command %>

#!/bin/bash
export PATH=<%= install_dir %>/bin:<%= install_dir %>/embedded/bin:$PATH

# default to RAILS_ENV=production
if [[ -z $RAILS_ENV ]]; then
  export RAILS_ENV=production
fi

gitlab_user=$(ls -lLd <%= install_dir %>/embedded/service/gitlab-core/log | awk '{ print $3 }')

cd <%= install_dir %>/embedded/service/gitlab-core
exec <%= install_dir %>/embedded/bin/chpst -u $gitlab_user -U $gitlab_user <%= install_dir %>/embedded/bin/bundle exec <%= command %>

Use local instead of instance variables in ERB


<%= tabs do |tabs|
  (overall_bar.children + [ overall_bar ]).sort_by(&:name).each do |bar|
    tabs.add(bar.discipline, bar_path(:discipline => Discipline[bar.discipline], :year => bar.year, :category => race.try(:category_friendly_param)))
  end
end if overall_bar -%>

<%= tabs do |tabs|
  (overall_bar.children + [ overall_bar ]).sort_by(&:name).each do |bar|
    tabs.add(bar.discipline, bar_path(bar.year, Discipline[bar.discipline], race.try(:category_friendly_param)))
  end
end if overall_bar -%>

Use simpler path method signature

Use simpler path method signature


#!/bin/bash -e

LOG_DIR=/var/vcap/sys/log/routing-api

source /var/vcap/packages/routing_utils/syslog_utils.sh

tee_output_to_sys_log "${LOG_DIR}" "routing_api"

set +e
host -r <%= p("dns_health_check_host") %>
if [[ "0" != "$?" ]]; then
  echo "DNS is not up"
  exit 1
fi
set -e

#!/bin/bash -e

set +e
host -r <%= p("dns_health_check_host") %>
if [[ "0" != "$?" ]]; then
  echo "DNS is not up"
  exit 1
fi
set -e

Revert "Add back tee to vcap.routing_api.stdout"
- continuing with syslog name change

This reverts commit d032049ccc293fdddb546551bb0ef57cf5fdf1c5.


#
# Bacula User Agent (or Console) Configuration File
#

Director {
    Name     = <%= scope.lookupvar('bacula::params::director_name') %>-dir
    DIRport  = <%= @port %>
    address  = <%= scope.lookupvar('bacula::params::director_address') %>
    Password = "<%= @password %>"
<%= scope.function_template(['bacula/_ssl.erb']) %>
<%= scope.function_template(['bacula/_sslkeypair.erb']) %>
}

#
# Bacula User Agent (or Console) Configuration File
#

Director {
    Name     = <%= @director %>
    DIRport  = <%= @port %>
    address  = <%= @director_address %>
    Password = "<%= @password %>"
<%= scope.function_template(['bacula/_ssl.erb']) %>
<%= scope.function_template(['bacula/_sslkeypair.erb']) %>
}

Update bconsole template to use the correct variables

Aligns the bconsole template with reality.


{:class =>  }

  <% 1.upto(calendar.start_padding) do %>

  <% end %>
  <% calendar.each_day do |date, gift| %>
    <li class="<%= ("gifted" if gift.present?) %> calendar-day">
      <% if gift.present? && gift.user == current_user %>

          <%= link_to raw("×"), gift_path(gift), :title => "Remove gift", :method => :delete, "data-confirm" => "Remove this gift?" %>

      <% end %>
      <span class="<%= date == Time.zone.today ? 'calendar-mday calendar-mday-today' : 'calendar-mday' %>">
        > 12/
        <%= date.mday %>

      <% if gift.present? %>
        <%= link_to gift.pull_request_title, gift.pull_request_issue_url, :target => :_blank %>
      <% end %>

  <% end %>

        > 12/
        25

      <%= t("happy_holidays") %>

Remove rogue object from calendar partial


content_to_show = '
<%= @category.name %>
'
$('.current_categories').prepend(content_to_show).hide().fadeIn(2000);
$('#category_name').val('');

Clean input after creating category

Clean input after creating category


<%= form_tag(cocktails_path, :method => 'get') do %>
  <%= label_tag(:query, "Search for:") %>
  <%= text_field_tag(:query) %>
  <%= submit_tag("Search") %>
<% end %>

<% @cocktails.each do |cocktail| %>

<%= cocktail.name %>

<% end %>

Add ability to search for ingredient and corresponding view


<%= link_to "Triumph", url_for(:controller => 'realms', :action => 'index') %>

Dashboard

Achievements

  <% if logged_in? %>

        <%= current_user.name %>

<%= link_to "Profile", current_user %>

<%= link_to "Sign out", logout_path, method: "delete" %>

  <% else %>

<%= link_to "Sign in", login_path %>

  <% end %>

<%= link_to "Triumph", url_for(:controller => 'realms', :action => 'index') %>

Dashboard

Achievements

  <% if logged_in? %>

        <%= current_user.name %>

<%= link_to "Profile", current_user %>

<%= link_to "Change Password", users_passwd_path %>

<%= link_to "Sign out", logout_path, method: "delete" %>

  <% else %>

<%= link_to "Sign in", login_path %>

  <% end %>

Change Password link in nav header

Change Password link in nav header


Questions

			<%= link_to "recent", questions_recent_path %>
			<%= link_to "trending", questions_trending_path %>
			<%= link_to "most votes", questions_most_votes_path %>

		<% @questions.each do |question| %>
		<%= render partial: "questions/info", locals: {question: question} %>
		<% end %>

Questions

			<%= link_to "recent", questions_recent_path, class: "sort_link" %>
			<%= link_to "trending", questions_trending_path, class: "sort_link" %>
			<%= link_to "most votes", questions_most_votes_path, class: "sort_link" %>

		<% @questions.each do |question| %>
		<%= render partial: "questions/info", locals: {question: question} %>
		<% end %>

Fix class inclusion on sorting link_to tags


Taxon Info

      Home

    <% @iconic_taxon_names.each do |taxon| %>
      <% if !taxon.empty? %>

          <a data-toggle="tab" href="#<%= taxon.first.iconic_taxon_name %>"><%= taxon[0].iconic_taxon_name %>

      <% end %>

This is home.

     <% if !taxon.empty? %>
       <div id="<%= taxon.first.iconic_taxon_name %>" class="tab-pane fade">
         <%= erb :"partials/_results", :layout => false, :locals => {:taxon => taxon}  %>

       <% end %>
   <% end %>

Taxon Info

      Home

    <% @iconic_taxon_names.each do |taxon| %>
      <% if !taxon.empty? %>

          <a data-toggle="tab" href="#<%= taxon.first.iconic_taxon_name %>"><%= taxon.first.iconic_taxon_name %>

      <% end %>
    <% end %>

     <%# if !taxon.empty? %>

   <%# end %>

Comment out certain divs to make tabs functional


Understanding sensor data.

Sensorama captures samples from all sensors
	    of your iPhone at fixed time intervals and sends the captured
	    data to your e-mail address. We store the copy too, for research
	    and improving Sensorama. Everything in free, open and
	    easy-to-read JSON format.

	        Download on the AppStore

	    home

Understanding sensor data.

Sensorama captures samples from all sensors
	    of your iPhone at fixed time intervals and sends the captured
	    data to your e-mail address. We store the copy too, for research
	    and improving Sensorama. Everything in free, open and
	    easy-to-read JSON format.

	        Download on the AppStore

		Star

	      Tweet

	    home

Bring Github and Twitter buttons.

Bring Github and Twitter buttons.


      <% if current_user == @user %>
        <%= link_to new_album_path, class: "btn btn-primary" do %>
           New album
        <% end %>
      <% end %>

Albums

          <%= render @albums, locals: { user: @user } %>

      <% if current_user == @user %>
        <%= link_to new_album_path, class: "btn btn-primary" do %>
           New album
        <% end %>
      <% end %>

Albums

        <% if current_user == @user %>
          <%= link_to 'New album', new_album_path, class: "btn btn-primary" %>
        <% end %>

          <%= render @albums, locals: { user: @user } %>

Create new album with upload image

Create new album with upload image


<!DOCTYPE html>

  <%= render partial: 'shared/head' %>

    <%= render partial: 'shared/navigation' %>

    <%= render partial: 'shared/alpha' %>

      <%= content_for?(:content) ? yield(:content) : yield %>

        Photo credit: Regency House, Leamington Spa, by Lydia

  <%= render partial: 'shared/footer' %>
  <%= render partial: 'shared/footer_scripts' %>

<!DOCTYPE html>

  <%= render partial: 'shared/head' %>

    <%= render partial: 'shared/alpha' %>

    <%= render partial: 'shared/navigation' %>

      <%= content_for?(:content) ? yield(:content) : yield %>

        Photo credit: Regency House, Leamington Spa, by Lydia

  <%= render partial: 'shared/footer' %>
  <%= render partial: 'shared/footer_scripts' %>

Move alpha message on homepage

Move alpha message on homepage


  <%= link_to 'donebox', home_path %>
  <% if logged_in? %>
    <%= link_to 'logout', logout_path %>
  <% else %>
    <%= link_to 'login', login_path %>
    <%= link_to 'sign up', signup_path %>
  <% end %>
  <%= link_to 'about', about_path %>
  <%= link_to 'syntax', syntax_path %>
  <%= link_to 'api', api_path %>
  <%= link_to 'tools', tools_path %>
  -
  ©
  <%= link_to 'macournoyer', 'http://macournoyer.com' %> &&
  <%= link_to 'ook', 'http://blog.ookook.fr' %>

Add my little nickname in the footer, just after marcournoyer... :x


<% set_meta_tags(canonical:   root_url,
                 alternate:   alternate_home_map,
                 title:       t('.title'),
                 description: t('.description').strip) %>

<%= heading_tag t('layouts.base.title'), class: 'visually-hidden' %>

<%= render 'shared/trust_banner', items: t('.trust_banner_list') %>

    <%= heading_tag(level: heading_level ||= 2, class: 'l-home-directory__title') do %>
      <%= t('.directory_heading') %>
    <% end %>
    <%= render 'shared/directory', items: category_navigation %>

<% if Feature.active?(:tools_promos) %>
  <%= render 'shared/tool_promos', items: t('.tools') %>

<% end %>

<%= render 'shared/article_promos', items: t('.promoted') %>

<% set_meta_tags(canonical:   root_url,
                 alternate:   alternate_home_map,
                 title:       t('.title'),
                 description: t('.description').strip) %>

<%= heading_tag t('layouts.base.title'), class: 'visually-hidden' %>

<%= render 'shared/trust_banner', items: t('.trust_banner_list') %>

    <%= heading_tag(level: heading_level ||= 2, class: 'l-home-directory__title') do %>
      <%= t('.directory_heading') %>
    <% end %>
    <%= render 'shared/directory', items: category_navigation %>

<%= render 'shared/tool_promos', items: t('.tools') %>

<%= render 'shared/article_promos', items: t('.promoted') %>

Remove the feature toggle ready to go live


<% if @family_people.length > 1 %>

    Family <%= render :partial => 'families/thumbnail', :locals => {:family => @family} %>
  <% if @logged_in.admin?(:edit_profiles)  %>
    <%= link_to 'edit', @family, :class => 'discreet' %>
  <% elsif me? %>
    <%= link_to 'edit', edit_person_path(@logged_in), :class => 'discreet' %>
  <% end %>

    <% @family_people.each do |person| %>

          <a href="<%= url_for person %>">
            <%= render :partial => 'people/thumbnail', :locals => {:person => person} %>

          <%= link_to h(person.name), person %>
          <% unless person.visible?(@family) %>
            <%= image_tag('lock.gif', :alt => 'Hidden Profile', :class => 'icon') %>
          <% end %>

    <% end %>

<% end %>

<% if @family_people.length > 1 %>

    Family
    <a href="<%= url_for @family %>">
      <%= render :partial => 'families/thumbnail', :locals => {:family => @family} %>

  <% if @logged_in.admin?(:edit_profiles)  %>
    <%= link_to 'edit', @family, :class => 'discreet' %>
  <% elsif me? %>
    <%= link_to 'edit', edit_person_path(@logged_in), :class => 'discreet' %>
  <% end %>

    <% @family_people.each do |person| %>

          <a href="<%= url_for person %>">
            <%= render :partial => 'people/thumbnail', :locals => {:person => person} %>

          <%= link_to h(person.name), person %>
          <% unless person.visible?(@family) %>
            <%= image_tag('lock.gif', :alt => 'Hidden Profile', :class => 'icon') %>
          <% end %>

    <% end %>

<% end %>

Add familiy pic to profile page.

Add familiy pic to profile page.


<%= @user.name %>'s Movies:

      Title
      Rating
      Genre
      Edit

    <% @user.movies.each do |movie| %>

        <a href="/movie/<%= movie.id %>"><%= movie.name %>
        <%= movie.rating %>
        <%= movie.genres.first.name %>
        <a href="/user/<%= @user.id %>/<%= movie.name %>">EDIT

    <% end %>

    <a href="/user/<%= @user.id %>/add">ADD MOVIE

<%= @user.name %>'s Movie List

You currently have <%= movie_count %> ranked movies in your list:

      Title
      Rating
      Genre
      Edit
      Delete

    <% @user.movies.each do |movie| %>

        <a href="/movie/<%= movie.id %>"><%= movie.name %>
        <%= movie.rating %>
        <%= movie.genres.first.name %>
        <a href="/user/<%= @user.id %>/<%= movie.name %>">EDIT

          <form action="/delete/<%= movie.name %>" method="POST">
            <input type="hidden" name="_method" value="DELETE">
            <input type="submit" value="delete">
          </form>

    <% end %>

    <a href="/user/<%= @user.id %>/add">ADD MOVIE

Add column for delete option on movies table. Add form to facilitate delete


<% provide :title, t('.title') %>

<%= t('.already_registered') %>

    <%= link_to sign_in_path do %>

<%= t(".sign_in_here") %>

    <% end %>

<%= t('.create_your_account') %>

    <%= form_for @user, builder: ::FormBuilder do |form| %>
      <%= render partial: '/users/form', object: form %>

        <%= form.submit(class: "btn btn-save", value: t('.create_your_account')) %>

    <% end %>

<% provide :title, t('.title') %>

<%= t('.already_registered') %>

    <%= link_to sign_in_path do %>

<%= t(".sign_in_here") %>

    <% end %>

<%= t('.create_your_account') %>

    <%= form_for @user, builder: ::FormBuilder do |form| %>
      <%= render partial: '/users/form', object: form %>
      <%= form.form_field :check_box, :privacy_policy_agreement, t('.privacy_policy_checkbox') %>

        <%= form.submit(class: "btn btn-save", value: t('.create_your_account')) %>

    <% end %>

feat: Add form_field checkbox for privacy_policy_agreement to user sign up page


    Name
    Summary
    Description
    Details
    Duration
    Related

Remove 'related' header for topical events

There was a header for this field, but no content. Therefore removing
the header as it was redundant.


<%= create_page_link(@group) if may_create_group_page? %>

<%= render :partial => 'groups/navigation/side_links' %>

<% if action?(:show) %>
  <%# render :partial => 'groups/featured/show' %>
<% end %>

<%= create_page_link(@group) if may_create_group_page? %>

<%= render :partial => 'groups/navigation/side_links' %>

<% if action?(:show) %>
  <%= render :partial => 'groups/featured/show' %>
<% end %>

Revert "disable rendering of featured pages for now"

This reverts commit 2c77f47594e10a7b2ce306699501e15286d2e212.


---
layout: empty
---
<!doctype html>
<html>
  <head>
    <link rel="canonical" href="<%= url_for(redirect_to) %>" />
    <meta http-equiv="refresh" content="0; url=<%= url_for(redirect_to) %>" />
    <meta name="robots" content="noindex,follow" />
    <meta http-equiv="cache-control" content="no-cache" />
  </head>
  <body>
  </body>
</html>

---
layout: empty
---
<!doctype html>
<html>
  <head>
    <link rel="canonical" href="<%= url_for(redirect_to) %>" />
    <meta http-equiv="refresh" content="0; url=<%= url_for(redirect_to) %>" />
    <meta name="robots" content="noindex,follow" />
    <meta http-equiv="cache-control" content="no-cache" />
  </head>
  <body>
    You will be redirected to the <%= url_for(redirect_to) %> of the go.cd website.
    If you are not redirected in a couple of seconds please <%= link_to 'click here' redirect_to) %>
    <script>
    window.location.href = "<%= url_for(redirect_to) %>";
    </script>
  </body>
</html>

Improve the redirect page to make it a bit more SEO friendly.


external_url = '<%= @external_url %>'
<% if @enable_ts %>
nginx['ssl_certificate'] = '<%= @ssl_certificate %>'
nginx['ssl_certificate_key'] =  '<%= @ssl_key %>'
nginx['redirect_http_to_https'] = <%= @redirect_http_to_https %>
<% end %>

gitlab_rails['gitlab_email_from'] = '<%= @gitlab_email_from %>'

gitlab_rails['ldap_enabled'] = <%= @ldap_enabled %>

# GitLab Enterprise Edition only
gitlab_rails['ldap_group_base'] = '<%= @ldap_group_base %>'
gitlab_rails['ldap_user_filter'] = '<%= @ldap_user_filter %>'

<% if @ldap_servers_yaml %>
gitlab_rails['ldap_servers'] = YAML.load <<-EOS
<%= @ldap_servers_yaml -%>
EOS
<% end %>

Add extra linebreak for EOS in case variable does not contain one.


<%= I18n.t("devise.mailer.invitation_instructions.hello", email: @resource.email) %>

<%= I18n.t("devise.mailer.invitation_instructions.someone_invited_you", url: root_url) %>

<%= link_to I18n.t("devise.mailer.invitation_instructions.accept"), accept_invitation_url(@resource, :invitation_token => @token) %>

<%= I18n.t("devise.mailer.invitation_instructions.ignore").html_safe %>

<%= t("devise.mailer.invitation_instructions.hello", email: @resource.email) %>

<%= t("devise.mailer.invitation_instructions.someone_invited_you", url: root_url) %>

<%= link_to t("devise.mailer.invitation_instructions.accept"), accept_invitation_url(@resource, :invitation_token => @token) %>

<%= t("devise.mailer.invitation_instructions.ignore").html_safe %>

Use the shorthand I18n method t(key) in the mailer.


<%= notice %>

Listing Microposts <%= @search_title %>

  <%= @microposts.count %> <%= "#{Micropost.model_name.human}(s)" %>

  <%= form_tag(search_microposts_path, method: :get, role: "search", class: "search") do %>
    <%= text_field_tag :q, params[:q] %>
    <%= button_tag "search" %>
  <% end %>

      Content

    <% @microposts.each do |micropost| %>

        <%= micropost.content %>
        <%= link_to 'Edit', edit_micropost_path(micropost) %>
        <%= link_to 'Destroy', micropost, method: :delete, data: { confirm: 'Are you sure?' } %>

    <% end %>

<%= link_to 'New Micropost', new_micropost_path %>

view: Add missing blank line between block elements


<%= form_for :user, url: update_user_path, :html => { id: 'mu-user-form' }, method: :put do |f| %>

<%= @user.name %>

    <%= edit_profile_button %>

      <%= image_tag @user.profile_picture, class: 'mu-user-avatar', id: 'mu-user-avatar' %>

      <%= render partial: 'profile_fields', locals: {form: f} %>

<%= f.submit t(:save), class: 'btn btn-success btn-block' %>

<% end %>

<%= content_for :no_container do %>
    <%= render partial: 'layouts/modals/avatar_picker' %>
<% end %>

Remove editable fields from profile view


Home

Code of Conduct

Diversity Statement

Buy Tickets

Schedule

Speakers

Sponsors

<<<<<<< HEAD

Event Information

Diversity Statement

=======

Visiting Seattle

>>>>>>> create-visiting

Home

Code of Conduct

Diversity Statement

Buy Tickets

Schedule

Speakers

Sponsors

Diversity Statement

Visiting Seattle

Fix merge detritus in Sidebar

Fix merge detritus in Sidebar


<!DOCTYPE html>

    <meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />

Welcome to Code-Laborate,
      <%if @user.org_affiliate %>
       <%= @user.first_name %>
      <% else %>
       <%= @user.first_name %>
      <% end %>

      You have successfully signed up to code-laborate.herokuapp.com,
      your username is: <%= @user.email %>.

      To login to the site, just follow this link: <%= @url %>.

Thanks for joining and have a great day!

  <code>laborate Team

Add border color to email

Add border color to email


---
- scm:
    name: Deploy_DNS
    scm:
        - git:
            url: git@github.com:alphagov/govuk-dns.git
            branches:
              - master
            wipe-workspace: true
            clean:
                after: true

- job:
    name: Deploy_DNS
    display-name: Deploy_DNS
    project-type: freestyle
    properties:
        - github:
            url: https://github.com/alphagov/govuk-dns/
    scm:
      - Deploy_DNS
    builders:
        - shell: |
            export DEPLOY_ENV=<%= @environment %>
            export DYN_ZONE_ID='<%= @dyn_zone_id %>'
            export ROUTE53_ZONE_ID='<%= @route53_zone_id %>'
            export DYN_CUSTOMER_NAME='<%= @dyn_customer_name %>'
            ./jenkins.sh
    wrappers:
        - ansicolor:
            colormap: xterm
    parameters:
        - choice:
            name: PROVIDERS
            choices:
                - PICK ONE
                - all
                - dyn
                - route53
        - string:
            name: AWS_ACCESS_KEY_ID
            default: false
        - string:
            name: AWS_SECRET_ACCESS_KEY
            default: false
        - string:
            name: DYN_USERNAME
            default: false
        - string:
            name: DYN_PASSWORD
            default: false

---
- scm:
    name: Deploy_DNS
    scm:
        - git:
            url: git@github.com:alphagov/govuk-dns.git
            branches:
              - master
            wipe-workspace: true
            clean:
                after: true

- job:
    name: Deploy_DNS
    display-name: Deploy_DNS
    project-type: freestyle
    properties:
        - github:
            url: https://github.com/alphagov/govuk-dns/
    scm:
      - Deploy_DNS
    builders:
        - shell: |
            export DEPLOY_ENV=<%= @environment %>
            export DYN_ZONE_ID='<%= @dyn_zone_id %>'
            export ROUTE53_ZONE_ID='<%= @route53_zone_id %>'
            export DYN_CUSTOMER_NAME='<%= @dyn_customer_name %>'
            ./jenkins.sh
    wrappers:
        - ansicolor:
            colormap: xterm
    parameters:
        - choice:
            name: PROVIDERS
            choices:
                - PICK ONE
                - all
                - dyn
                - route53
        - string:
            name: AWS_ACCESS_KEY_ID
            default: false
        - password:
            name: AWS_SECRET_ACCESS_KEY
            default: false
        - string:
            name: DYN_USERNAME
            default: false
        - password:
            name: DYN_PASSWORD
            default: false

Use passwords for DNS deploy Jenkins job

Using passwords instead of strings means that Jenkins doesn't display
these values in the interface.


Admin page

Menu:

<%= link_to 'Sites', admin_sites_path %>

<%= link_to 'Posts', admin_posts_path %>

Admin page

Menu:

<%= link_to 'Sites', admin_sites_path %>

<%= link_to 'Categories', admin_categories_path %>

<%= link_to 'Posts', admin_posts_path %>

Add admin_categories_path to admin index page


<%= stylesheet_link_tag "categories" %>

Categories

            Name
            Amount of books
            Actions

          <% @categories.each do |category| %>

              <%= category.name %>
              <%= category.books.count %>
              <%= link_to "Edit", edit_category_path(category), class: "btn btn-sm btn-warning" %>
              <%= link_to "Delete", category, method: :delete, class: "btn btn-sm btn-danger" %>

          <% end %>

<%= stylesheet_link_tag "categories" %>

Categories

            Name
            Amount of books
            Actions

          <% @categories.each do |category| %>

              <%= category.name %>
              <%= category.books.count %>
              <%= link_to "Edit", edit_category_path(category), class: "btn btn-sm btn-warning" %>
              <%= link_to "Delete", category, method: :delete, class: "btn btn-sm btn-danger", :data => {:confirm => 'Are you sure?'} %>

          <% end %>

Add confirm to category delete

Add confirm to category delete


<% if comment.author -%>

Author: <%= comment.author.name -%>

<% end -%>

Created <%= distance_of_time_in_words_to_now(comment.created_at) -%> ago

<%= comment.text -%>

<% if ! comment.author.blank? -%>

by <%= comment.author.name -%>

<% end -%>

Created <%= distance_of_time_in_words_to_now(comment.created_at) -%> ago

<%= comment.text -%>

Make author appear in comment.

Make author appear in comment.


Boom! Resumis.

List of Sites

    <% @users.each do |u| %>

<%= link_to (u.full_name ? u.full_name : u.subdomain), "#{request.protocol}#{tenant_instance_hostname(u)}/" %> - <%= tenant_instance_hostname(u) %>

    <% end %>

    <%= link_to new_user_session_path, class: "btn btn-lg btn-success" do %>
      Login to Resumis
    <% end %>
    <% if Devise.mappings[:user].registerable? %>
      <%= link_to new_user_registration_path, class: "btn btn-lg btn-primary" do %>
        Sign Up
      <% end %>
    <% end %>

      Wasn't expecting to see this?

        Resumis is operating in multi-tenancy mode, seperating different user's sites by subdomain, or if they prefer, domain name.

        As such, there is no site to be accessed here on the bare domain. If you prefer that the bare domain goes to a specific user's site, conduct such a redirect within your web server configuration.

Boom! Resumis.

List of Sites

    <% @users.each do |user| %>

<%= link_to (user.full_name ? user.full_name : user.subdomain), "#{request.protocol}#{u tenant_instance_hostname(user)}/" %> - <%= tenant_instance_hostname(user) %>

    <% end %>

    <%= link_to new_user_session_path, class: "btn btn-lg btn-success" do %>
      Login to Resumis
    <% end %>
    <% if Devise.mappings[:user].registerable? %>
      <%= link_to new_user_registration_path, class: "btn btn-lg btn-primary" do %>
        Sign Up
      <% end %>
    <% end %>

      Wasn't expecting to see this?

        Resumis is operating in multi-tenancy mode, seperating different user's sites by subdomain, or if they prefer, domain name.

        As such, there is no site to be accessed here on the bare domain. If you prefer that the bare domain goes to a specific user's site, conduct such a redirect within your web server configuration.

Use `user` instead of `u`

Use `user` instead of `u`

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


<%= form_for ([@language, @query]), :url => { :controller => 'queries', :action => 'bing_create'} do |f| %>
	<%= f.label :title %>
  <%= f.text_field :title %>

  <%= f.label :description %>
  <%= f.text_field :description %>

   from: english

   to: <%= @language.lingua %>

   <%= label_tag(:english, "text to translate:") %>

   <%= f.text_area :english, :rows => 4 %>
   <%= submit_tag("Search") %>
<% end %>

<%= form_for ([@language, @query]), :url => "/languages/#{@language.id}/queries/bing" do |f| %>
	<%= f.label :title %>
  <%= f.text_field :title %>

  <%= f.label :description %>
  <%= f.text_field :description %>

   from: english

   to: <%= @language.lingua %>

   <%= label_tag(:english, "text to translate:") %>

   <%= f.text_area :english, :rows => 4 %>
   <%= submit_tag("Search") %>
<% end %>

Modify path url to work with modal on languages show page


Add basic layout for user specs view partial


	  <%= scrivito_tag_list :ul, @obj, :toclist do |list, child| %>
	    <%= list.tag :li do %>
	      <%= link_to child.display_title, scrivito_path(child) %>
	    <% end %>
	  <% end %>

	  <%= scrivito_tag :h1,  @obj, :title %>
	  <%= scrivito_tag :div, @obj, :abstract %>
	  <%= scrivito_image_tag @obj, :image, class: "img-responsive" %>
	  <%= scrivito_tag :div, @obj, :body %>

	  <%= content_tag  :div, scrivito_value(@obj.last_changed.strftime("更新日: %Y年%m月%d日")),
              class: "text-muted text-right h5" %>

	  <%= render 'shared/sitemap_sotechsha' if @sts_posts %>
	  <%= render 'shared/footer' %>

Stop double-rendering footers in News page


# How to Install Buildkite Agent

The Buildkite Agent runs on your own machine, whether it's a VPS, server, desktop computer, embedded device. There are installers for:

* [Ubuntu](ubuntu)
* [Debian](debian)
* [CentOS/Redhat](redhat)
* [FreeBSD](freebsd)
* [Mac](debian)
* [Windows](windows)
* [Linux](linux)
* [Docker](docker)

Alternatively you can install it manually using the instructions below.

## Manual Installation

If you need to install the agent on a system not listed above you'll need to perform a manual installation using one of the binaries from [buildkite-agent’s releases page](https://github.com/buildkite/agent/releases).

Once you have a binary you simply create a bin and builds directory in `~/.buildkite-agent` and copy the binary and `bootstrap.sh` file into place:

```bash
mkdir ~/.buildkite-agent ~/.buildkite-agent/bin ~/.buildkite-agent/builds
cp buildkite-agent ~/.buildkite-agent/bin
cp bootstrap.sh ~/.buildkite-agent/bootstrap.sh
```

You should now be able to start the agent:

```bash
buildkite-agent start --help
```

If your architecture isn’t on the releases page send an email to support and we’ll help you out, our check out the [buildkite-agent’s readme](https://github.com/buildkite/agent#readme) for instructions on how to compile it yourself.

# How to Install Buildkite Agent

The Buildkite Agent runs on your own machine, whether it's a VPS, server, desktop computer, embedded device. There are installers for:

* [Ubuntu](ubuntu)
* [Debian](debian)
* [CentOS/Redhat](redhat)
* [FreeBSD](freebsd)
* [Mac OS X](osx)
* [Windows](windows)
* [Linux](linux)
* [Docker](docker)

Alternatively you can install it manually using the instructions below.

## Manual Installation

If you need to install the agent on a system not listed above you'll need to perform a manual installation using one of the binaries from [buildkite-agent’s releases page](https://github.com/buildkite/agent/releases).

Once you have a binary you simply create a bin and builds directory in `~/.buildkite-agent` and copy the binary and `bootstrap.sh` file into place:

```bash
mkdir ~/.buildkite-agent ~/.buildkite-agent/bin ~/.buildkite-agent/builds
cp buildkite-agent ~/.buildkite-agent/bin
cp bootstrap.sh ~/.buildkite-agent/bootstrap.sh
```

You should now be able to start the agent:

```bash
buildkite-agent start --help
```

If your architecture isn’t on the releases page send an email to support and we’ll help you out, our check out the [buildkite-agent’s readme](https://github.com/buildkite/agent#readme) for instructions on how to compile it yourself.

Fix link for Mac OS X installation documentation

Previous link incorrectly pointed to debian, renamed Mac to Mac OS X for consistency with name in side panel.


Togetherness: The Definition

  <% if current_user %>
    Logout | <a href="/users/<%= session[:user_id] %>">View My Profile | Set New Goal | My Friends
  <% else %>
    Login | Create Account
  <% end %>

Togetherness: The Definition

  <% if current_user %>
    Home | <a href="/users/<%= session[:user_id] %>">View My Profile | <a href="/users/<%= session[:user_id] %>/edit">Edit My Profile | Set New Goal | My Friends | Logout
  <% else %>
    Login | Create Account
  <% end %>

Add home and edit profile to nav bar

Add home and edit profile to nav bar


Welcome to Sinatra!

Hello, world!

      File Description
      File Location

      This view file
      <%= __FILE__.gsub(Sinatra::Application.root, '') %>

      The layout file
      <%= File.expand_path('../layout.erb', __FILE__).gsub(Sinatra::Application.root, '') %>

      The current controller
      <%= File.expand_path('../../controllers/index.rb', __FILE__).gsub(Sinatra::Application.root, '') %>

Cats and Dogs
'
    <button class="btn btn-lg btn-success">Signup</button>
    <button class="btn btn-lg btn-success">Login</button>

Add cat and dog images and minimal bootstrap styling


  <% if  @pbcore.image? %>
    <%= tag('img', src: @pbcore.proxy_src) %>
  <% else %>
    <% if  @pbcore.audio? %>
      <%= tag('img', src: @pbcore.thumbnail_src) %>

    <% end %>
    <%= content_tag(@pbcore.video? ? 'video' : 'audio',
                  controls: true,
                  oncontextmenu: 'return false;',
                  width: 400, height: 300,
                  poster: @pbcore.thumbnail_src) do %>
      <% @pbcore.proxy_srcs.each do |src| %>
        <%= tag('source', src: src, type: @pbcore.video? ? 'video/mp4' : 'audio/mp3') %>
      <% end %>

    <% end %>
  <% end %>
  <% if @pbcore.transcript_html_src %>
      <iframe src="<%= @pbcore.transcript_html_src %>">
  <% end %>

  <% if  @pbcore.image? %>
    <%= tag('img', src: @pbcore.proxy_src) %>
  <% else %>
    <% if  @pbcore.audio? %>
      <%= tag('img', src: @pbcore.thumbnail_src) %>

    <% end %>
    <%= content_tag(@pbcore.video? ? 'video' : 'audio',
                  controls: true,
                  oncontextmenu: 'return false;',
                  class: 'col-lg-4 col-md-5 col-sm-6 col-xs-12',
                  poster: @pbcore.thumbnail_src) do %>
      <% @pbcore.proxy_srcs.each do |src| %>
        <%= tag('source', src: src, type: @pbcore.video? ? 'video/mp4' : 'audio/mp3') %>
      <% end %>

    <% end %>
  <% end %>
  <% if @pbcore.transcript_html_src %>
      <iframe id="transcript" src="<%= @pbcore.transcript_html_src %>"
              class="col-lg-8 col-md-7 col-sm-6 col-xs-12"
              frameBorder="0" height="400">
  <% end %>

Use complementary BS classes so that video and transcript span the whole screen, but the video maintains a fairly consistent size.


<%= link_to 'Services', services_path %> > Choose a Service

  <% Service::SERVICES.each do |service, image| %>

      <%= link_to service, new_service_path(service: service) %>
      <%= image %>:latest

  <% end %>

<%= link_to 'Services', services_path %> > Choose a Service

  <% Service::SERVICES.each do |service, image| %>

      <%= link_to service, new_service_path(service: service) %>

  <% end %>

Remove image from here for now

Remove image from here for now


    <%= inline_svg "logo-text.svg", height: 42 %>

Intro

Docs

Docs

Community

Security

Press Kit

        <%= inline_svg "download.svg" %> Download

        <%= inline_svg "github.svg" %> GitHub

    <%= inline_svg "logo-text.svg", height: 42 %>

Intro

Guides

Docs

Community

Security

Press Kit

        <%= inline_svg "download.svg" %> Download

        <%= inline_svg "github.svg" %> GitHub

Fix wrong text for 'Guides' item in sidebar


Sign Up

<form action="/signup" method="post">

    Email:
    <input type="text" name="email" id="email">

    Password:
    <input type="password" name="password" id="password">

    Password Confirmation:
    <input type="password" name="password_confirmation" id="password_confirmation">

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

Sign Up

<form action="/signup" method="post">

        <input type="text" name="email" placeholder="Email">

        <input type="password" name="password" placeholder="Password">

        <input type="password" name="password_confirmation" placeholder="Confirm password">

        <input type="submit">

</form>

        Have an account?
        Log in

Remove labels and add placeholders in form


---
title: Cloud Foundry Concepts
---

Cloud Foundry is an open platform as a service, providing a choice of clouds, developer frameworks, and application services. Cloud Foundry makes it faster and easier to build, test, deploy and scale applications. It is an [open source project](https://github.com/cloudfoundry) and is available through a variety of private cloud distributions and public cloud instances.

This guide presents an overview of how Cloud Foundry works, a discussion of key concepts, and a glossary of terms. Refer to this guide to learn more about Cloud Foundry fundamentals.

## Table of Contents

* [Overview](./overview.html)

* [Cloud Foundry Components](./architecture/index.html)

* [How Applications are Staged](./how-applications-are-staged.html)

* [Zero Downtime Deployment and Scaling Cloud Foundry](./high-availability.html)

* [Orgs, Spaces, Roles, and Permissions](./roles.html)

* [Cloud Foundry Security](./security.html)

* [Stacks](./stacks.html)

* [Glossary](./glossary.html)

---
title: Cloud Foundry Concepts
---

Cloud Foundry is an open platform as a service, providing a choice of clouds, developer frameworks, and application services. Cloud Foundry makes it faster and easier to build, test, deploy and scale applications. It is an [open source project](https://github.com/cloudfoundry) and is available through a variety of private cloud distributions and public cloud instances.

This guide presents an overview of how Cloud Foundry works, a discussion of key concepts, and a glossary of terms. Refer to this guide to learn more about Cloud Foundry fundamentals.

## Table of Contents

* [Overview](./overview.html)

* [Cloud Foundry Components](./architecture/index.html)

* [How Applications are Staged](./how-applications-are-staged.html)

* [Zero Downtime Deployment and Scaling in CF](./high-availability.html)

* [Orgs, Spaces, Roles, and Permissions](./roles.html)

* [Cloud Foundry Security](./security.html)

* [Stacks](./stacks.html)

* [Glossary](./glossary.html)

Update HA name in concepts overview.

Update HA name in concepts overview.