commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
62cc56fb53dcd0df4a21e4ee214063d69ade2bc1 | frontend/app/views/spree/shared/_search.html.erb | frontend/app/views/spree/shared/_search.html.erb | <% @taxons = @taxon && @taxon.parent ? @taxon.parent.children : Spree::Taxon.roots %>
<%= form_tag spree.products_path, :method => :get do %>
<%= select_tag :taxon,
options_for_select([[Spree.t(:all_departments), '']] +
@taxons.map {|t| [t.name, t.id]},
... | <% @taxons = @taxon && @taxon.parent ? @taxon.parent.children : Spree::Taxon.roots %>
<%= form_tag spree.products_path, :method => :get do %>
<%= select_tag :taxon,
options_for_select([[Spree.t(:all_departments), '']] +
@taxons.map {|t| [t.name, t.id]},
... | Fix accessibility errors in search input. | Fix accessibility errors in search input.
[#3374]
Related to #3414
| HTML+ERB | bsd-3-clause | Antdesk/karpal-spree,Antdesk/karpal-spree,Antdesk/karpal-spree |
a6f4d7e3cf541aeb00265eb8c69b2f4450fa4421 | app/views/images/_form.html.erb | app/views/images/_form.html.erb | <%= form_for(@image) do |f| %>
<% if @image.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@image.errors.count, "error") %> prohibited this image from being saved:</h2>
<ul>
<% @image.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
</ul>
... | <%= form_for(@image) do |f| %>
<% if @image.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@image.errors.count, "error") %> prohibited this image from being saved:</h2>
<ul>
<% @image.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
</ul>
... | Add description label and text area | Add description label and text area
| HTML+ERB | mit | Margatroid/uploadstuffto.me,Margatroid/uploadstuffto.me |
94327607b65ab45dc1d8f7c2384a53214b17666b | app/views/verses/index.html.erb | app/views/verses/index.html.erb | <h1>Verses</h1>
<p>Share your favorite Bible verses with the <%= Setting.get(:name, :church) %> family.</p>
<%= render :partial => 'add_verse' %>
<% content_for :sidebar do %>
<h2>Tags</h2>
<div class="tag-cloud">
<% tag_cloud @tags, %w(size1 size2 size3 size4) do |tag, css_class| %>
<%= link_to tag.na... | <% content_for :subnav do %>
<li><%= link_to_function image_tag('plus.png', :alt => 'Add a verse.', :class => 'icon') + ' Add a Verse', "Element.show('add_verse');Element.hide('add_verse_link');$('reference').focus();" %></li>
<% end %>
<h1>Verses</h1>
<p>Share your favorite Bible verses with the <%= Setting.get(:n... | Put add a verse link in subnav on verses listing. | Put add a verse link in subnav on verses listing.
| HTML+ERB | agpl-3.0 | powerchurch/onebody,powerchurch/onebody,tmecklem/onebody,nerdnorth/remote-workers-app,AVee/onebody,calsaviour/onebody,acbilimoria/onebody,moss-zc/sns_shop,seethemhigh/onebody,0612800232/sns_shop,fadiwissa/onebody,mattraykowski/onebody,dorman/onebody,tmecklem/onebody,fadiwissa/onebody,moss-zc/sns_shop,Capriatto/onebody,... |
2895f1ebbc97e1c8b2e44125bbb90c30e397633b | templates/vhost-default.conf.erb | templates/vhost-default.conf.erb | # ************************************
# Default template in module puppetlabs-apache
# Managed by Puppet
# ************************************
NameVirtualHost <%= vhost_name %>:<%= port %>
<VirtualHost <%= vhost_name %>:<%= port %>>
ServerName <%= srvname %>
<% if serveradmin %>
ServerAdmin <%= serveradmin %>
<%... | # ************************************
# Default template in module puppetlabs-apache
# Managed by Puppet
# ************************************
Listen <%= vhost_name %>:<%= port %>
NameVirtualHost <%= vhost_name %>:<%= port %>
<VirtualHost <%= vhost_name %>:<%= port %>>
ServerName <%= srvname %>
<% if serveradmin %... | Add Listen statement to vhost template | Add Listen statement to vhost template
Previously, the vhost-default.conf.erb template didn't include a
Listen statement that told Apache to listen on the required port. This
commit provides that line.
| HTML+ERB | apache-2.0 | guegue/puppetlabs-apache,eputnam/puppetlabs-apache,svanhart/puppetlabs-apache,dzmitryv/puppetlabs-apache,yakatz/puppetlabs-apache,samuelb/puppetlabs-apache,samuelb/puppetlabs-apache,buzzdeee/puppetlabs-apache,bmjen/puppetlabs-apache,gerhardsam/puppetlabs-apache,bmjen/puppetlabs-apache,guegue/puppetlabs-apache,traylenat... |
8c37d55dbd3fd09a8801468629f18dd4b502474d | app/views/admin/people/scoring_sheet.xls.erb | app/views/admin/people/scoring_sheet.xls.erb | license road_number last_name first_name city racing_age team_name road_category mtb_category dh_category track_category cx_category member
<%- @people.each do |person| -%>
<%= to_excel person["license"] -%>
<%= person["road_number"] -%>
<%= to_excel person["last_name"] -%>
<%= to_excel person["first_name"] -%>
<%=... | license road_number last_name first_name city racing_age team_name road_category mtb_category dh_category track_category cx_category member ccx_number
<%- @people.each do |person| -%>
<%= to_excel person["license"] -%>
<%= person["road_number"] -%>
<%= to_excel person["last_name"] -%>
<%= to_excel person["first_name... | Add ccx_number to scoring sheet download | Add ccx_number to scoring sheet download
| HTML+ERB | mit | scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails |
78f775ac179c4044c634fd706e92626ee948115a | app/views/rapidfire/questions/_form.html.erb | app/views/rapidfire/questions/_form.html.erb | <h3>Question</h3>
<%= form_for form, as: :question, url: url, method: method do |f| %>
<%- unless form.errors.empty? %>
<ul>
<%- form.errors.full_messages.each do |message| %>
<li><%= message %></li>
<% end %>
</ul>
<% end %>
<%= f.label :type %>
<%= f.select :type, ::Rapidfire::Qu... | <h3>Question</h3>
<%= form_for form, as: :question, url: url, method: method do |f| %>
<%- unless form.errors.empty? %>
<ul>
<%- form.errors.full_messages.each do |message| %>
<li><%= message %></li>
<% end %>
</ul>
<% end %>
<%= f.label :type %>
<%= f.select :type, ::Rapidfire::Qu... | Add position-field to questions form | Add position-field to questions form
| HTML+ERB | mit | code-mancers/rapidfire,code-mancers/rapidfire,code-mancers/rapidfire |
98924abbdd30d8807f2bec8a55d42aa45e41ef89 | domains-routes.html.md.erb | domains-routes.html.md.erb | ---
title: Creating Domains and Routes
---
If you are an administrator, you can manage custom shared domains and wildcard routes.
For additional information on managing domains and routes, refer to the following topics:
* [Creating Domains and Routes](../devguide/deploy-apps/domains-routes.html)
* [Domains and Share... | Add admin-specific domains and routes topic. | Add admin-specific domains and routes topic.
[#89820792]
| HTML+ERB | apache-2.0 | bridgetkromhout/docs-cf-admin,cf-routing/docs-cf-admin,cloudfoundry/docs-cf-admin,cwest/docs-cf-admin | |
8dae29adab80170d52785e1049cd7b6a092b1563 | app/views/events/show.html.erb | app/views/events/show.html.erb | <h1><%= @event.name %></h1>
<p><%= @event.date.strftime("%m/%d/%y")%></p>
<p><%= @event.time.strftime("%l:%M %p") %></p>
<p><%= @event.location %></p>
<h2>Attendees</h2>
<ul><% @event.attending_users.each do |user| %>
<li><%= user.email%></li>
<% end %></ul>
<% if @event.attending_users.include?(User.find(session[:u... | <h1><%= @event.name %></h1>
<p><%= @event.date.strftime("%m/%d/%y")%></p>
<p><%= @event.time.strftime("%l:%M %p") %></p>
<p><%= @event.location %></p>
<h2>Attendees</h2>
<ul><% @event.attending_users.each do |user| %>
<li><%= user.email%></li>
<% end %></ul>
<% if @event.attending_users.include?(User.find(session[:u... | Change conditional to check for date instead of time | Change conditional to check for date instead of time
| HTML+ERB | mit | mud-turtles-2014/palate,mud-turtles-2014/palate |
d84851cabd4f97fee98744341c0117290546b260 | app/views/users/_user.html.erb | app/views/users/_user.html.erb | <% semantic_form_for @user do |f| %>
<% f.inputs do %>
<%= f.error_messages %>
<%= f.input :username %>
<%= f.input :password %>
<%= f.input :password_confirmation %>
<%= f.input :roles, :as => :check_boxes, :collection => Role.all %>
<%= f.input :backup_server, :hint => 'This user is use... | <% semantic_form_for @user do |f| %>
<% f.inputs do %>
<%= f.error_messages %>
<%= f.input :username %>
<%= f.input :password %>
<%= f.input :password_confirmation %>
<%= f.input :roles, :as => :check_boxes, :collection => Role.all %>
<%= f.input :backup_server, :hint => 'This user is use... | Add a note about mass server assignment, something for the future | Add a note about mass server assignment, something for the future
| HTML+ERB | isc | driehuis/retcon-web,Wijnand/retcon-web,driehuis/retcon-web,driehuis/retcon-web,Wijnand/retcon-web,driehuis/retcon-web |
6bf7f4030c9514075a3bdc15983ae872ad7e804a | cookbooks/tile/templates/default/cleanup-tiles.cron.erb | cookbooks/tile/templates/default/cleanup-tiles.cron.erb | # DO NOT EDIT - This file is being maintained by Chef
MAILTO=admins@openstreetmap.org
<% @directories.each do |directory| -%>
0 1 * * * www-data ionice -c 3 /usr/local/bin/cleanup-tiles <%= directory %>
<% end -%>
| # DO NOT EDIT - This file is being maintained by Chef
MAILTO=admins@openstreetmap.org
<% @directories.each do |directory| -%>
0 * * * * www-data ionice -c 3 /usr/local/bin/cleanup-tiles <%= directory %>
<% end -%>
| Check if tile expiry is needed once an hour | Check if tile expiry is needed once an hour
| HTML+ERB | apache-2.0 | openstreetmap/chef,Firefishy/chef,openstreetmap/chef,Firefishy/chef,openstreetmap/chef,gravitystorm/chef,tomhughes/openstreetmap-chef,gravitystorm/chef,Firefishy/chef,gravitystorm/chef,openstreetmap/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,gravitystorm/chef,t... |
82b060a74d50896f676e9eb08f0a115f7db668c5 | puppet/modules/role/templates/flow/conf.php.erb | puppet/modules/role/templates/flow/conf.php.erb | // see https://www.mediawiki.org/wiki/Extension:Flow
$wgFlowEventLogging = true;
$wgFlowServerCompileTemplates = true; // always recompile in dev mode
$wgFlowContentFormat = 'html'; // Parsoid dependency
$wgFlowOccupyPages = array (
'Talk:Flow QA', // used by Flow extension's browser tests
'Talk:Sandbox',
);
$wgFlowO... | // see https://www.mediawiki.org/wiki/Extension:Flow
$wgFlowAjaxTimeout = 90; // Seconds
$wgFlowEventLogging = true;
$wgFlowServerCompileTemplates = true; // always recompile in dev mode
$wgFlowContentFormat = 'html'; // Parsoid dependency
$wgFlowOccupyPages = array (
'Talk:Flow QA', // used by Flow extension's brows... | Set Flow AJAX timeout to 90 s for development | Set Flow AJAX timeout to 90 s for development
Change-Id: Icb48723cde3eb3b73996e288b1d9e4af5f48e094
| HTML+ERB | mit | HarriAlasi/wiki3dviewer,HarriAlasi/wiki3dviewer,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,HarriAlasi/wiki3dviewer,HarriAlasi/wiki3dviewer,HarriAlasi/wiki3dviewer,HarriAlasi/wiki3dviewer,stuartbman/mediawiki-vagrant,stuartbman/mediawiki-vagrant,HarriAlasi/wiki3dviewer,stuartbman/mediawiki-vagrant,wikimedia... |
8370aa8bd7c42095d62c0cbc65943f14ef675702 | app/views/supporting_pages/show.html.erb | app/views/supporting_pages/show.html.erb | <% page_title edition_page_title(@supporting_page), @policy.title, "Policies " %>
<%= content_tag_for :article, @document, nil, class: "document-page #{@document.type.downcase}" do %>
<header class="block headings-block">
<div class="inner-block floated-children">
<%= render "documents/header",
... | <% page_title edition_page_title(@supporting_page), @policy.title, "Policies " %>
<%= content_tag_for :article, @document, nil, class: "document_page #{@document.type.downcase}" do %>
<header class="block headings-block">
<div class="inner-block floated-children">
<%= render "documents/header",
... | Fix supporting pages using wrong class | Fix supporting pages using wrong class
Introduced in 46170bfe2853406a56fcb204e05a38ea942777cf
| HTML+ERB | mit | alphagov/whitehall,askl56/whitehall,ggoral/whitehall,YOTOV-LIMITED/whitehall,hotvulcan/whitehall,robinwhittleton/whitehall,hotvulcan/whitehall,robinwhittleton/whitehall,ggoral/whitehall,askl56/whitehall,YOTOV-LIMITED/whitehall,ggoral/whitehall,YOTOV-LIMITED/whitehall,hotvulcan/whitehall,hotvulcan/whitehall,ggoral/white... |
6b083f33558922784c35916f2d62f37e163c89a0 | app/views/static_pages/_computer_summary.html.erb | app/views/static_pages/_computer_summary.html.erb | <% img_path = "computers/old/#{computer["name"].parameterize}" %>
<%
uri = URI("#{PortfolioImage::ROOT_PATH}#{img_path}.png")
request = Net::HTTP.new(uri.host)
response = request.request_head(uri.path)
img = response.code.to_i == 200 ? "#{img_path}.png" : "#{img_path}.jpg" %>
<div id="<%= computer["name"].parameteri... | <% img_path = "computers/old/#{computer["name"].parameterize}" %>
<%
begin
uri = URI("#{PortfolioImage::ROOT_PATH}#{img_path}.png")
request = Net::HTTP.new(uri.host)
response = request.request_head(uri.path)
img = response.code.to_i == 200 ? "#{img_path}.png" : "#{img_path}.jpg"
rescue SocketError
img = "#"... | Handle SocketError on _computer_summary partial when image not available | Handle SocketError on _computer_summary partial when image not available
| HTML+ERB | mit | bogardpd/portfolio,bogardpd/portfolio,bogardpd/portfolio |
9c2c7a94290dde7feef272bf4af8a6b11a78536b | app/views/resources/index.html.erb | app/views/resources/index.html.erb | <h1>Welcome to Sorter!</h1>
<p>The perfect place to organize all your web resources on anything coding. And see what others are learning.</p>
<% if user_signed_in? %>
<ul>
<% @resources.each do |resource| %>
<li><%= link_to resource.title, resource_path(resource) %></li>
<% end %>
</ul>
<% end %>
| <h1>Your Resources</h1>
<ul>
<% current_user.resources.each do |resource| %>
<li><%= link_to resource.title, resource_path(resource) %></li>
<% end %>
</ul>
| Fix index to be user specific. | Fix index to be user specific.
| HTML+ERB | mit | abonner1/code_learning_resources_manager,abonner1/code_learning_resources_manager,abonner1/sorter,abonner1/sorter,abonner1/code_learning_resources_manager,abonner1/sorter |
10ad1b4fb5245f10234f8e6000a81ed31bc90249 | app/views/devise/registrations/_edit_form.html.erb | app/views/devise/registrations/_edit_form.html.erb | <%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f| %>
<fieldset>
<h3><%= t('nlt.profile_edit') %></h3>
<%= devise_error_messages! %>
<div><%= f.label :email %><br />
<%= f.email_field :email %></div>
<div><%= f.label :password %> <i>(<... | <%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f| %>
<fieldset>
<h3>
<%= t('nlt.profile_edit') %>
</h3>
<%= devise_error_messages! %>
<div>
<%= f.label :email %><br />
<%= f.email_field :email %>
</div>
<div>
... | Fix indentation in edit profile form | Fix indentation in edit profile form
| HTML+ERB | agpl-3.0 | alabs/nolotiro.org,alabs/nolotiro.org,alabs/nolotiro.org,alabs/nolotiro.org |
74b688eee1a00e90cd49b1d7587c9b006625cb7d | jobs/proxy/templates/route-registrar_ctl.erb | jobs/proxy/templates/route-registrar_ctl.erb | #!/bin/bash
set -e # exit immediately if a simple command exits with a non-zero status
set -u # report the usage of uninitialized variables
JOB_NAME=route-registrar
RUN_DIR=/var/vcap/sys/run/proxy
LOG_DIR=/var/vcap/sys/log/proxy
PIDFILE=$RUN_DIR/route-registrar.pid
CONFIG_FILE=/var/vcap/jobs/proxy/config/route-regis... | #!/bin/bash
set -e # exit immediately if a simple command exits with a non-zero status
set -u # report the usage of uninitialized variables
JOB_NAME=route-registrar
RUN_DIR=/var/vcap/sys/run/cf-mysql-broker
LOG_DIR=/var/vcap/sys/log/cf-mysql-broker
PIDFILE=$RUN_DIR/route-registrar.pid
CONFIG_FILE=/var/vcap/jobs/prox... | Revert "Fix run and log dirs for route-registrar on proxy" | Revert "Fix run and log dirs for route-registrar on proxy"
- Failed in CI. TODO: debug
This reverts commit da72b4f28a1a7a5222531ca5afae1fa387df5d3a.
| HTML+ERB | apache-2.0 | cloudfoundry/cf-mysql-release,cloudfoundry/cf-mysql-release,cloudfoundry/cf-mysql-release,cloudfoundry/cf-mysql-release |
877433b4167f5f92301ab7a0a9ee7bbe1392c952 | app/views/chapters/_form.html.erb | app/views/chapters/_form.html.erb | <%= simple_form_for chapter do |form| -%>
<% if current_user.can_create_chapters? %>
<div class="chapter-admin">
<%= form.input :inactive, :as => :boolean %>
</div>
<% end %>
<%= form.input :name %>
<%= form.input :slug %>
<%= form.input :twitter_url, :label => "Twitter URL" %>
<%= form.input... | <%= simple_form_for chapter do |form| -%>
<% if current_user.can_create_chapters? %>
<div class="chapter-admin">
<%= form.input :inactive, :as => :boolean %>
</div>
<% end %>
<%= form.input :name %>
<%= form.input :slug %>
<%= form.input :twitter_url %>
<%= form.input :facebook_url %>
<%= f... | Remove hard-coded form labels that were breaking i18n | Remove hard-coded form labels that were breaking i18n
| HTML+ERB | agpl-3.0 | awesomefoundation/awesomebits,awesomefoundation/awesomebits,awesomefoundation/awesomebits,awesomefoundation/awesomebits,awesomefoundation/awesomebits |
fb17d2d86cb86065350cceae2ebb00baab67d02c | app/views/layouts/widget.html.erb | app/views/layouts/widget.html.erb | <html>
<head>
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
<link href="/css/annotorious.css" media="all" rel="stylesheet" type="text/css" />
<style>
body {
color: #242424;
font-size: 14px;
font-family: 'Helvetica Neue', Arial, sans-serif;
... | <html>
<head>
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
<%= stylesheet_link_tag "/css/annotorious.css" %>
<style>
body {
color: #242424;
font-size: 14px;
font-family: 'Helvetica Neue', Arial, sans-serif;
}
.picture {
border... | Replace hardcoded JS/CSS urls with Rails helper, to leverage CDN when enabled | Replace hardcoded JS/CSS urls with Rails helper, to leverage CDN when enabled
| HTML+ERB | agpl-3.0 | civio/quienmanda.es,civio/quienmanda.es,AsunaYuukio/quienmanda.es,AsunaYuukio/quienmanda.es,civio/quienmanda.es,AsunaYuukio/quienmanda.es,AsunaYuukio/quienmanda.es,civio/quienmanda.es |
b57ba5002ab3e8e05fce9f250056fd3e4492207e | app/views/people/_person.html.erb | app/views/people/_person.html.erb | <li>
<div class="avatar">
<% if person.image? %>
<%= cdn_image_tag(person.image, size: '60x60', alt: '') %>
<% else %>
<%= image_tag('placeholder.png', size: '60x60', alt: '') %>
<% end %>
</div>
<div class="person-info">
<h2><%= link_to person.name, person_path(person['state'], person... | <li>
<div class="avatar">
<% if person.image? %>
<%= cdn_image_tag(person.image, size: "60x60", alt: "") %>
<% else %>
<%= image_tag("placeholder.png", size: "60x60", alt: "") %>
<% end %>
</div>
<div class="person-info">
<h2><%= link_to person.name, person_path(person["state"], person... | Add new question link when no one has asked one | Add new question link when no one has asked one
Closes #204
| HTML+ERB | agpl-3.0 | opengovernment/askthem,opengovernment/askthem,mapineda/askthem,mapineda/askthem,mapineda/askthem,opengovernment/askthem,opengovernment/askthem,mapineda/askthem |
ed26c0a1a1df280b5a0d58dfd8f219c1a7666cfd | app/assets/javascripts/application.js.coffee.erb | app/assets/javascripts/application.js.coffee.erb | #= depend_on_asset pods_sync_worker.js
#= require bluebird.js
#= require msgpack-js.js
#= require jquery.js
#= require underscore.js
#= require backbone.js
#= require_tree ./templates
#= require_tree ./shared
#= require_tree ./application
@logger = new Logger('app', 'info')
boot = (podsIndex) ->
podsStore = new Pods... | #= depend_on_asset pods_sync_worker.js
#= require bluebird.js
#= require msgpack-js.js
#= require jquery.js
#= require bootstrap.js
#= require underscore.js
#= require backbone.js
#= require_tree ./templates
#= require_tree ./shared
#= require_tree ./application
@logger = new Logger('app', 'info')
boot = (podsIndex) -... | Add bootstrap.js again to enable collapse/expand etc. | Add bootstrap.js again to enable collapse/expand etc.
| HTML+ERB | mit | bsingr/cocoa-tree,bsingr/cocoa-tree,bsingr/cocoa-tree |
4fc239ff05fa79d13a9bb1bbb976ae0778aa5aa4 | app/views/forms/fields/_person_fields.html.erb | app/views/forms/fields/_person_fields.html.erb | <div class="nested-fields">
<div class="row">
<div class="col-sm-3">
<%= f.input :first_name %>
</div>
<div class="col-sm-3">
<%= f.input :last_name %>
</div>
<div class="col-sm-6">
<%= f.input :birth_date %>
</div>
</div>
<div class="row">
<div class="col-sm-6">
... | <div class="nested-fields">
<div class="row">
<div class="col-sm-3">
<%= f.input :first_name %>
</div>
<div class="col-sm-3">
<%= f.input :last_name %>
</div>
<div class="col-sm-6">
<%= f.label :birth_date, "Birth Date" %> <span class="text-danger">*</span>
<div class="fo... | Fix DOB on person fields partial | Fix DOB on person fields partial
| HTML+ERB | mit | on-site/Grantzilla,on-site/Grantzilla,on-site/Grantzilla |
d04e7b2d9935c2f60c2f83b8c1736e2e27bdeab9 | app/views/spree/orders/_digital_links.html.erb | app/views/spree/orders/_digital_links.html.erb | <% size = (digital_links.size > 3 ? 4 : digital_links.size) %>
<% group_size, col_size = [size, 12/size] %>
<% digital_links.in_groups_of(group_size, false).each do |dls| %>
<div class="row">
<% dls.each do |digital_link| %>
<div class='digital-link text-center <%= "col-sm-#{col_size}" %>'>
<div cl... | <% size = (digital_links.size > 3 ? 4 : digital_links.size) %>
<% group_size, col_size = [size, 12/size] %>
<% digital_links.in_groups_of(group_size, false).each do |dls| %>
<div class="row">
<% dls.each do |digital_link| %>
<div class='digital-link text-center <%= "col-sm-#{col_size}" %>'>
<div cl... | Add link to product show in order/digital_links | Add link to product show in order/digital_links
| HTML+ERB | mit | taniarv/spree_digital,taniarv/spree_digital,taniarv/spree_digital |
499ea14c5f2d7d74bf1e775bb2e239ea76a0fafe | app/views/layouts/console.html.erb | app/views/layouts/console.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Console</title>
<%= javascript_include_tag 'http://code.jquery.com/jquery-1.4.2.min.js' %>
<%= javascript_include_tag 'console' %>
<%= stylesheet_link_tag 'console' %>
</head>
<body>
<%= yield %>
</body>
</html>
| <!DOCTYPE html>
<html>
<head>
<title>Console</title>
<%= javascript_include_tag 'http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js' %>
<%= javascript_include_tag 'console' %>
<%= stylesheet_link_tag 'console' %>
</head>
<body>
<%= yield %>
</body>
</html>
| Upgrade jQuery to latest version | Upgrade jQuery to latest version
Get rid of Chrome deprecation messages in its console
| HTML+ERB | mit | rosenfeld/rails-web-console,rosenfeld/rails-web-console |
e4796a6bd45625b258f97d4480d1d7d0c5d6bfe8 | app/views/admin/events/_notify.html.erb | app/views/admin/events/_notify.html.erb | <h2>Notify</h2>
<% if @event.reminders.any? %>
<%= table_for @event.reminders, ["Email", ""] do |reminder| %>
<tr>
<td><%= reminder.email %></td>
<td><%= link_to 'X', admin_event_reminder_path(@event, reminder), method: :delete %></td>
</tr>
<% end %>
<% else %>
No one will be notified...
<% ... | <h2>Notify</h2>
<% if @event.reminders.any? %>
<%= table_for @event.reminders, ["Email", ""] do |reminder| %>
<tr>
<td><%= reminder.email %></td>
<td><%= delete_button admin_event_reminder_path(@event, reminder) %></td>
</tr>
<% end %>
<% else %>
No one will be notified...
<% end %>
| Fix button consistency in the reminders | Fix button consistency in the reminders
| HTML+ERB | mit | sunlightlabs/datajam,sunlightlabs/datajam,sunlightlabs/datajam |
f50a38823add372ab756fb3e1fc16855b284390e | app/views/smithy/assets/_asset.html.erb | app/views/smithy/assets/_asset.html.erb | <div class="col-xs-6 col-md-3">
<div class="thumbnail clearfix">
<%= link_to [:edit, asset] do %>
<% if asset.file_type == :image %>
<%= image_tag asset.file.thumb("340x226#").url, width: 170, height: 114, alt: '' %>
<% elsif asset.file_type == :direct_image %>
<%= image_tag asset.file... | <div class="col-xs-6 col-md-3">
<div class="thumbnail clearfix">
<%= link_to [:edit, asset] do %>
<% if asset.file_type == :image %>
<%= image_tag asset.file.thumb("340x226#").url, width: 170, height: 114, alt: '' %>
<% elsif asset.file_type == :direct_image %>
<%= image_tag asset.file... | Copy the new /smithy/assets/xxx link instead; | Copy the new /smithy/assets/xxx link instead;
| HTML+ERB | mit | sterrym/smithycms,sterrym/smithycms,sterrym/smithycms |
41154c9a981fc0134f3eb0c9c380b97251b4ab5f | app/views/rapidfire/answers/_checkbox.html.erb | app/views/rapidfire/answers/_checkbox.html.erb | <%= render partial: "rapidfire/answers/errors", locals: {answer: answer} %>
<%= f.label :answer_text, answer.question.question_text %>
<%= f.fields_for :answer_text do |af| %>
<%- answer.question.options.each_with_index do |option, index| %>
<%= af.label index do %>
<%= af.check_box index, { checked: check... | <%= render partial: "rapidfire/answers/errors", locals: {answer: answer} %>
<%= f.label :answer_text, answer.question.question_text %>
<%= f.fields_for :answer_text do |af| %>
<%- answer.question.options.each_with_index do |option, index| %>
<%= af.label index do %>
<%= check_box_tag "attempt[#{answer.ques... | Use check_box_tag instead of builder.check_box When using builder.check_box, Rails inserts a hidden field with value 0, which: 1) When we have 0 as a value in our answer choices, chooses the wrong one if they leave any blank 2) When we do not have 0 as a value in our answer choices, it is impossible to pass validation ... | Use check_box_tag instead of builder.check_box
When using builder.check_box, Rails inserts a hidden field with value 0, which:
1) When we have 0 as a value in our answer choices, chooses the wrong one if they leave any blank
2) When we do not have 0 as a value in our answer choices, it is impossible to pass validation ... | HTML+ERB | mit | code-mancers/rapidfire,code-mancers/rapidfire,code-mancers/rapidfire |
5f6ea89111d1ee1c4773c3a49eb5adab134555a2 | app/views/problems/_edit_form.html.erb | app/views/problems/_edit_form.html.erb | <%= form_for(@problem, :validate => true) do |f| %>
<%= f.hidden_field :published_at, :value => Time.now %>
<%= render partial: "problem_form", locals: { f: f } %>
<%= render partial: "problems/solution_form", locals: { f: f } %>
<div id="post_options" class="clearfix"></div>
<div id="button">
<%= f.... | <%= form_for(@problem, :validate => true) do |f| %>
<%= f.hidden_field :published_at, :value => Time.now %>
<%= render partial: "problem_form", locals: { f: f } %>
<%= render partial: "problems/solution_form", locals: { f: f } %>
<div id="post_options" class="clearfix">
<div id="issue_container" class="... | Add issues to edit form, but not selecting current issue | Add issues to edit form, but not selecting current issue
| HTML+ERB | mit | travisvalentine/POP,travisvalentine/POP,travisvalentine/POP |
c1da731afcef50f245ff4f7da2a906f7d2639658 | app/views/questions/_response.html.erb | app/views/questions/_response.html.erb | <div class="response">
<h3><i class="fa fa-user"></i> <%= response.user ? response.user.name : 'Default' %></h3>
<div class="vote">
<div class="votecount"
<span><%= response.votes.count %> <a data-id="<%= response.id %>" class="upvote">↑</a></span>
<p>votes</p>
</div>
</div>
<p><%= r... | <div class="response">
<h3><i class="fa fa-user"></i> <%= response.user ? response.user.name : 'Default' %></h3>
<div class="vote">
<div class="votecount">
<a data-id="<%= response.id %>" class="upvote">↑</a>
<span data-id="<%= response.id %>"> <%= response.votes.count %> votes</span>
</... | Change layout of the children elements in div class=votecount. | Change layout of the children elements in div class=votecount.
| HTML+ERB | mit | great-horned-owls-2014/dbc-what-is-this,great-horned-owls-2014/dbc-what-is-this |
30b9c9475198325f9bb070690a253f042bf43aa5 | modules/govuk/templates/node/s_apt/vhost.conf.erb | modules/govuk/templates/node/s_apt/vhost.conf.erb | server {
# This serves:
# - `apt.cluster` internally.
# - `apt.production.alphagov.co.uk` externally.
server_name apt.*;
root <%= @root_dir -%>/public;
access_log /var/log/nginx/apt-access.log timed_combined;
access_log /var/log/nginx/apt-json.event.access.log json_event;
error_log /var/log/nginx/a... | server {
# This serves:
# - `apt.cluster` internally.
# - `apt.production.alphagov.co.uk` externally.
server_name apt.* apt-origin.*;
root <%= @root_dir -%>/public;
access_log /var/log/nginx/apt-access.log timed_combined;
access_log /var/log/nginx/apt-json.event.access.log json_event;
error_log /va... | Add apt-origin.* server_name to Nginx | Add apt-origin.* server_name to Nginx
We're putting Apt mirrors behind Fastly.
It needs to externally respond to requests fired at both apt.production and
apt-origin.production. The first is the hostname which clients connect to;
the second is for the edge to talk to the origin.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
9a457a8793a2128eeb2f8e65a30fff46e760667e | app/views/gend_images/new.html.erb | app/views/gend_images/new.html.erb | <h1>New Meme</h1>
<%= image_tag(url_for(@gend_image.src_image.src_thumb)) %>
<%= form_for @gend_image, :url => {:action => 'create'} do |f| %>
<%= f.error_messages %>
<%= f.label :src_image_id %>
<%= f.text_field :src_image_id, :value => @gend_image.src_image.id_hash %>
<% focused = false %>
<%... | <h1>New Meme</h1>
<%= image_tag(url_for(@gend_image.src_image.src_thumb)) %>
<%= form_for @gend_image, :url => {:action => 'create'} do |f| %>
<%= f.error_messages %>
<%= f.hidden_field :src_image_id, :value => @gend_image.src_image.id_hash %>
<p>
Source image: <%= @gend_image.src_image.id_hash %>
... | Make source image id on gend image form a hidden field. | Make source image id on gend image form a hidden field.
| HTML+ERB | mit | mmb/meme_captain_web,patrickmcguire/meme,mmb/meme_captain_web,mmb/meme_captain_web,patrickmcguire/meme,mmb/meme_captain_web |
30a996118ee8a75611c48c449a4c3dff58835900 | app/views/mappings/filter.html.erb | app/views/mappings/filter.html.erb | <% breadcrumb(:filter_mappings, @site) %>
<%= content_for :page_title, 'Filter mappings' %>
<h1 class="page-title-with-border">
<span class="small"><%= @site.default_host.hostname %></span>
Filter mappings
</h1>
<%= form_tag(site_mappings_path(@site), method: 'get', role: 'form', class: 'form row') do %>
<div c... | <% breadcrumb(:filter_mappings, @site) %>
<%= content_for :page_title, 'Filter mappings' %>
<h1 class="page-title-with-border">
<span class="small"><%= @site.default_host.hostname %></span>
Filter mappings
</h1>
<%= form_tag(site_mappings_path(@site), method: 'get', role: 'form', class: 'form row') do %>
<div c... | Include tag fields on non-js filter form | Include tag fields on non-js filter form
* Currently duplicates helper text
| HTML+ERB | mit | alphagov/transition,alphagov/transition,alphagov/transition |
b164d9968babdb4dd9b55c909d4fd8b7cb9c7087 | chef/templates/default/linter.conf.erb | chef/templates/default/linter.conf.erb | # Managed by Chef for <%= node[:fqdn] %>
<VirtualHost *:80>
ServerAdmin <%= node['apache']['contact'] %>
ServerAlias <% @params[:server_aliases].each do |a| %><%= a %> <% end %>
DocumentRoot <%= "#{node[:linter][:document_root]}/current/public" %>
SetEnv PATH <%= "#{node[:rbenv][:root]}/shims:/usr/local/bin:/u... | # Managed by Chef for <%= node[:fqdn] %>
<VirtualHost *:80>
ServerAdmin <%= node['apache']['contact'] %>
ServerAlias <% @params[:server_aliases].each do |a| %><%= a %> <% end %>
DocumentRoot <%= "#{node[:linter][:document_root]}/current/public" %>
SetEnv LANG en_US.UTF-8
SetEnv PATH <%= "#{node[:rbenv][:root... | Set LANG environment in VirtualHost definition. | Set LANG environment in VirtualHost definition.
| HTML+ERB | unlicense | rayrc/linter,rayrc/linter,rayrc/linter,structured-data/linter,structured-data/linter,dbs/linter,dbs/linter,structured-data/linter,dbs/linter |
0d51d140040e9a899f1d7f64340878bca0bec38d | templates/kibana.yml.erb | templates/kibana.yml.erb | # This file is managed by Puppet, any changes will be overwritten
<% scope['kibana4::config'].each_key do |key| -%>
<%= key %>: <%= scope['kibana4::config'][key] %>
<% end -%>
| # This file is managed by Puppet, any changes will be overwritten
<% scope['kibana4::config'].keys.sort.each do |key| -%>
<%= key %>: <%= scope['kibana4::config'][key] %>
<% end -%>
| Sort config keys for ruby 1.8 | Sort config keys for ruby 1.8
| HTML+ERB | apache-2.0 | lesaux/puppet-kibana4,madAndroid/puppet-kibana4,lesaux/puppet-kibana4,madAndroid/puppet-kibana4 |
aefaf487c29fd1a6bbd851b9498e60b8ecb4bec7 | app/views/requests/_summarized_active_request.html.erb | app/views/requests/_summarized_active_request.html.erb | <li class="request" data-id="<%= request.id %>">
<div class='row req-summary'>
<div class='small-3 columns'>
<%= image_tag(request.requester.picture, class:"profpic", height:"80", width:"80", align:"left") %>
</div>
<div class='small-9 columns'>
<%= link_to request.requester.first_name, user_p... | Create river-specific view for request | Create river-specific view for request
| HTML+ERB | mit | nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly,kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly | |
ac20fe02d73bea71f54f575922b1a642a0912a09 | app/views/gobierto_admin/gobierto_cms/pages/edit.html.erb | app/views/gobierto_admin/gobierto_cms/pages/edit.html.erb | <% if @collection.container.is_a?(::GobiertoParticipation::Process) %>
<%= render 'gobierto_admin/gobierto_participation/shared/breadcrumb', last_breadcrumb_item: t('gobierto_admin.gobierto_cms.pages.edit.title'), process: @collection.container %>
<h1><%= @collection.container.title %></h1>
<%= render 'gobierto_... | <% if @collection.container.is_a?(::GobiertoParticipation::Process) %>
<%= render 'gobierto_admin/gobierto_participation/shared/breadcrumb', last_breadcrumb_item: t('gobierto_admin.gobierto_cms.pages.edit.title'), process: @collection.container %>
<h1><%= @collection.container.title %></h1>
<%= render 'gobierto_... | Simplify back to process stages from page edition II | Simplify back to process stages from page edition II
| HTML+ERB | agpl-3.0 | PopulateTools/gobierto-dev,PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto,PopulateTools/gobierto,PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto-dev |
03039f53c255985ab2916f6b43ebfe0512d0e5e6 | app/views/active_scaffold_overrides/_show.html.erb | app/views/active_scaffold_overrides/_show.html.erb | <h4><%= active_scaffold_config.show.label(@record.to_label.nil? ? nil : @record.to_label) %></h4>
<%= render :partial => 'show_columns', :locals => {:columns => active_scaffold_config.show.columns} -%>
<p class="form-footer">
<%= link_to as_(:close), main_path_to_return, :class => 'as_cancel', :remote => request.xh... | <%if @record && @record.id%><span class="top_id"><%=@record.id%></span><%end%>
<h4><%= active_scaffold_config.show.label(@record.to_label.nil? ? nil : @record.to_label) %></h4>
<%= render :partial => 'show_columns', :locals => {:columns => active_scaffold_config.show.columns} -%>
<p class="form-footer">
<%= link_to... | Add the id in grey to the top right of the show | Add the id in grey to the top right of the show | HTML+ERB | mit | BookingBug/active_scaffold,BookingBug/active_scaffold,BookingBug/active_scaffold |
8fe92d033eb72244f5bccb3ead7f1baaf7f93fd2 | backend/app/views/spree/admin/shared/_head.html.erb | backend/app/views/spree/admin/shared/_head.html.erb | <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<%= csrf_meta_tags %>
<title>
<% if content_for? :title %>
<%= yield :title %>
<% else %>
<%= "Spree #{Spree.t('administration')}: " %>
<%= Spree.t(controller.controller_name, :default => controller.controller_name.titleize) %>
<%... | <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<%= csrf_meta_tags %>
<title>
<% if content_for? :title %>
<%= yield :title %>
<% else %>
<%= "Solidus #{Spree.t('administration')}: " %>
<%= Spree.t(controller.controller_name, :default => controller.controller_name.titleize) %>
... | Change admin title to solidus | Change admin title to solidus
| HTML+ERB | bsd-3-clause | ckk-scratch/solidus,richardnuno/solidus,Arpsara/solidus,xuewenfei/solidus,scottcrawford03/solidus,scottcrawford03/solidus,jsurdilla/solidus,jordan-brough/solidus,forkata/solidus,pervino/solidus,athal7/solidus,bonobos/solidus,bonobos/solidus,scottcrawford03/solidus,jsurdilla/solidus,forkata/solidus,pervino/solidus,richa... |
f1764fc8e15f66190f44088993f54b51e58eb3dd | app/views/skills/index.html.erb | app/views/skills/index.html.erb | <h1>skills</h1>
<p><%= User.first.name %></p>
<p><%= User.first.skills.first.title %></p>
<%= render "new" %> | <h1>skills</h1>
<p><%= User.first.name %></p>
<p><%= User.first.skills.first.title %></p>
<%= form_for @new_skill do |f| %>
<%= f.text_field :title %>
<%= f.submit "add" %>
<% end %> | Add initial form for adding skills. | Add initial form for adding skills.
| HTML+ERB | mit | costolo/chain,costolo/chain,costolo/chain |
47ffcd14d165dec1002d2db725bf12d079012638 | app/views/effective/qb_web_connector/quickbooks.qwc.erb | app/views/effective/qb_web_connector/quickbooks.qwc.erb | <QBWCXML>
<AppName><%= Rails.application.class.parent_name.upcase %> Web Connector</AppName>
<AppID>{<%= SecureRandom.uuid.upcase %>}</AppID>
<AppURL><%= effective_qb_sync.qb_sync_url(protocol: 'https') %></AppURL>
<AppDescription><%= Rails.application.class.parent_name.upcase %> EffectiveOrders to Quickboo... | <QBWCXML>
<AppName><%= Rails.application.class.parent_name.upcase %> Web Connector</AppName>
<AppID>{<%= SecureRandom.uuid.upcase %>}</AppID>
<AppURL><%= effective_qb_sync.qb_sync_url(protocol: 'https') %></AppURL>
<AppDescription><%= Rails.application.class.parent_name.upcase %> EffectiveOrders to Quickboo... | Use a non-Forbidden AppSupport url | Use a non-Forbidden AppSupport url
| HTML+ERB | mit | code-and-effect/effective_qb_sync,code-and-effect/effective_qb_sync,code-and-effect/effective_qb_sync |
185bd80b3dec4f514ce73dd2613050e054617b19 | source/layouts/_footer.html.erb | source/layouts/_footer.html.erb | <footer>
<p>© <%= Date.today.year %>, <%= link_to "Murtaza Gulamali", "http://www.gulamali.net/", title: "gulamali.net" %>. I made this. Some rights reserved.</p>
</footer>
| <footer>
<p>© <%= Date.today.year %>, <%= link_to "Murtaza Gulamali", "http://www.gulamali.net/", title: "gulamali.net" %>. I made this. Some rights reserved. <a href="https://github.com/mygulamali/mumineen_calendar_js">Fork me on GitHub</a>.</p>
</footer>
| Update footer to refer to repo. | Update footer to refer to repo.
| HTML+ERB | mit | mygulamali/mumineen_calendar_js,mygulamali/mumineen_calendar_js,mygulamali/mumineen_calendar_js,mygulamali/mumineen_calendar_js |
5466613a4d34698e768bef636e8d6c5e0741f86c | templates/qpidd.conf.erb | templates/qpidd.conf.erb | # GENERATED BY PUPPET
#
# Configuration file for qpidd. Entries are of the form:
# name=value
#
# (Note: no spaces on either side of '='). Using default settings:
# "qpidd --help" or "man qpidd" for more details.
port=<%= port %>
max-connections=<%= max_connections %>
worker-threads=<%= worker_threads %>
connection... | # GENERATED BY PUPPET
#
# Configuration file for qpidd. Entries are of the form:
# name=value
#
# (Note: no spaces on either side of '='). Using default settings:
# "qpidd --help" or "man qpidd" for more details.
port=<%= @port %>
max-connections=<%= @max_connections %>
worker-threads=<%= @worker_threads %>
connect... | Use instance instead of local variables in template | Use instance instead of local variables in template
Otherwise, newer Puppet versions will show deprecation warnings.
| HTML+ERB | apache-2.0 | jpoittevin/puppet-qpid,plumgrid/puppet-qpid,dprince/puppet-qpid,jpoittevin/puppet-qpid,plumgrid/puppet-qpid,dprince/puppet-qpid |
49a1c1cdaaf9b72dc4f72e73e1ce3d4e5b02e7a9 | templates/travis.yml.erb | templates/travis.yml.erb | language: ruby
rvm: <%= RUBY_VERSION %>
sudo: false
addons:
- postgresql: '9.3'
cache: bundler
before_install:
- "echo 'gem: --no-document' > ~/.gemrc"
- "echo '--colour' > ~/.rspec"
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
before_script:
- cp .sample.env .env
- bundle exec rake db:creat... | language: ruby
rvm: <%= RUBY_VERSION %>
sudo: false
addons:
postgresql: '9.3'
cache: bundler
before_install:
- "echo 'gem: --no-document' > ~/.gemrc"
- "echo '--colour' > ~/.rspec"
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
before_script:
- cp .sample.env .env
- bundle exec rake db:create ... | Replace addons array by a hash. Postgresql specified version wasn't used. :scream_cat: | Replace addons array by a hash. Postgresql specified version wasn't used. :scream_cat:
| HTML+ERB | mit | craftsmen/roll,craftsmen/roll,craftsmen/roll |
1dc9b82a30504dd9d6b16ab47579476b294373b7 | puppet/templates/ve-config.php.erb | puppet/templates/ve-config.php.erb | // http://www.mediawiki.org/wiki/Extension:VisualEditor#Basic_setup_instructions
$wgVisualEditorNamespaces = array( NS_MAIN );
$wgDefaultUserOptions['visualeditor-enable'] = 1;
$wgVisualEditorParsoidURL = 'http://localhost:<%= scope.lookupvar("mediawiki::parsoid::port") %>';
| // http://www.mediawiki.org/wiki/Extension:VisualEditor#Basic_setup_instructions
$wgVisualEditorNamespaces = array( NS_MAIN, NS_USER );
$wgDefaultUserOptions['visualeditor-enable'] = 1;
$wgVisualEditorParsoidURL = 'http://localhost:<%= scope.lookupvar("mediawiki::parsoid::port") %>';
| Enable VisualEditor on NS_USER by default when role is enabled | Enable VisualEditor on NS_USER by default when role is enabled
NS_USER was accidentally removed in I80c235a1b.
Change-Id: Ie416f844cfa09a2b1a16b0e8a82ebc069da154a1
| HTML+ERB | mit | HarriAlasi/wiki3dviewer,ankita-kumari/mediawiki-vagrant,ankita-kumari/mediawiki-vagrant,ankita-kumari/mediawiki-vagrant,HarriAlasi/wiki3dviewer,wikimedia/mediawiki-vagrant,stuartbman/mediawiki-vagrant,HarriAlasi/wiki3dviewer,wikimedia/mediawiki-vagrant,huit/mediawiki-vagrant,stuartbman/mediawiki-vagrant,huit/mediawiki-... |
03838a9ee165bff2da7713e70ecb945173d60a24 | know-your-values/app/views/pages/_logedin.html.erb | know-your-values/app/views/pages/_logedin.html.erb | <div class='userInfoCont'>
<h4 id='userMsg'>Welcome, <%= current_user.first_name %>!</h4>
<form id='logout' action='/logout' method='GET' >
<button type="submit">Log Out</button>
</form>
<form action='/' method='GET' >
<button type="submit">Home</button>
</form>
<input id='userID' type="hidden" valu... | <div class='userInfoCont'>
<h4 id='userMsg'>Welcome, <%= current_user.first_name %>!</h4>
<%= button_to "Log Out", logout_path, method: :get %>
<%= button_to "Home", root_path, method: :get %>
</div>
| Use button_to for home and logout button. | Use button_to for home and logout button.
| HTML+ERB | mit | haileyR/Know-Your-Values-on-Rails,haileyR/Know-Your-Values-on-Rails,haileyR/Know-Your-Values-on-Rails |
c7c09ea55aa69e722ed2dc95b4b8a570f16020aa | app/views/frontend/flexible_content/_slideshow.html.erb | app/views/frontend/flexible_content/_slideshow.html.erb | <% if object.image_collection && object.slide_interval && object.image_collection.images.any? %>
<% interval = object.autoplay? ? object.slide_interval * 1000 : false %>
<div id="carousel-<%= column.id %>" class="carousel slide" data-ride="carousel" data-interval="<%= interval %>">
<ol class="carousel-indicator... | Add the flexible content slideshow placeholder. | Add the flexible content slideshow placeholder.
| HTML+ERB | mit | udongo/udongo,udongo/udongo,udongo/udongo | |
86afe24ba2d78fd1bbcffd76f69c6194ecff93bc | recycling-helper/app/views/detect_location.html.erb | recycling-helper/app/views/detect_location.html.erb | <script type="text/javascript">
$(document).ready(function() {
console.log("location")
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(
(pos) => {
window.location.replace(
'<%= city_by_location_path %>?' +
'latitude=' + pos.coords.latitud... | <script type="text/javascript">
$(document).ready(function() {
$("#progress").hide()
if (navigator.geolocation) {
$("#progress").show()
navigator.geolocation.getCurrentPosition(
(pos) => {
window.location.replace(
'<%= city_by_location_path %>?' +
'lat... | Add a progress indicator to the root stub page. | Add a progress indicator to the root stub page.
If the user has to wait a few seconds while their location is detected,
they will see a spinning recyling symbol and a message, rather than an
empty page.
| HTML+ERB | mit | hmc-cs-rpan/cs121-recycling,hmc-cs-rpan/cs121-recycling,hmc-cs-rpan/cs121-recycling |
bbcea2e4b0713025753f09ed79010c889d3f767c | lib/views/general/_topnav.html.erb | lib/views/general/_topnav.html.erb | <div id="topnav">
<ul id="navigation">
<li class="selected"><%= link_to _("ABOUT"), help_about_path %></li>
<li class="selected"><%= link_to _("HOW TO ASK THE EU"), help_requesting_path %></li>
<li class="selected"><%= link_to _("SEND A REQUEST"), body_index_path, :class => 'make-request-lin... | <div id="topnav">
<ul id="navigation">
<li class="selected"><%= link_to _("ABOUT"), help_about_path %></li>
<li class="selected"><%= link_to _("HOW TO ASK THE EU"), help_requesting_path %></li>
<li class="selected"><%= link_to _("SEND A REQUEST"), body_index_path, :class => 'make-request-lin... | Fix search link on English topbar (previously only worked from the front page). | Fix search link on English topbar (previously only worked from the front page).
| HTML+ERB | mit | scjody/asktheeu-theme-old |
6638df3afd1666ba4186dccb5e40c947b7145f29 | app/views/products/_new_products_carousel.html.erb | app/views/products/_new_products_carousel.html.erb | <h4 href='<%= products_path %>' class='new-products-carousel-header'>
<a>New Products</a>
<a>See all</a>
</h4>
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<% 6.times do |i| %>
<div class='item <%= 'active' if... | <h4 class='new-products-carousel-header'>
<%= link_to 'New Products', products_path %>
<%= link_to 'See all', products_path %>
</h4>
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<% 6.times do |i| %>
<div class... | Fix links in new products carousel header not working | Fix links in new products carousel header not working
| HTML+ERB | apache-2.0 | tiagofumo/rails-online-store-sample,tiagofumo/rails-online-store-sample,tiagofumo/rails-online-store-sample |
cc35baf50c735ae68caf9971bcc2cd9b2582eacd | site-modules/profile/templates/logstash/filter.conf.erb | site-modules/profile/templates/logstash/filter.conf.erb | filter {
if [fields][apache_log_type] == "access_log" {
grok {
match => { "message" => "%{COMBINEDAPACHELOG}" }
}
date {
match => [ "timestamp" , "dd/MMM/yyyy:HH:mm:ss Z" ]
}
mutate {
add_field => {
"[@metadata][target_index]" => "apache_logs-%{+YYYY.MM.dd}"
}
}... | filter {
if [fields][apache_log_type] == "access_log" {
grok {
match => { "message" => "%{COMBINEDAPACHELOG}( %{NUMBER:duration_ms})?" }
}
date {
match => [ "timestamp" , "dd/MMM/yyyy:HH:mm:ss Z" ]
}
mutate {
add_field => {
"[@metadata][target_index]" => "apache_logs-%{+Y... | Add support an optional duration on apache logs | logstash: Add support an optional duration on apache logs
It will allow to monitor the front responses time per requests.
The conversion of the request and duration fields to integer is
mandatory to use them in some aggregation.
The ES indexes will have to be reindexed if we want to have the full
history.
Related to ... | HTML+ERB | apache-2.0 | SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site |
09c2c73e46b974e33f7d7aab4515510484b4538b | app/views/article/_article_links.html.erb | app/views/article/_article_links.html.erb | <div id="context_wrapper" class="inside-column">
<p>
<%= link_to("Read pages that mention #{@article.title} in all works.",
:controller => 'display',
:action => 'read_all_works',
:article_id => @article.id) %>
</p>
<p><%= link_to("Graph of subjects related to #{@article... | <div id="context_wrapper" class="inside-column">
<p>
<%= link_to("Read pages that mention #{@article.title} in all works.",
:controller => 'display',
:action => 'read_all_works',
:article_id => @article.id) %>
</p>
<p><%= link_to("Graph of subjects related to #{@article... | Remove inter-article links section unless they exist | Remove inter-article links section unless they exist
| HTML+ERB | agpl-3.0 | benwbrum/fromthepage,benwbrum/fromthepage,benwbrum/fromthepage,benwbrum/fromthepage |
0028ed2abbee2e5c3d7122e9115e35fad271f306 | app/views/member/graffities/create.js.erb | app/views/member/graffities/create.js.erb | <% if @graffity.approved && !@graffity.new_record? %>
<% escaped_js = escape_javascript(render(:partial => "member/graffities/graffity", :object => @graffity)) %>
if (jQuery("#graffities").children().length > 0)
jQuery("#graffities").prepend("<%= escaped_js %>");
else
jQuery("#graffities")[0].innerH... | <% if @graffity.approved && !@graffity.new_record? %>
<% escaped_js = escape_javascript(render(:partial => "member/graffities/graffity", :object => @graffity)) %>
if (jQuery("#graffities").children().length > 0)
jQuery("#graffities").prepend("<%= escaped_js %>");
else
jQuery("#graffities").replaceWi... | Add placeholder behaviour to textarea loaded dynamically after create a graffity | Add placeholder behaviour to textarea loaded dynamically after create a graffity
| HTML+ERB | mit | pacoguzman/tog_wall,pacoguzman/tog_wall |
8f63b71e64c0d36fc26d64b50ff5c5f9dfc550e1 | templates/usr/local/sbin/dump-mysql-database.sh.erb | templates/usr/local/sbin/dump-mysql-database.sh.erb | #!/usr/bin/env bash
if [ -z "$1" ]; then
echo "usage: $0 <database>" 1>2&
exit 1
fi
if [ "$EUID" -ne "0" ]; then
echo "This script must be run as root." 1>2&
exit 2
fi
DATABASE="$1"
DUMP_FILE="<%= @backup_dir %>/$DATABASE.sql.gz"
MYSQL_CREDENTIALS="--defaults-file=<%= @backup_mysql_config %>"
MYSQL_OPTS="--s... | #!/usr/bin/env bash
if [ -z "$1" ]; then
echo "usage: $0 <database>" 1>2&
exit 1
fi
if [ "$EUID" -ne "0" ]; then
echo "This script must be run as root." 1>2&
exit 2
fi
DATABASE="$1"
DUMP_FILE="<%= @backup_dir %>/$DATABASE.sql.gz"
MYSQL_CREDENTIALS="--defaults-file=<%= @option_file %>"
MYSQL_OPTS="--skip-opt ... | Fix broken MySQL option file | Fix broken MySQL option file
| HTML+ERB | apache-2.0 | skyscrapers/puppet-duplicity,adamcrews/puppet-duplicity,vorlon/puppet-duplicity,Samgarr/puppet-duplicity,Samgarr/puppet-duplicity,skyscrapers/puppet-duplicity,adamcrews/puppet-duplicity,tohuwabohu/puppet-duplicity,vorlon/puppet-duplicity,tohuwabohu/puppet-duplicity |
c01728fa3d64df6e32856ac9ec2536837ca16aed | templates/layout.html.slim.erb | templates/layout.html.slim.erb | doctype html
html
head
title= page_title
meta charset="utf-8"
= stylesheet_link_tag :application, :media => 'all'
= csrf_meta_tags
body class=body_class
= render 'application/flashes'
= yield
= javascript_include_tag :application
= yield :javascript
| doctype html
html
head
title= page_title
meta charset="utf-8"
= stylesheet_link_tag :application, media: 'all'
= csrf_meta_tags
body class=body_class
= render 'application/flashes'
= yield
= javascript_include_tag :application
= yield :javascript
| Use Ruby 1.9 style hash | Use Ruby 1.9 style hash
| HTML+ERB | mit | blueberryapps/blueberry_rails,blueberryapps/blueberry_rails,m43nu/m43nu_rails,m43nu/m43nu_rails,m43nu/m43nu_rails |
0fc659fd90b7ad929014be365865d6f1bea0e3ca | templates/log4j.properties.erb | templates/log4j.properties.erb | log4j.rootLogger=<%= @log['level'] %>, <%= @log['appenders'].join(',') %>
#
# Console appender
#
log4j.appender.Console=org.apache.log4j.ConsoleAppender
log4j.appender.Console.layout=org.apache.log4j.PatternLayout
log4j.appender.Console.target=System.err
log4j.appender.Console.layout.ConversionPattern=<%= @log['pattern... | # <%= @log %>
log4j.rootLogger=<%= @log['level'] %>, <%= @log['appenders'].join(',') %>
#
# Console appender
#
log4j.appender.Console=org.apache.log4j.ConsoleAppender
log4j.appender.Console.layout=org.apache.log4j.PatternLayout
log4j.appender.Console.target=System.err
log4j.appender.Console.layout.ConversionPattern=<%=... | Debug in the log4j configuration template | Debug in the log4j configuration template
| HTML+ERB | apache-2.0 | jjuarez/puppet-jetty,jjuarez/puppet-jetty |
bd67adba7c194df79589cd95464a0ae8470f48d7 | templates/nginx-services.ctmpl.erb | templates/nginx-services.ctmpl.erb | # NOTE: This is an nginx configuration automatically generated by
# consul-template, there's no point in making manual changes
# to this file.
#
# This expects a key to exist under "consular/<app_id>/location"
# in Consul's KV store. This is used to map a path to a service in
# Nginx. If t... | # NOTE: This is an nginx configuration automatically generated by
# consul-template, there's no point in making manual changes
# to this file.
#
# This expects a key to exist under "consular/<app_id>/location"
# in Consul's KV store. This is used to map a path to a service in
# Nginx. If t... | Fix nginx router template (@jerith) | Fix nginx router template (@jerith)
| HTML+ERB | bsd-3-clause | praekeltfoundation/puppet-seed_stack,praekeltfoundation/puppet-seed_stack |
3ff071bbf843c6c24023e0f548645d76566ddc93 | app/views/curation_concerns/base/_multiple_upload.html.erb | app/views/curation_concerns/base/_multiple_upload.html.erb | <%= render partial: 'curation_concerns/file_sets/upload/alerts', presenter: @presenter %>
<%= render partial: 'curation_concerns/file_sets/upload/form', presenter: @presenter %>
<%= render partial: 'curation_concerns/file_sets/upload/script_templates', presenter: @presenter %>
| <%= render 'curation_concerns/file_sets/upload/alerts', presenter: @presenter %>
<%= render 'curation_concerns/file_sets/upload/form', presenter: @presenter %>
<%= render 'curation_concerns/file_sets/upload/script_templates', presenter: @presenter %>
| Use a more concise call to render | Use a more concise call to render
| HTML+ERB | apache-2.0 | samvera/hyrax,samvera/hyrax,samvera/hyrax,samvera/hyrax |
8b443f8c6c7b0711f95e7e537677eabef77291b7 | cookbooks/munin/templates/default/backup.cron.erb | cookbooks/munin/templates/default/backup.cron.erb | #!/bin/sh
# DO NOT EDIT - This file is being maintained by Chef
T=$(mktemp -d -t -p /var/tmp munin.XXXXXXXXXX)
D=$(date +%Y-%m-%d)
B=munin-$D.tar.gz
mkdir $T/munin-$D
ln -s /var/lib/munin/openstreetmap $T/munin-$D
ln -s /var/lib/munin/*.storable $T/munin-$D
export RSYNC_RSH="ssh -ax"
nice tar --create --dereferenc... | #!/bin/sh
# DO NOT EDIT - This file is being maintained by Chef
T=$(mktemp -d -t -p /var/tmp munin.XXXXXXXXXX)
D=$(date +%Y-%m-%d)
B=munin-$D.tar.gz
mkdir $T/munin-$D
ln -s /var/lib/munin/openstreetmap $T/munin-$D
ln -s /var/lib/munin/*.storable $T/munin-$D
export RSYNC_RSH="ssh -ax"
nice tar --create --dereferenc... | Disable file removed warnings for munin backup | Disable file removed warnings for munin backup
| HTML+ERB | apache-2.0 | zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,zerebubu... |
5e0bbeb5429a391a1278420234d3841a4036f3c2 | app/views/apps/_new.html.erb | app/views/apps/_new.html.erb | <fieldset id="new_app_fieldset">
<legend>Create new App</legend>
<% form_for(app, :url => apps_path) do |f| %>
<%= render :partial => 'form', :locals => {:f => f} %>
<p>
<%= f.submit "Create App" %>
</p>
<% end %>
</fieldset> | <fieldset id="new_app_fieldset">
<legend>Create new App</legend>
<% form_for(app, :url => apps_path) do |f| %>
<%= render :partial => 'shared/form_error', :locals => {:f => f} %>
<%= render :partial => 'form', :locals => {:f => f} %>
<p>
<%= f.submit "Create App" %>
</p>
<% end %>
</fieldset... | Make Create new App form show form errors | Make Create new App form show form errors
| HTML+ERB | mit | jbripley/brazil,jbripley/brazil |
58bd2d1e591c4176d3f70697c3547bc2f1004e12 | lib/app/views/nitpick.erb | lib/app/views/nitpick.erb | <div class="row">
<aside class="span4">
<nav>
<ul class="nav nav-tabs nav-stacked">
<% if language %>
<% if exercises.any? %>
<%= dashboard_assignment_nav(language, 'no-nits') %>
<%= dashboard_assignment_nav(language, 'opinions') %>
<%= dashboard_assign... | <div class="row">
<aside class="span4">
<nav>
<ul class="nav nav-tabs nav-stacked">
<% if language %>
<% if exercises.any? %>
<%= dashboard_assignment_nav(language, 'no-nits') %>
<%= dashboard_assignment_nav(language, 'opinions') %>
<%= dashboard_assign... | Delete reference to missing template | Delete reference to missing template
| HTML+ERB | agpl-3.0 | copiousfreetime/exercism.io,RaptorRCX/exercism.io,chastell/exercism.io,copiousfreetime/exercism.io,nathanbwright/exercism.io,alexclarkofficial/exercism.io,emilyforst/exercism.io,chastell/exercism.io,IanDCarroll/exercism.io,Tonkpils/exercism.io,Tonkpils/exercism.io,beni55/exercism.io,sheekap/exercism.io,k4rtik/exercism.... |
1ca35d7f3104c8e0aab151d32e9c87eadfefac35 | app/views/devise/sessions/new.html.erb | app/views/devise/sessions/new.html.erb | <h2>Log in</h2>
<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
<div><%= f.label :'user id' %><br />
<%= f.text_field :id_string, autofocus: true %></div>
<div><%= f.label :password %><br />
<%= f.password_field :password, autocomplete: "off" %></div>
<% if devise_ma... | <h2>Log in</h2>
<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
<div><%= f.label :'user id' %><br />
<%= f.text_field :id_string, autofocus: true %></div>
<div>
<%= f.label :password %><br />
<%= f.password_field :password, autocomplete: "off" %></div>
<% if devise_map... | Add login info to login page | Add login info to login page
If the rails environment is development then show login information on
the login page which corresponds to seed values for predefined users.
| HTML+ERB | apache-2.0 | patrickspencer/compass-webapp,patrickspencer/compass-webapp,patrickspencer/compass-webapp |
f40c07f8c25c7ff6b0cb2c59ba4eb92b9558eb76 | app/views/georgia/users/_form.html.erb | app/views/georgia/users/_form.html.erb | <fieldset>
<div class="fieldset-help">
<legend><%= icon_tag('user') %> Profile</legend>
</div>
<div class="fieldset-fields">
<%= f.input :first_name %>
<%= f.input :last_name %>
<%= f.input :email %>
</div>
</fieldset>
<fieldset>
<div class="fieldset-help">
<legend><%= icon_tag('lock') %> ... | <fieldset>
<div class="fieldset-help">
<legend><%= icon_tag('user') %> Profile</legend>
</div>
<div class="fieldset-fields">
<%= f.input :first_name %>
<%= f.input :last_name %>
<%= f.input :email %>
</div>
</fieldset>
<fieldset>
<div class="fieldset-help">
<legend><%= icon_tag('lock') %> ... | Use role instead of roles in users form | Use role instead of roles in users form
| HTML+ERB | mit | georgia-cms/georgia,georgia-cms/georgia,georgia-cms/georgia |
ea9bfada1e3e0d2585704778af9251ff79a73292 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>BooksApp</title>
<meta name="description" content="Books App">
<meta name="author" content="Dmitry R... | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>BooksApp</title>
<meta name="description" content="Books App">
<meta name="author" content="Dmitry R... | Add link to go to home at brand layout info. | Add link to go to home at brand layout info.
| HTML+ERB | mit | dmitryrck/books_app,dmitryrck/books_app,dmitryrck/books_app |
e6e99b5912f91f43216c1563f766ef43f75ec03a | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<meta charset="utf8">
<title>中原選課大全</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf8">
<title>中原選課大全</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>... | Fix js function: autoheight() not defined errors | Fix js function: autoheight() not defined errors
| HTML+ERB | mit | atitan/coursenote,atitan/coursenote,atitan/coursenote |
385cec9cffa7f82ee57bdf673ba6b76a83ae0d7f | app/views/categories/_child_categories.html.erb | app/views/categories/_child_categories.html.erb | <% contents.each_with_index do |child_category, i| %>
<section class="category-detail category-detail--<%= i+1 %>">
<h2 id="<%= child_category.id %>">
<%= link_to child_category.title, child_category.path, class: 'category-detail__heading' %>
</h2>
<p><%= child_category.description %></p>
<% i... | <% contents.each_with_index do |child_category, i| %>
<section class="category-detail category-detail--<%= i+1 %>">
<h2 class="category-detail__heading" id="<%= child_category.id %>">
<%= link_to child_category.path, class: '' do %>
<span class="icon icon--plus"></span>
<span class="visually... | Remove back to top link | Remove back to top link
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
d955d234edf23d24e6ba272eca949a6fb07e516e | app/views/spree/admin/authentication_methods/_form.html.erb | app/views/spree/admin/authentication_methods/_form.html.erb | <p data-hook="environment">
<td><%= label_tag nil, t(:environment) %></td>
<td>
<%= collection_select(:authentication_method, :environment, Spree::Configuration.configurations.keys, :to_s, :titleize, {}) %>
</td>
</p>
<%= auth_form.field_container :provider do %>
<%= auth_form.label :provider, t(:social_pr... | <p data-hook="environment">
<td><%= label_tag nil, t(:environment) %></td>
<td>
<%= collection_select(:authentication_method, :environment, Rails.configuration.database_configuration.keys, :to_s, :titleize, {}) %>
</td>
</p>
<%= auth_form.field_container :provider do %>
<%= auth_form.label :provider, t(:so... | Use the Rails.configuration for fetching the available env values. | Use the Rails.configuration for fetching the available env values. | HTML+ERB | bsd-3-clause | DynamoMTL/spree_social,DynamoMTL/spree_social,DynamoMTL/spree_social |
e80b649ce31c8bef2d77e7a79adeef43ad0c8d14 | app/views/character_sheets/edit.html.erb | app/views/character_sheets/edit.html.erb | <%= render 'profiles/profile_navbar' %>
<div class='container'>
<div class='row'>
<div class='col game-system-logo my-5'>
<%= render 'character_sheets/logo_resolver', character_sheet: @character_sheet %>
</div>
</div>
<%= render 'jump_to_sections', character_sheet: @character_sheet %>
<%= form_... | <%= render 'profiles/profile_navbar' %>
<div class='container'>
<%= form_for @character_sheet, as: :character_sheet, url: character_sheet_path(@character_sheet), method: :put do |f| %>
<div class='row'>
<div class='col'>
<hr class='my-5' />
<div class='row align-items-center'>
<div class='... | Add horizontal bars for logo at sheet edit page | Add horizontal bars for logo at sheet edit page
| HTML+ERB | mit | Bor1s/chargen,Bor1s/chargen,Bor1s/chargen |
70d2311ed10291eaa91caeaa201de73537834168 | lib/views/outgoing_mailer/_followup_footer.text.erb | lib/views/outgoing_mailer/_followup_footer.text.erb | <%= _('Disclaimer: This message and any reply that you make will be ' \
'published on the internet. Our privacy and copyright policies:') %>
<%= help_officers_url %>
<%= _('For more detailed guidance on safely disclosing information, read the ' \
'latest advice from the ICO:') %>
<%= ico_guidance_url %>
<... | <%= _('Disclaimer: This message and any reply that you make will be ' \
'published on the internet. Our privacy and copyright policies:') %>
<%= help_officers_url %>
<%= _('For more detailed guidance on safely disclosing information, read the ' \
'latest advice from the ICO:') %>
<%= ico_guidance_url %>
<%... | Add ICO anonymisation URL to outgoing mailer | Add ICO anonymisation URL to outgoing mailer | HTML+ERB | mit | mysociety/whatdotheyknow-theme,mysociety/whatdotheyknow-theme,mysociety/whatdotheyknow-theme |
166f4f57cdb3faa3b101d3497c00df0c746f0672 | app/views/documents/_iframe_embed_code.html.erb | app/views/documents/_iframe_embed_code.html.erb | <div class="DC-embed DC-embed-document DV-container">
<div style="position:relative;padding-bottom:<%= options[:document].inverted_aspect_ratio * 100 %>%;height:0;overflow:hidden;max-width:100%;">
<%= content_tag :iframe, nil, {
src: options[:document].iframe_embed_src_url(data),
title: "Docum... | <div class="DC-embed DC-embed-document DV-container">
<div style="position:relative;padding-bottom:<%= options[:document].inverted_aspect_ratio * 100 %>%;height:0;overflow:hidden;max-width:100%;">
<%= content_tag :iframe, nil, {
src: options[:document].iframe_embed_src_url(data),
title: "#{opt... | Purge curly quotes from iframe embed `title` attr | Purge curly quotes from iframe embed `title` attr
| HTML+ERB | mit | documentcloud/documentcloud,documentcloud/documentcloud,documentcloud/documentcloud,documentcloud/documentcloud |
21115f23d0f03e38e39a873915abbca644e9ea8b | ubuntu/templates/default/etc_hosts.erb | ubuntu/templates/default/etc_hosts.erb | 127.0.0.1 localhost
# auto generated for fr2 internal usage
<%= @proxy_server_ip %> <%= @proxy_server_fqdn %> <%= @proxy_server_alias %>
<%= @static_server_ip %> <%= @static_server_fqdn %> <%= @static_server_alias %>
<%= @worker_server_ip %> <%= @worker_server_fqdn %> <%= @worker_server_alias %>
<%= @database_ip ... | 127.0.0.1 localhost
<% if @node[:chef][:roles].include?('vagrant') %>
127.0.0.1 vagrant-karmic.local vagrant-karmic
<% end %>
# auto generated for fr2 internal usage
<%= @proxy_server_ip %> <%= @proxy_server_fqdn %> <%= @proxy_server_alias %>
<%= @static_server_ip %> <%= @static_server_fqdn %> <%= @static_server_a... | Update for vagrant usage locally | Update for vagrant usage locally | HTML+ERB | apache-2.0 | criticaljuncture/cookbooks,criticaljuncture/cookbooks,criticaljuncture/cookbooks |
3ddf3856a9bac0ccbdc337b9baf48579cc488a04 | templates/roll_layout.html.erb.erb | templates/roll_layout.html.erb.erb | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="ROBOTS" content="NOODP" />
<title><%%= page_title %></title>
<%%= stylesheet_link_tag :application, :media => 'all' %>
<%%= csrf_meta_tags %>
</head>
<body class="<%%= body_class %>">
<%%= render 'flashes' -%>
<%%= yield %>
<%%= render '... | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title></title>
<%= stylesheet_link_tag 'application' %>
<%= csrf_meta_tags %>
</head>
<body>
<%= render 'flashes' -%>
<%= yield %>
<%= re... | Update the default layout template | Update the default layout template
| HTML+ERB | mit | craftsmen/roll,craftsmen/roll,craftsmen/roll |
3c48c558be213ea6d55c65b2365147a6ee740314 | app/views/audios/_audio.html.erb | app/views/audios/_audio.html.erb | <% cache [:links, audio], :expires_in => 7.days do %>
<nav class="panel">
<%= render 'audios/player', url: audio.url, id: audio.id %>
<p class="panel-tabs">
<%= link_to audio.url, rel: 'nofollow', title: "Descargar MP3" do %>
<i class="fas icon-download"></i> mp3
<% end %>
<%= link_t... | <% cache [:links, audio, audio.speech_to_text_status], :expires_in => 7.days do %>
<nav class="panel">
<%= render 'audios/player', url: audio.url, id: audio.id %>
<p class="panel-tabs">
<%= link_to audio.url, rel: 'nofollow', title: "Descargar MP3" do %>
<i class="fas icon-download"></i> mp3
... | Add audio partial cache expiration | Add audio partial cache expiration
| HTML+ERB | mit | jschwindt/Venganzas-del-Pasado,jschwindt/Venganzas-del-Pasado,jschwindt/Venganzas-del-Pasado,jschwindt/Venganzas-del-Pasado |
df5a116cfc853b5945a1095abc4f282977e20310 | app/views/mailbox/index.html.erb | app/views/mailbox/index.html.erb | <h1>User Notifications</h1>
<%= link_to sufia.delete_all_notifications_path,
method: :delete,
class: 'btn btn-danger pull-right',
title: 'Delete all user notifications' do %>
<i class="glyphicon glyphicon-trash"></i> Delete All
<% end %>
<div>
<%= render partial: "mailbox/notific... | <h1>User Notifications</h1>
<%= link_to sufia.delete_all_notifications_path,
method: :delete,
class: 'btn btn-danger pull-right',
title: 'Delete all user notifications' do %>
<i class="glyphicon glyphicon-trash"></i> Delete All
<% end %>
<%= render "mailbox/notifications", messages... | Remove unnecessary div and simplify partial call | Remove unnecessary div and simplify partial call
| HTML+ERB | apache-2.0 | samvera/hyrax,samvera/hyrax,samvera/hyrax,samvera/hyrax |
9625fbf3f8e868e871ad51b6bea7c3995174e189 | app/views/jmd/appearances/_appearance.html.erb | app/views/jmd/appearances/_appearance.html.erb | <%= content_tag :p, class: (appearance.accompaniment? ? "muted" : nil) do %>
<%= content_tag :strong,
link_to_modal(appearance.participant.full_name, :participant, appearance.participant.id) %>,
<%= appearance.instrument.name %>
<%= age_group_badge_tag(appearance) %> (* <%= l appearance.participan... | <%= content_tag :p, class: (appearance.accompaniment? ? "muted" : nil) do %>
<%= content_tag :strong,
link_to_modal(appearance.participant.full_name, :participant, appearance.participant.id) %>,
<%= appearance.instrument.name %>
<%= age_group_badge_tag(appearance) %> (* <%= l appearance.participan... | Use refactored participant info modal partial also when rendering appearances | Use refactored participant info modal partial also when rendering appearances
| HTML+ERB | mit | richeterre/jumubase-rails,richeterre/jumubase-rails,richeterre/jumubase-rails |
89d8257585a92147b65ee51c4d9e10229be846a6 | app/views/layouts/application/_footer.html.erb | app/views/layouts/application/_footer.html.erb | <footer class="main-footer">
<p>
© <%= current_year %> Dom McKellar
<a href="https://github.com/Dom-Mc" target="_blank">
<i class="fa fa-github-square fa-lg" aria-hidden="true"></i>
</a>
<a href="https://www.linkedin.com/in/dommckellar" target="_blank">
<i class="fa fa-linkedin-s... | <footer class="main-footer">
<p>
© <%= current_year %> Dom McKellar
<a href="https://github.com/Dom-Mc" target="_blank">
<i class="fa fa-github-square fa-lg" aria-hidden="true"></i>
</a>
<a href="https://www.linkedin.com/in/dommckellar" target="_blank">
<i class="fa fa-linkedin-s... | Add twitter and facebook links | Add twitter and facebook links
| HTML+ERB | mit | Dom-Mc/fetch_it,Dom-Mc/fetch_it,Dom-Mc/fetch_it |
e5f13f979e10448ef027a11055e6038f500d86f0 | views/index.erb | views/index.erb | <style>
body {
font-family: 'Roboto', sans-serif;
font-size: 16px;
}
</style>
<div class="container">
<div class="col">
<div class="row">
<h2>Posts</h2>
<hr>
</div>
</div>
</div>
<div class="container">
<div class="col">
<div class="row">
<article>
<header>
... | <style>
body {
font-family: 'Roboto', sans-serif;
font-size: 16px;
}
</style>
<div class="container">
<div class="col">
<div class="row">
<h2>Posts</h2>
<hr>
</div>
</div>
</div>
<div class="container">
<div class="col">
<div class="row">
<article>
<header>
... | Add better paragraph formatting for post | Add better paragraph formatting for post
| HTML+ERB | mit | JordanRushing/roda-sequel-puma-heroku-app,JordanRushing/roda-sequel-puma-heroku-app |
9293875be190dda783eaacf4b2d4691c4f4f1607 | lib/app/views/submissions/edit_nit.erb | lib/app/views/submissions/edit_nit.erb | <div class="container">
<section class="page-header">
<h1>Edit Nitpick</h1>
</section>
<section>
<form action="/submissions/<%= submission.key %>/nits/<%= nit.id %>" method='POST'>
<<<<<<< HEAD
<%= erb :"submissions/comment", locals: {nit: nit} %>
<button type="submit" name="nitpick" class="bt... | <div class="container">
<section class="page-header">
<h1>Edit Nitpick</h1>
</section>
<section>
<form action="/submissions/<%= submission.key %>/nits/<%= nit.id %>" method='POST'>
<%= erb :"submissions/comment", locals: {nit: nit} %>
<div>
<button type="submit" class="btn btn-primary"... | Remove conflict markers from edit page | Remove conflict markers from edit page
| HTML+ERB | agpl-3.0 | IanDCarroll/exercism.io,emilyforst/exercism.io,sheekap/exercism.io,beni55/exercism.io,copiousfreetime/exercism.io,IanDCarroll/exercism.io,IanDCarroll/exercism.io,hanumakanthvvn/exercism.io,nathanbwright/exercism.io,Tonkpils/exercism.io,sheekap/exercism.io,sheekap/exercism.io,nathanbwright/exercism.io,copiousfreetime/ex... |
e0b2af6906388e38dc8dffd387296a2bca5c1c28 | app/views/aq_repositories/show.html.erb | app/views/aq_repositories/show.html.erb | <div id="repository">
<%= render "infos", :repository => @repository %>
<div class="repository">
<%= render "people", :repository => @repository %>
<%= render "desc", :repository => @repository %>
<div id="files">
<% if @repository.branches.size != 0 %>
<%= render "files", :repository => @repository %>
... | <div id="repository">
<%= render "infos", :repository => @repository %>
<div class="repository">
<%= render "people", :repository => @repository %>
<%= render "desc", :repository => @repository %>
<div id="files">
<% if @repository.branches.size != 0 %>
<%= render "files", :repository => @repository %>
... | Move the div into the if condition, avoid always displaying of the div | Move the div into the if condition, avoid always displaying of the div
| HTML+ERB | mit | mcansky/aq3,mcansky/aq3 |
3878c6f3fac41e74fa24386ebf60bbfe0c43d0f1 | app/views/shared/_social_cards.html.erb | app/views/shared/_social_cards.html.erb | <% title ||= "GRID-Arendal Website" %>
<% description ||= "GRID-Arendal is a Norwegian foundation working closely with the United Nations Environment. We are working on projects all around the world on biodiversity, environmental crime, climate change and Indigenous Peoples." %>
<% img_src ||= image_path("header#{[1,2,... | <% title ||= "GRID-Arendal Website" %>
<% description ||= "GRID-Arendal is a Norwegian foundation working closely with the United Nations Environment. We are working on projects all around the world on biodiversity, environmental crime, climate change and Indigenous Peoples." %>
<% img_src ||= image_url("header#{[1,2,3... | Use URL for complete path | Use URL for complete path
| HTML+ERB | mit | Vizzuality/grid-arendal,Vizzuality/grid-arendal,Vizzuality/grid-arendal |
aa44472b50dd36b942448ca13149128118c41265 | app/views/users/users/settings.html.erb | app/views/users/users/settings.html.erb | <%= form_for @user, url: user_update_settings_path, method: 'POST', html: { class: 'form-group m-settings-form' } do |f| %>
<h1 class="center-block">Settings</h1>
<p><strong>Email address:</strong></p>
<p><%= f.email_field :email, class: 'form-control' %></p>
<p><strong>Please select which repos you would like to w... | <%= form_for @user, url: user_update_settings_path, method: 'POST', html: { class: 'form-group m-settings-form' } do |f| %>
<h1 class="center-block">Settings</h1>
<p><strong>Email address:</strong></p>
<p><%= f.email_field :email, class: 'form-control' %></p>
<p><strong>Please select which repos you would like to w... | Add a few rows to the view | Add a few rows to the view
| HTML+ERB | mit | raquelxmoss/NaNoWriMeter,raquelxmoss/NaNoWriMeter,raquelxmoss/NaNoWriMeter |
7f2cb8f1afbd1d8286a83655f8ee0c7dbe3f413c | source/views/layouts/govuk_admin_foundation.html.erb | source/views/layouts/govuk_admin_foundation.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Title</title>
<%= yield :head %>
</head>
<body>
<%= yield :body %>
</body>
</html>
| Create an example admin template | Create an example admin template
| HTML+ERB | mit | fofr/govuk_admin_foundation,fofr/govuk_admin_foundation | |
fa8f73c49732b2d601dd1c40ad7fd8f984cdbd96 | app/views/accounts/new.html.erb | app/views/accounts/new.html.erb | <div id="registration" class="container clearfix">
<div class="container_heading"><h2>Create Your Own Appointment System</h2></div>
<div class="container_content clearfix">
<div class="inner clearfix">
<% semantic_form_for @account do |f| %>
<% f.inputs do %>
<%= f.input :title %>
... | <% title "Create Your FREE Appointment System" %>
<div id="registration" class="container clearfix">
<div class="container_heading"><h2>Create Your Own Appointment System</h2></div>
<div class="container_content clearfix">
<div class="inner clearfix">
<% semantic_form_for @account do |f| %>
<% f.i... | Set the page title for account/new | Set the page title for account/new
| HTML+ERB | mit | bitfluent/wheneva,bitfluent/wheneva |
e9516f7a4935802ab37e6110e279ab30f99957c8 | app/views/parties/show.html.erb | app/views/parties/show.html.erb | <div class="page-header">
<h1>
<%= @party.name %>
<small><%= render partial: "representative_search", locals: { representatives: @party.representatives } %></small>
</h1>
</div>
<div class="container-fluid">
<div class="row-fluid">
<div class="span4">
<%= image_tag @party.large_logo, alt: "#{@p... | <div class="page-header">
<h1>
<%= @party.name %>
<small><%= render partial: "representative_search", locals: { representatives: @party.representatives } %></small>
</h1>
</div>
<div class="container-fluid">
<div class="row-fluid">
<div class="span4">
<%= image_tag @party.image_with_fallback.t... | Tweak rows and logo size on representative page. | Tweak rows and logo size on representative page.
| HTML+ERB | bsd-3-clause | holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site |
e1d8faaf58d6af36271b0d322d9d08b990748f92 | app/views/projects/_project.erb | app/views/projects/_project.erb | <div class="project-teaser card col s12 m4 l3">
<div class="card-content">
<span class="title card-title"><%= link_to project.title, project_path(project)%> </span>
(<p>Location: <%= project.creator.city %>, <%= project.creator.state %></p>)
<p><%= project.description %></p>
<p>Project Lead: <%= proje... | <div class="project-teaser card col s12 m4 l3">
<div class="card-content">
<span class="title card-title"><%= link_to project.title, project_path(project)%> </span>
(<p>Location: <%= project.creator.city %>, <%= project.creator.state %></p>)
<p><%= project.description %></p>
<p>Project Lead: <%= proje... | Fix p tag to display project location | Fix p tag to display project location
| HTML+ERB | mit | Jguzik83/the-hive,ChristineSchatz/the-hive,AlinaJahnes/the-hive,nyc-bumblebees-2015/the-hive,ChristineSchatz/the-hive,AlinaJahnes/the-hive,ChristineSchatz/the-hive,Jguzik83/the-hive,nyc-bumblebees-2015/the-hive,Jguzik83/the-hive,AlinaJahnes/the-hive,nyc-bumblebees-2015/the-hive |
d614e536a17102bf3f1204de70493e77dc3ed607 | app/views/search/index.html.erb | app/views/search/index.html.erb | <section id="content" role="main" class="group search ancillary">
<div class="search-container group">
<%= render partial: 'form' %>
<div class="group">
<div class="results">
<div class="results-wrapper">
<ul class="results-list">
<%= render collection: @results, partial:... | <section id="content" role="main" class="group search ancillary">
<div class="search-container group">
<%= render partial: 'form' %>
<div class="group">
<div class="results">
<div class="results-wrapper">
<ul class="results-list">
<%= render collection: @results, partial:... | Put JSON link into headers properly | Put JSON link into headers properly
| HTML+ERB | mit | alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend |
80a8e42df16cd7a4cb39a8188cd6cba45c6e9d35 | app/views/blog/index.html.erb | app/views/blog/index.html.erb | <% @page_title = "Git - Blog Moved" %>
<div id="main">
<h1>Moved!</h1>
<p>Technical content that was previously found in the blog section of this site has been integrated into the <a href="/book">second edition of the Pro Git book</a>.
</div>
| <% @page_title = "Git - Blog Moved" %>
<div id="main">
<h1>Moved!</h1>
<p>Technical content that was previously found in the blog section of this site has been integrated into the <%= link_to('second edition of the Pro Git book', controller: 'books', action: 'show') %>.
</div>
| Change direct url to use rails reverse routing | Change direct url to use rails reverse routing | HTML+ERB | mit | Mokolea/git-scm.com,git/git-scm.com,mosoft521/gitscm-next,mosoft521/gitscm-next,Mokolea/git-scm.com,git/git-scm.com,Mokolea/git-scm.com,mosoft521/gitscm-next,Mokolea/git-scm.com,git/git-scm.com,mosoft521/gitscm-next,git/git-scm.com |
c77e69f4aa2a11c92ab7cfe29af5e08a9b5063a7 | app/views/users/show.html.erb | app/views/users/show.html.erb | <h1><%= @user.name %></h1>
<nav aria-label="...">
<ul class="pager">
<li><a href="#" class="js-previous">Next family member's payments...</a></li>
</ul>
</nav>
<div class="row">
<div class="col-md-6 col-md-offset-3">
<h3>Your payments include the following...</h3>
<ul>
<% @user.payments.each d... | <h1 class="name"><%= @user.name %></h1>
<nav aria-label="...">
<ul class="pager">
<li><a href="#" class="js-previous" plan-id="<%= @user.current_plan.id %>" user-id="<%= @user.id %>">Next family member's payments...</a></li>
</ul>
</nav>
<div class="row">
<div class="col-md-6 col-md-offset-3">
<h3>Your ... | Add javascript to attempt to render show resource | Add javascript to attempt to render show resource
| HTML+ERB | mit | crwhitesides/deliberate_finances_app,crwhitesides/deliberate_finances_app,crwhitesides/deliberate_finances_app |
9f7d11ea0724e78a26d77a4302a25229771919a0 | overtime/app/views/layouts/application.html.erb | overtime/app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Overtime</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<div class="container">
<div class="row">
... | <!DOCTYPE html>
<html>
<head>
<title>Overtime</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<div class="container">
<div class="row">
... | Fix growl notifications for all flash hash values | Fix growl notifications for all flash hash values
| HTML+ERB | mit | adamahrens/RailsExploration,adamahrens/RailsExploration,adamahrens/RailsExploration,adamahrens/RailsExploration |
22fdc743f93d2af2d412289329fa74b646d9d3bd | app/views/koi/application/_twitter_feed.html.erb | app/views/koi/application/_twitter_feed.html.erb | <% if Translation.find_by_key('site.twitter.query') %>
<% content_for :side do %>
<% content_for :head do %>
<script type="text/javascript">
jQuery(function($){
$("#twitter-query").tweet({
avatar_size: 32,
count: 5,
query: "<%= Translation.find_by_key('s... | <% twitter_username = Translation.find_by_key('site.twitter.username').try(:value) %>
<% twitter_query = Translation.find_by_key('site.twitter.query').try(:value) %>
<% if twitter_username.present? || twitter_query.present? %>
<% content_for :head do %>
<script type="text/javascript">
jQuery (function ... | Allow twitter name to be used with jquery.tweet | Allow twitter name to be used with jquery.tweet
| HTML+ERB | mit | katalyst/koi,katalyst/koi,katalyst/koi |
8dd7f687e0963a3155aedc0916569e7eba024640 | app/views/assignments/edit.html.erb | app/views/assignments/edit.html.erb | <% content_for :page_title, t(:edit_assignment, "Edit Assignment") %>
<% content_for :right_side do %>
<%= render "shared/wiki_sidebar" %>
<% end %>
<%
css_bundle :assignments, :assignments_edit, :tinymce
js_bundle :assignment_edit
%>
<div id="edit_assignment_header" class="header-bar">
</div>
<div id="edit_as... | <% if @assignment.title.nil? %>
<% content_for :page_title, t("Create Assignment") %>
<% else %>
<% content_for :page_title, t("Edit Assignment") %>
<% end %>
<% content_for :right_side do %>
<%= render "shared/wiki_sidebar" %>
<% end %>
<%
css_bundle :assignments, :assignments_edit, :tinymce
js_bundle :assi... | Fix title for assignment create page to match expected value | Fix title for assignment create page to match expected value
fixes CNVS-25668
test plan:
- Create new assignment
- Ensure title on tab is "Create Assignment"
- Save assignment
- Edit Assignment
- Ensure title on tab is "Edit Assignment"
Change-Id: Ic64cee244ff0da31299679108b72b3f488bb0c99
Reviewed-on: https://gerrit... | HTML+ERB | agpl-3.0 | fronteerio/canvas-lms,matematikk-mooc/canvas-lms,dgynn/canvas-lms,redconfetti/canvas-lms,matematikk-mooc/canvas-lms,sfu/canvas-lms,dgynn/canvas-lms,roxolan/canvas-lms,djbender/canvas-lms,grahamb/canvas-lms,grahamb/canvas-lms,sfu/canvas-lms,redconfetti/canvas-lms,SwinburneOnline/canvas-lms,instructure/canvas-lms,djbende... |
7cfd5725bb3ba9f2b0c84536f75a475fc539b462 | app/views/collections/show.html.erb | app/views/collections/show.html.erb | <%= link_to 'Delete Collection', @collection, method: :delete %>
<h1>Collection: <%= @collection.name %></h1>
<% @code_snippets.each do |code_snippet| %>
<p><h3>Github Path: </h3><%= code_snippet.path %></p>
<p><h3>Github Url: </h3>
<p><a href="<%= code_snippet.code_url %>"><%= code_snippet.code_url %></a></p>
... | <% if current_user %>
<%= link_to 'Delete Collection', @collection, method: :delete %>
<% end %>
<h1>Collection: <%= @collection.name %></h1>
<% @code_snippets.each do |code_snippet| %>
<p><h3>Github Path: </h3><%= code_snippet.path %></p>
<p><h3>Github Url: </h3>
<p><a href="<%= code_snippet.code_url %>"><%=... | Add restrictions for collection deletion | Add restrictions for collection deletion
| HTML+ERB | mit | chi-bobolinks-2015/sift,chi-bobolinks-2015/sift,chi-bobolinks-2015/sift |
4926237a25ed6bf71dd968779d6755c83307235a | app/views/shared/_side_bar.html.erb | app/views/shared/_side_bar.html.erb | <div id = "left-column-wrapper">
<div id="news_feed">
<h1>News Feed</h1>
<%= link_to 'view all', news_articles_path, class: 'view-all' %>
<ul>
<% @news_articles.each do |news_article| %>
<li><%= link_to news_article.title, news_article_path( news_article ) %></li>
<% end %>
</ul>
</d... | <div id = "left-column-wrapper">
<div id="news_feed">
<h1>News Feed</h1>
<%= link_to 'view all', news_articles_path, class: 'view-all' %>
<ul>
<% @news_articles.each do |news_article| %>
<li><%= link_to news_article.title, news_article_path( news_article ) %></li>
<% end %>
</ul>
</d... | Fix read more link in feature article sidebar | Fix read more link in feature article sidebar
| HTML+ERB | mit | CollegeSTAR/collegestar_org,CollegeSTAR/collegestar_org,CollegeSTAR/collegestar_org |
34a25b1d0038112388383c540c6ebdbb8e48d4cf | app/views/applicant_mailer/application_submission.html.erb | app/views/applicant_mailer/application_submission.html.erb | <p>Hello,</p>
<p>
Your application to start a Hack Club at <%= @application.high_school_name %>
has been submitted for review.
</p>
<p>
We do our best to review applications as soon as possible. You can expect to
receive a response from us within a week. If you have any questions, please
email us at <%= mail_to 'appl... | <p>Hello,</p>
<p>
Your application to start a Hack Club at <%= @application.high_school_name %>
has been submitted for review.
</p>
<p>
There are 4 Steps to joining Hack Club:
<ol>
<li><b>Apply<b> <i><--(you are here)</i></li>
<li>Join Slack</li>
<li>Onboarding Call</li>
<li>First Meeting!</li>
</ol>
We'll ... | Add 4 Steps of Joining Hack Club | Add 4 Steps of Joining Hack Club | HTML+ERB | mit | hackclub/api,hackclub/api,hackclub/api |
818d3b678b1cab49bb8de04183b9cd583d6e7eb9 | modules/govuk/templates/node/s_management/jenkins.conf.erb | modules/govuk/templates/node/s_management/jenkins.conf.erb | server {
listen 80;
server_name ci.alphagov.co.uk;
location / {
proxy_pass http://localhost:8080;
}
}
| server {
listen 80;
server_name ci.alphagov.co.uk;
location / {
proxy_pass http://localhost:8080;
location /api/json {
add_header "Access-Control-Allow-Origin" "*";
add_header "Access-Control-Allow-Methods" "GET, POST, OPTIONS";
add_header "Access-Control-Allow-Headers" "origin, autho... | Enable CORS requests against the Jenkins JSON API | Enable CORS requests against the Jenkins JSON API
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
7782500e3258304cc813ca688ee749b5d7fce740 | templates/class_layout.html.erb | templates/class_layout.html.erb | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><%= @name || 'Home' %></title>
<base id="base_target"></base>
</head>
<body>
<script type="text/javascript" charset="utf-8">
if (window.top.frames.main) {
document.getElementByI... | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><%= @name || 'Home' %></title>
<base id="base_target"></base>
</head>
<body>
<script type="text/javascript" charset="utf-8">
if (window.top.frames.main) {
document.getElementByI... | Add method to class template | Add method to class template
| HTML+ERB | mit | linc01n/rapi_doc |
b162dd8f883eed6abf16afd7d922a12e98a6c49b | app/views/about/_directions_modal.html.erb | app/views/about/_directions_modal.html.erb | <div id='desktop-modal-directions' class='modal'>
<div class='modal-content'>
<div class="pure-g">
<div class="pure-u-1">
<h2>How to play:</h2>
<p>Click on the artist you prefer. Click skip if you'd like a new matchup.
Keyboard arrows also work; right and left for votes, down to ski... | <div id='desktop-modal-directions' class='modal'>
<div class='modal-content'>
<div class="pure-g">
<div class="pure-u-1">
<h2>How to play:</h2>
<p>Click on the artist you prefer. Click skip if you'd like a new matchup.
Keyboard arrows also work; right and left for votes, down to skip... | Change a thing to get travis to test again and hopefully not fail due to random Faker bs | Change a thing to get travis to test again and hopefully not fail due to random Faker bs
| HTML+ERB | mit | pdynowski/best-thing-ever,pdynowski/best-thing-ever,pdynowski/best-thing-ever |
3e1af8b9866abacf6a593b2e2d07368449abb184 | app/views/admin/races/create_result.js.erb | app/views/admin/races/create_result.js.erb | jQuery('#results_table').html('<%= escape_javascript(edit_results_table(@race)) %>');
jQuery('#result_<%= @result.id %>_row').highlight();
| jQuery('#results_table').html('<%= escape_javascript(edit_results_table(@race)) %>');
| Remove highlight() call that didn't do what we want | Remove highlight() call that didn't do what we want
| HTML+ERB | mit | scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails |
7a3d01e794231169ed3af01c458017805fb56bea | app/views/nexaas/async/collector/async_resource/show.js.erb | app/views/nexaas/async/collector/async_resource/show.js.erb | <% if @result.content_is_ready? %>
clearInterval(window.nexaas_async_interval);
<% if @result.is_file? %>
$('#js-nexaas-async-collector-loading-<%= @unique_id %>').remove();
window.location.href = '<%= async_resource_path(params[:id], format: @result.extension) %>';
<% else %>
$('#js-nexaas-async-col... | <% if @result.content_is_ready? %>
clearInterval(window.nexaas_async_interval);
<% if @result.is_file? %>
$('#js-nexaas-async-collector-loading-<%= @unique_id %>').remove();
window.location.href = '<%= nexaas_async_collector.async_resource_path(params[:id], format: @result.extension) %>';
<% else %>
... | Remove DEPERECATION warning and fix bug when trying to generate and download data through browser | Remove DEPERECATION warning and fix bug when trying to generate and download data through browser
| HTML+ERB | mit | myfreecomm/nexaas-async-collector,myfreecomm/nexaas-async-collector,myfreecomm/nexaas-async-collector |
a71e8669fae057aa857a7293b7a494a500f379c2 | templates/suspenders_layout.html.erb.erb | templates/suspenders_layout.html.erb.erb | <!DOCTYPE html>
<html lang="<%= I18n.locale %>">
<head>
<meta charset="utf-8" />
<meta name="ROBOTS" content="NOODP" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<%%#
Configure default and controller-, and view-specific titles in
config/locales/en.yml. For ... | <!DOCTYPE html>
<html lang="<%= I18n.locale %>">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<%%#
Configure default and controller-, and view-specific titles in
config/locales/en.yml. For more see:
https://github.com/calebtho... | Remove noodp robots meta tag | Remove noodp robots meta tag
The Open Directory Project has closed down.
| HTML+ERB | mit | welaika/welaika-suspenders,welaika/welaika-suspenders,delphaber/suspenders,thoughtbot/suspenders,delphaber/suspenders,mukkoo/welaika-suspenders,thoughtbot/suspenders,mukkoo/welaika-suspenders,delphaber/suspenders,mukkoo/welaika-suspenders,welaika/welaika-suspenders,thoughtbot/suspenders |
fb19fba2763fc176dc201007b920c4a7453cf1c9 | app/views/child_benefit_tax/_starting_child.html.erb | app/views/child_benefit_tax/_starting_child.html.erb | <div class="date_selection">
<label>Start date</label>
<%= select_date (child ? child.start_date : nil), :prefix => "starting_children[#{index}][start]",
:prompt => {:day => "Day", :month => "Month", :year => "Year" }, :order => [:day, :month, :year],
:start_year => 20.years.ago(Date.today).year, :end_year... | <div class="date_selection">
<label>Start date</label>
<%= select_date (child ? child.start_date : nil), :prefix => "starting_children[#{index}][start]",
:prompt => {:day => "Day", :month => "Month", :year => "Year" }, :order => [:day, :month, :year],
:start_year => 20.years.ago(Date.today).year, :end_year... | Add 3 future years to start date | Add 3 future years to start date
| HTML+ERB | mit | mikeee/z_archived-calculators,mikeee/z_archived-calculators,mikeee/z_archived-calculators,mikeee/z_archived-calculators |
52ae45699d15c58565549731120553d2adb1db4d | app/views/efforts/_efforts_list_participant.html.erb | app/views/efforts/_efforts_list_participant.html.erb | <%# Requires parameter efforts %>
<table class="table table-condensed table-striped">
<thead>
<tr>
<th><%= "#{@participant.full_name}'s efforts:" %></th>
<th>From</th>
<th class="text-right">Finish Time</th>
<% if @current_user && @current_user.admin? %>
<th class="text-right">Actions</th>
... | <%# Requires parameter efforts %>
<table class="table table-condensed table-striped">
<thead>
<tr>
<th><%= "#{@participant.full_name}'s efforts:" %></th>
<th>From</th>
<th class="text-right">Finish Time</th>
<% if @current_user && @current_user.admin? %>
<th class="text-right">Actions</th>
... | Remove obsolete code from _efforts_list_participant partial. | Remove obsolete code from _efforts_list_participant partial.
| HTML+ERB | mit | SplitTime/OpenSplitTime,voltagead/OpenSplitTime,SplitTime/OpenSplitTime,voltagead/OpenSplitTime,SplitTime/OpenSplitTime,voltagead/OpenSplitTime |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.