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 |
|---|---|---|---|---|---|---|---|---|---|
ec1dedf32956a2ff33c6f9894147ff0924bda971 | lib/pliny/templates/model_migration.erb | lib/pliny/templates/model_migration.erb | Sequel.migration do
change do
create_table(:<%= table_name %>) do
uuid :uuid, default: Sequel.function(:uuid_generate_v4), primary_key: true
timestamptz :created_at, default: Sequel.function(:now), null: false
timestamptz :updated_at
timestamptz :deleted_at
end
end
end
| Sequel.migration do
change do
create_table(:<%= table_name %>) do
uuid :uuid, default: Sequel.function(:uuid_generate_v4), primary_key: true
timestamptz :created_at, default: Sequel.function(:now), null: false
timestamptz :updated_at
end
end
end
| Drop deleted_at from standard model migration | Drop deleted_at from standard model migration
this won't work until the user sets sequel-paranoia. add db bloat
on top of it and I think we should leave out for now, could just
find a way to direct users to it in the docs instead?
| HTML+ERB | mit | fdr/pliny,hayduke19us/pliny,fdr/pliny,interagent/pliny,fdr/pliny,hayduke19us/pliny,interagent/pliny,hayduke19us/pliny,interagent/pliny |
b4c345c17a60f0c61cd418b3aabfa17ed7b65890 | app/views/users/show.erb | app/views/users/show.erb | <h3><%= @user.first_name %>'s Account</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil, sed culpa animi dignissimos ab aspernatur ex quam aperiam quae ipsum impedit officiis, fugit, adipisci, delectus aliquam quod consequatur quo voluptatem.</p>
<h3>Sources</h3>
<ul>
<li>Available (click to au... | <h3><%= @user.first_name %>'s Account</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil, sed culpa animi dignissimos ab aspernatur ex quam aperiam quae ipsum impedit officiis, fugit, adipisci, delectus aliquam quod consequatur quo voluptatem.</p>
<h3>Sources</h3>
<ul>
<li>Available (click to au... | Add view that toggles based on if service is authorized | Add view that toggles based on if service is authorized
| HTML+ERB | mit | kenworthyc/weeker,kenworthyc/weeker |
58496aac46d6bd366621d5453ac1bcb5c584f091 | app/views/admin/guides/_edit.html.erb | app/views/admin/guides/_edit.html.erb | <%= semantic_form_for [:admin, @guide, @latest_edition] do |f| %>
<%= f.inputs do %>
<%= f.input :title %>
<%= f.input :introduction %>
<% end %>
<div id="parts">
<h2>Parts</h2>
<% setup_association(f.object, :parts, :new => 3, :edit => 3) %>
<%= f.semantic_fields_for :parts do |part| %>
... | <%= semantic_form_for [:admin, @guide, @latest_edition] do |f| %>
<%= f.inputs do %>
<%= f.input :title %>
<%= f.input :introduction %>
<% end %>
<h2>Parts</h2>
<div id="parts">
<% setup_association(f.object, :parts, :new => 3, :edit => 3) %>
<%= f.semantic_fields_for :parts do |part| %>
... | Add event handler for associated forms (for parts) being added. They should reinitialise the accordion with the new part open | Add event handler for associated forms (for parts) being added. They should reinitialise the accordion with the new part open
| HTML+ERB | mit | alphagov/publisher,leftees/publisher,alphagov/publisher,telekomatrix/publisher,theodi/publisher,leftees/publisher,theodi/publisher,leftees/publisher,alphagov/publisher,leftees/publisher,theodi/publisher,telekomatrix/publisher,theodi/publisher,telekomatrix/publisher,telekomatrix/publisher |
9d2e42a5fd4cdc6c1ee66b8667dc9315a1e3cc09 | app/views/static_pages/about.html.erb | app/views/static_pages/about.html.erb | <h3>Welcome to FAQrator!</h3>
<p>FAQrator is a site all about increasing the flow of information between individuals by making it easier to ask questions.</p>
<p>Everyone you meet knows something that you don't, and doesn't know something that you do. Every single person on this planet is a treasure trove of informat... | About Page | Revert about page to pass test | Revert about page to pass test
| HTML+ERB | mit | chi-dragonflies-2015/FAQrator,chi-dragonflies-2015/FAQrator,chi-dragonflies-2015/FAQrator |
f1b7075432278f2c1d77377ea08263c06903dea0 | app/views/issues/_issue.html.erb | app/views/issues/_issue.html.erb | <% repository = issue.repository %>
<div class='project' style="border-color: <%= repository.color %>;">
<h5>
<%= link_to emojify(truncate(issue.title, :length => 100)), issue.url %>
<small>
<%= link_to repository.full_name, repository_path(repository.to_param) %>
<%= fa_icon("lock") if repository... | <% repository = issue.repository %>
<div class='project' style="border-color: <%= repository.color %>;">
<h5>
<%= link_to emojify(truncate(issue.title, :length => 100)), issue.url %>
<small>
<%= link_to repository.full_name, repository_path(repository.to_param) %>
<%= fa_icon("lock") if repository... | Add host icon to issue partial | Add host icon to issue partial
| HTML+ERB | agpl-3.0 | abrophy/libraries.io,librariesio/libraries.io,abrophy/libraries.io,librariesio/libraries.io,abrophy/libraries.io,librariesio/libraries.io,librariesio/libraries.io |
6927dff583d007fc9fc8b9ae7987c01f2819584e | app/views/admin/resources/_form.html.erb | app/views/admin/resources/_form.html.erb | <div class="row">
<div class="col-xs-12">
<%= form_for [ :admin, resource ], html: { class: 'form-horizontal' } do |form| %>
<%
attributes = resource.attributes.delete_if do |k, v|
k.to_sym.in? [ :id, :created_at, :updated_at ]
end
%>
<% attributes.each do |key, val| %>... | <div class="row">
<div class="col-xs-12">
<%= form_for [ :admin, resource ], html: { class: 'form-horizontal' } do |form| %>
<%
attributes = resource.attributes.delete_if do |k, v|
k.to_sym.in? [ :id, :created_at, :updated_at ]
end
%>
<% attributes.each do |key, val| %>... | Use Rails' form helpers to create resource form | Use Rails' form helpers to create resource form
Cause, you know, paramters must be passed correctly and everything.
| HTML+ERB | mit | hyperoslo/hyper_admin,hyperoslo/hyper_admin,hyperoslo/hyper_admin |
71cdc013132e791f2f20f2ac7a9b58e980f215ca | app/views/layouts/backend/login.html.erb | app/views/layouts/backend/login.html.erb | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Login - <%= Udongo.config.project_name %></title>
<%= stylesheet_link_tag 'backend/application', media: 'all' %>
<%= javascript_include_tag 'vendor/modernizr' %>
<%= javascript_include... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Login - <%= Udongo.config.project_name %></title>
<%= stylesheet_link_tag 'backend/application', media: 'all' %>
<%= javascript_include_tag 'backend/application' %>
<%= csrf_meta_tags ... | Remove the link to modernizr since it's not being used. | Remove the link to modernizr since it's not being used.
| HTML+ERB | mit | udongo/udongo,udongo/udongo,udongo/udongo |
f15d67d93187d41d749af0485855f1fc5c26bdbf | app/views/shared/_header_navbar.html.erb | app/views/shared/_header_navbar.html.erb | <div id="header-navbar-fixed-top" class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div id="navbar-container" class="container">
<div class="row">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
... | <div id="header-navbar-fixed-top" class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div id="navbar-container" class="container">
<div class="row">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
... | Make upper left logo URL be to the root of this app | Make upper left logo URL be to the root of this app
| HTML+ERB | apache-2.0 | LucidWorks/flare,LucidWorks/flare,LucidWorks/flare |
401998d7ecb8e63ad8f72ed1f0c0e1c964527a77 | core/app/views/layouts/frontend.html.erb | core/app/views/layouts/frontend.html.erb | <% content_for :title do %>
Factlink — Because the web needs what you know
<% end %>
<% content_for :specific_stylesheet_tag do %>
<%= stylesheet_link_tag "frontend" %>
<% end %>
<% content_for :main do %>
<div id="container" class="container<%= " fixed" unless defined? not_fixed %>">
<div class="row... | <% content_for :title do %>
Factlink — Because the web needs what you know
<% end %>
<% content_for :specific_stylesheet_tag do %>
<%= stylesheet_link_tag "frontend" %>
<% end %>
<% content_for :main do %>
<div id="container" class="container<%= " fixed" unless defined? not_fixed and not_fixed %>">
<... | Make the sidebar fixed again | Make the sidebar fixed again
| HTML+ERB | mit | daukantas/factlink-core,Factlink/factlink-core,Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core,Factlink/factlink-core,daukantas/factlink-core,daukantas/factlink-core |
ad46288fedab2a958519a2b817e1886b35fe1926 | app/views/answers/_answer_form.html.erb | app/views/answers/_answer_form.html.erb | <div class="answer-header">
<h3>Answer:</h3>
</div>
<div class="ques-answer">
<%= form_for @answer, :url => "/questions/#{question.id}/answers" do |f| %>
<div class="body-content"><%= f.text_area :content %></div>
<div class="submit-btn"><%= f.submit "Post your Answer" %></div>
<% end %>
</div>
| <div class="answer-header">
<h3>Answer:</h3>
</div>
<div class="ques-answer cf">
<%= form_for @answer, :url => "/questions/#{question.id}/answers" do |f| %>
<div class="body-content"><%= f.text_area :content %></div>
<div class="submit-btn"><%= f.submit "Post your Answer" %></div>
<% end %>
</div>
| Add clearfix css to div | Add clearfix css to div
| HTML+ERB | mit | jeder28/stack_overphil,jeder28/stack_overphil,jeder28/stack_overphil |
fcf44d1250a430655ca5b6520733edd54e540197 | app/assets/javascripts/raygun.js.erb | app/assets/javascripts/raygun.js.erb | <% if Rails.env == "staging" || Rails.env == "production" %>
!function(a,b,c,d,e,f,g,h){a.RaygunObject=e,a[e]=a[e]||function(){
(a[e].o=a[e].o||[]).push(arguments)},f=b.createElement(c),g=b.getElementsByTagName(c)[0],
f.async=1,f.src=d,g.parentNode.insertBefore(f,g),h=a.onerror,a.onerror=function(b,c,d,f,g){
h&&h(b,c,d... | <% if Rails.env == "staging" || Rails.env == "production" %>
!function(a,b,c,d,e,f,g,h){a.RaygunObject=e,a[e]=a[e]||function(){
(a[e].o=a[e].o||[]).push(arguments)},f=b.createElement(c),g=b.getElementsByTagName(c)[0],
f.async=1,f.src=d,g.parentNode.insertBefore(f,g),h=a.onerror,a.onerror=function(b,c,d,f,g){
h&&h(b,c,d... | Disable catch-all JS exception reporting | Disable catch-all JS exception reporting
| HTML+ERB | mit | scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails |
ab289d949f65607570165c6a46cce33ff2598e00 | modules/govuk_jenkins/templates/jobs/gds_production_backup.yaml.erb | modules/govuk_jenkins/templates/jobs/gds_production_backup.yaml.erb | ---
- scm:
name: govuk-app-deployment_GDS_Production_Backup
scm:
- git:
url: git@github.com:alphagov/govuk-app-deployment.git
branches:
- release
- job:
name: GDS_Production_Backup
display-name: GDS_Production_Backup
disabled: false
project-type: fr... | ---
- scm:
name: govuk-app-deployment_GDS_Production_Backup
scm:
- git:
url: git@github.com:alphagov/govuk-app-deployment.git
branches:
- master
- job:
name: GDS_Production_Backup
display-name: GDS_Production_Backup
disabled: false
project-type: fre... | Use the master branch. Not the release one. | Use the master branch. Not the release one.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
885d29345d01dfb61ab61fe643446d4248b70324 | app/views/oauth_clients/new.html.erb | app/views/oauth_clients/new.html.erb | <h1><%= t'oauth.client_application.new.title' %></h1>
<% form_for :client_application, :url => { :action => :create } do |f| %>
<%= render :partial => "form", :locals => { :f => f } %>
<br />
<%= submit_tag t'oauth.client_application.new.submit' %>
<% end %>
| <h1><%= t'oauth.client_application.new.title' %></h1>
<% form_for :client_application, :url => { :action => :create } do |f| %>
<%= render :partial => "form", :locals => { :f => f } %>
<br />
<%= submit_tag t('oauth.client_application.new.submit') %>
<% end %>
| Add parentheses to fix warning. | Add parentheses to fix warning.
| HTML+ERB | agpl-3.0 | tillmo/do-roam,tillmo/do-roam,tillmo/do-roam,tillmo/do-roam,tillmo/do-roam,tillmo/do-roam |
89999748b55245c6b4bd6781f64edeaad1e057f3 | app/views/shared/_unpublish.html.erb | app/views/shared/_unpublish.html.erb | <div class="callout callout-warning add-bottom-margin">
<div class="callout-title">
Warning
</div>
<div class="callout-body">
Unpublish a page from GOV.UK. This can’t be undone.
</div>
</div>
<div class="well">
<%= form_tag("/editions/#{@resource.id}/process_unpublish", method: "post") do %>
<h2 ... | <div class="callout callout-warning add-bottom-margin">
<div class="callout-title">
Warning
</div>
<div class="callout-body">
Unpublishing a page from GOV.UK can not be undone.
</div>
</div>
<div class="well">
<%= form_tag("/editions/#{@resource.id}/process_unpublish", method: "post") do %>
<h2 c... | Fix remaining accessibility issues on the Unpublish tab | Fix remaining accessibility issues on the Unpublish tab
The copy is a bit clunky on the warning message. It also uses negative
contractions which isn't best practice.
It also links the redirect to fields label to the input.
| HTML+ERB | mit | alphagov/publisher,alphagov/publisher,alphagov/publisher |
3274bdf7d557b123245cab811be38f0092a4bebd | app/views/user_tokens/error.html.erb | app/views/user_tokens/error.html.erb | <h2>Oops.</h2>
<p>Seems like the token is incorrect. Please make sure you've pasted it correctly.</p>
| <h1>Oops.</h1>
<p>Seems like the token is incorrect. Please make sure you've pasted it correctly.</p>
| Use h1 header on error page | Use h1 header on error page
| HTML+ERB | apache-2.0 | radare/radare.tv,asciinema/asciinema-server,SunDi3yansyah/asciinema.org,SunDi3yansyah/asciinema.org,radare/radare.tv,SunDi3yansyah/asciinema.org,radare/radare.tv,asciinema/asciinema-server,SunDi3yansyah/asciinema.org,asciinema/asciinema.org,asciinema/asciinema-server,asciinema/asciinema-server,SunDi3yansyah/asciinema.o... |
7e7322fb7926d5e887aea7a9d3a1960a8a39d549 | app/views/shared/_student_data.html.erb | app/views/shared/_student_data.html.erb | <div class="row">
<div class="col-md-1"></div>
<div class="col-md-2 head">LAST</div>
<div class="col-md-1 head">FIRST</div>
<div class="col-md-2 head">EMAIL</div>
<div class="col-md-1 head">ID#</div>
<div class="col-md-2 head">HOMEROOM</div>
<div class="col-md-2 head">GRADE LEVEL</div>
<... | <div class="row">
<div class="col-md-1"></div>
<div class="col-md-2 head">LAST</div>
<div class="col-md-1 head">FIRST</div>
<div class="col-md-2 head">EMAIL</div>
<div class="col-md-1 head">ID#</div>
<div class="col-md-2 head">HOMEROOM</div>
<div class="col-md-1 head">GRADE LEVEL</div>
<... | Add 'confirmed' display to 'all students' view | Add 'confirmed' display to 'all students' view
| HTML+ERB | mit | gptasinski/registraide,gptasinski/registraide,gptasinski/registraide |
0cbe7c18ee63996977872ad3ba3fe9a2a8c88eec | BHCDatabase/app/views/feedbacks/_form.html.erb | BHCDatabase/app/views/feedbacks/_form.html.erb | <%= form_for(@feedback) do |f| %>
<%= render 'shared/error_messages', object: f.object %>
<%= f.hidden_field :user_id, :value => @user.id %>
<%= f.fields_for :answers do |a| %>
<%= a.label @questions.find(a.object.question_id).sort %> <br>
<%= a.label @questions.find(a.object.question_id)... | <%= form_for(@feedback) do |f| %>
<%= render 'shared/error_messages', object: f.object %>
<%= f.hidden_field :user_id, :value => @user.id %>
<div class="panel panel-default">
<%= f.fields_for :answers do |a| %>
<div class="panel-heading">
<%= a.label @questions.find(a.object.q... | Format feedback form with panel. | Format feedback form with panel.
| HTML+ERB | mit | DaBrown95/BHCDatabase,DaBrown95/BHCDatabase,DaBrown95/BHCDatabase |
fa1bbd2ea240b701e3128e6b522411b1b27ae5ec | app/views/shared/_admin_login_items.html.erb | app/views/shared/_admin_login_items.html.erb | <% if current_user %>
<% if current_user.administrator? %>
<li>
<%= link_to t("layouts.header.administration"), admin_root_path %>
</li>
<% end %>
<% if current_user.moderator? || current_user.administrator? %>
<li>
<%= link_to t("layouts.header.moderation"), moderation_root_path %>
<... | <% if current_user %>
<% if current_user.administrator? %>
<li>
<%= link_to t("layouts.header.administration"), admin_root_path %>
</li>
<% end %>
<% if current_user.moderator? || current_user.administrator? %>
<li>
<%= link_to t("layouts.header.moderation"), moderation_root_path %>
<... | Check if spending_proposals is enabled to show 'valuation' link | Check if spending_proposals is enabled to show 'valuation' link
The link was broken when Spending Proposals is disabled from administration.
The /valuation link points to `Valuation::SpendingProposalsController` which has a `feature_flag :spending_proposals` flag. | HTML+ERB | agpl-3.0 | PeoplesMomentum/consul,jjballano/participacion,amiedes/consul,Terciar/consul,AyuntamientoPuertoReal/decidePuertoReal,lalibertad/consul,PeoplesMomentum/consul,lalibertad/consul,Ana06/consul,lalibertad/consul,alejanderl/participacion,AyuntamientoPuertoReal/decidePuertoReal,Terciar/consul,consul/consul,AyuntamientoMadrid/... |
c185c5c13111f48e7c6f2f94fe9ae1aa1987f28c | app/views/agent/booking_requests/show.html.erb | app/views/agent/booking_requests/show.html.erb | <% content_for(:page_title, t('service.title', page_title: "Booking confirmed at #{location.name}")) %>
<div class="page-header">
<ol class="breadcrumb">
<li><a href="<%= root_path %>">Appointment planner</a></li>
<li><a href="<%= root_path %>">Booking requests</a></li>
<li class="active"><%= location.na... | <% content_for(:page_title, t('service.title', page_title: "Booking confirmed at #{location.name}")) %>
<div class="page-header">
<ol class="breadcrumb">
<li><a href="<%= root_path %>">Appointment planner</a></li>
<li><a href="<%= root_path %>">Booking requests</a></li>
<li class="active"><%= location.na... | Add button to go back to the agent journey | Add button to go back to the agent journey
This removes the dead end.
| HTML+ERB | mit | guidance-guarantee-programme/planner,guidance-guarantee-programme/planner,guidance-guarantee-programme/planner |
5556c128722c0ba5f4678b2b74f5c32650f1bdc5 | app/views/newsletter_subscriptions/show.js.erb | app/views/newsletter_subscriptions/show.js.erb | (function() {
var $newsletterForm = $('.js-newsletter-form'),
$newsletterInput = $newsletterForm.find('.js-newsletter-input'),
errorClass = 'is-errored';
<% if @success %>
require(['common'], function (MAS) {
MAS.publish('analytics:trigger', {
category: 'Newsletter SignUp',
ev... | (function() {
var $newsletterForm = $('.js-newsletter-form'),
$newsletterInput = $newsletterForm.find('.js-newsletter-input'),
errorClass = 'is-errored';
<% if @success %>
require(['common'], function (MAS) {
MAS.publish('analytics:trigger', {
gaEventCat: 'Newsletter SignUp',
... | Fix My Account tracking as per Periscopix guide | Fix My Account tracking as per Periscopix guide
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
f169998cef2319ab92f9da10fb9b36b07460a5da | app/views/logs/_log.html.erb | app/views/logs/_log.html.erb | <% email_user = RepositoriesHelper.users_by_commits(@commits) %>
<ul class="commit_list">
<% @commits.each do |commit| -%>
<% user = email_user[commit.committer.email] %>
<li class="commit_item">
<div>
<a href=""><%= link_to h(commit.id_abbrev),
project_repository_commit_path(@project, @repository, commit.id)... | <% email_user = RepositoriesHelper.users_by_commits(@commits) %>
<ul class="commit_list">
<% @commits.each do |commit| -%>
<% user = email_user[commit.committer.email] %>
<li class="commit_item">
<div>
<a href=""><%= link_to h(commit.id_abbrev),
project_repository_commit_path(@project, @repository, commit.id)... | Make commit message linkable, and only show the short message | Make commit message linkable, and only show the short message
| HTML+ERB | agpl-3.0 | gitorious/mainline,adg29/asi.gitorious,SamuelMoraesF/Gitorious,Gitorious-backup/mainline,Gitorious-backup/krawek-gitorious-clone,almonteb/scoot,tigefa4u/gitorious-mainline,balcom/gitorious,gnufied/gitorious,Gitorious-backup/vsr-mainline,Gitorious-backup/yousource,tigefa4u/gitorious-mainline,rae/gitorious-mainline,Gitor... |
ed7674f635eb840691756ea0d53e63ebefce6304 | puppet/modules/uwsgi/templates/uwsgi.conf.erb | puppet/modules/uwsgi/templates/uwsgi.conf.erb | # Emperor uWSGI script
description "uWSGI Emperor"
start on runlevel [2345]
stop on runlevel [06]
exec /usr/local/bin/uwsgi <% params.each_pair do | param, val | %> --<%= param %> <%= val %> <% end %>
| # Emperor uWSGI script
description "uWSGI Emperor"
start on runlevel [2345]
stop on runlevel [06]
exec /usr/local/bin/uwsgi <% @params.each_pair do | param, val | %> --<%= param %> <%= val %> <% end %>
| Fix in scope var deprecation warning | Fix in scope var deprecation warning
| HTML+ERB | mit | pechatny/basic-flask-app,pechatny/basic-flask-app,anthann/vagrant-puppet-nginx-uwsgi-flask,anthann/vagrant-puppet-nginx-uwsgi-flask,anthann/vagrant-puppet-nginx-uwsgi-flask,pechatny/basic-flask-app,linssen/vagrant-puppet-nginx-uwsgi-flask,anthann/vagrant-puppet-nginx-uwsgi-flask,linssen/vagrant-puppet-nginx-uwsgi-flask |
54d6c943ba51b5360b388014473b78bb847c15c3 | lib/rspec/templates/example_group_template.erb | lib/rspec/templates/example_group_template.erb | describe "<%= @resource.to_s %>" do
let(:route) { "<%= @resource.to_s %>" }
<%- @resource.http_methods.each do |method| %>
describe "<%= method.method.upcase %>" do
<% if method.headers %>let(:headers) do <% headers = method.headers.pretty.split("\n") %>
<%= headers.join("\n ") %>
... | describe "<%= @resource.to_s %>" do
let(:route) { "<%= @resource.to_s %>" }
<%- @resource.http_methods.each do |method| %>
describe "<%= method.method.upcase %>" do
<% if method.headers %>let(:headers) do <% headers = method.headers.pretty.split("\n") %>
<%= headers.join("\n ") %>
... | Make sure request headers included on all requests | Make sure request headers included on all requests
| HTML+ERB | mit | danascheider/rambo,danascheider/rambo |
f307d6c9df46bb8a4b2981a8f843d35268a25b87 | app/views/notifications/_notification.html.erb | app/views/notifications/_notification.html.erb | <li class="notification-item" data-id="<%= notification.id %>" data-subjectpath="<%= polymorphic_path(notification.subject) %>">
<div class="notification-body">
<%= render "notifications/#{notification.event}", note: notification %>
</div>
<div class="notification-time">
<%= t("time_ago", time: time_ago_i... | <li class="notification-item" data-id="<%= notification.id %>" data-subjectpath="<%= polymorphic_path(notification.subject) %>">
<div class="notification-body">
<%= render "notifications/#{notification.event}", note: notification %>
</div>
<div class="notification-time">
<%= t("time_ago", time: time_ago_i... | Fix the Mark as Read checkmark being shown on notifications that have already been read | Fix the Mark as Read checkmark being shown on notifications that have already been read
| HTML+ERB | agpl-3.0 | noidedmedia/Fiction-Dock,noidedmedia/Fiction-Dock,noidedmedia/Fiction-Dock |
57ac528a9bd8edf5d3c25f6ea8fcb5d0e34b923c | app/views/shared/steps/_markdown_help.html.erb | app/views/shared/steps/_markdown_help.html.erb | <p class="govuk-body">
<%= link_to "Content design guide",
"https://gov-uk.atlassian.net/wiki/spaces/MS/pages/268140618/Content+design+principles+for+step+by+step+navigation+Q4",
target: "_blank" %> for step by step navigation.
</p>
<%# intentionally not indented properly because the PRE formats all whites... | <p class="govuk-body">
<%= link_to "Content design guide",
"https://gov-uk.atlassian.net/wiki/spaces/MS/pages/268140618/Content+design+principles+for+step+by+step+navigation+Q4",
class: "govuk-link",
target: "_blank" %> for step by step navigation.
</p>
<%# intentionally not indented properly because the... | Update markdown guidance link to use govuk styles | Update markdown guidance link to use govuk styles
| HTML+ERB | mit | alphagov/collections-publisher,alphagov/collections-publisher,alphagov/collections-publisher |
0cfc89fa15dee7dfd2d5a0a096ebae44e8973d5f | cookbooks/chef/templates/default/report.rb.erb | cookbooks/chef/templates/default/report.rb.erb | # DO NOT EDIT - This file is being maintained by Chef
require "rubygems"
class Chef
class Handler
class Email < Chef::Handler
attr_reader :config
def initialize(config = {})
@config = config
@config[:from] ||= "root@openstreetmap.org"
@config
end
def report
... | # DO NOT EDIT - This file is being maintained by Chef
require "rubygems"
class Chef
class Handler
class Email < Chef::Handler
attr_reader :config
def initialize(config = {})
@config = config
@config[:from] ||= "root@openstreetmap.org"
@config
end
def report
... | Fix issues with chef report handler | Fix issues with chef report handler
| HTML+ERB | apache-2.0 | Firefishy/chef,Firefishy/chef,Firefishy/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,Firefishy/chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-che... |
68c57c5d3233bfe8f22ec8cb6d4acf40fc279789 | app/views/_nav_bar.erb | app/views/_nav_bar.erb | <div class="nav-bar">
<div class="logo"><a href="/">TogetherGetter Home</a></div>
<div class="definition-link"><a href="/togetherness">Togetherness: The Definition</a></div>
<div class="nav-options">
<% if current_user %>
<a href="/users/<%= session[:user_id] %>">View My Profile</a> | <a href="/users/<%... | <div class="nav-bar">
<div class="logo"><a href="/">TogetherGetter Home</a></div>|
<div class="definition-link"><a href="/togetherness">Togetherness: The Definition</a></div>|
<div class="nav-options">
<% if current_user %>
<a href="/users/<%= session[:user_id] %>">View My Profile</a> | <a href="/users/... | Add dividors in nav bar | Add dividors in nav bar
| HTML+ERB | mit | caonayemi/getting-it-together,caonayemi/getting-it-together,caonayemi/getting-it-together |
3d228f0880ae9514103856b1a2f22218d6f3691b | spec/support/app/views/file_handler/index.html.erb | spec/support/app/views/file_handler/index.html.erb | <button class="btn" id="browse" data-toggle="browse-everything" data-route="<%=browse_everything_engine.root_path%>">Browse</button>
| <div class="hero-unit">
<h1>Welcome!</h1>
<p>Please click the button below to start pickin' files!</p>
<button class="btn btn-large btn-success" id="browse" data-toggle="browse-everything" data-route="<%=browse_everything_engine.root_path%>">Browse</button>
</div> | Make the test app look ZOMG!!!1!11 SO. MUCH. BETTER. | Make the test app look ZOMG!!!1!11 SO. MUCH. BETTER.
| HTML+ERB | mit | flyingzumwalt/browse-everything,projecthydra/browse-everything,projecthydra-labs/browse-everything,projecthydra-labs/browse-everything,flyingzumwalt/browse-everything,yuri-val/browse-everything,yuri-val/browse-everything,yuri-val/browse-everything,projecthydra/browse-everything,projecthydra/browse-everything,projecthyd... |
dc138cf2f629f6acf8267a2bdab876c0f694dbc5 | app/views/admin/_add_button_row.html.erb | app/views/admin/_add_button_row.html.erb | <tr>
<td class="add_remove">
<table>
<tr>
<td class="add_remove">
<%= link_to_remote image_tag('/images/buttons/add.gif', :border => 0, :height => 22, :width => 23),
{:update => "new_row",
:url => { :action => "new_inline" },
} %>
</td>
... | <tr>
<td class="add_remove">
<table>
<tr>
<td class="add_remove">
<%= link_to_remote image_tag("/images/buttons/add.gif", :border => 0, :height => 22, :width => 23),
{:update => "new_row",
:url => { :action => "new_inline" },
} %>
</td>
... | Change some quotation marks around to test cc.rb | Change some quotation marks around to test cc.rb
| HTML+ERB | mit | alpendergrass/montanacycling-racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails,alpendergrass/montanacycling-racing_on_rails,scottwillson/racing_on_rails,alpendergrass/montanacycling-racing_on_rails,alpendergrass/montanacycling-racing_on_rails,alpendergrass/montanacyc... |
1f23add422524d02b3672062a8d75b5bfb376409 | app/views/songs/_song.html.erb | app/views/songs/_song.html.erb | <tr class="song-entry">
<td><%= song.artist %></td>
<td><%= song.title %></td>
<% friendly_last_requested_at = if song.last_requested_at.nil?
"Never"
else
time_ago_in_words(song.last_requested_at) + " ago"
end %>
<td>friendly_last_requested_at</td>
<td class="controls">
<%= link_to 'S'... | <tr class="song-entry">
<td><%= song.artist %></td>
<td><%= song.title %></td>
<% friendly_last_requested_at = if song.last_requested_at.nil?
"Never"
else
time_ago_in_words(song.last_requested_at) + " ago"
end %>
<td><%= friendly_last_requested_at %></td>
<td class="controls">
<%= link... | Fix not rendering last_requested_at in song index | Fix not rendering last_requested_at in song index
| HTML+ERB | mit | gyng/ireul-web,gyng/ireul-web,gyng/ireul-web |
f84ac49c323ca424f75b52db5c3a9978e16d32c5 | app/views/users/_form.html.erb | app/views/users/_form.html.erb | <%= form_for(@user) do |f| %>
<% if @user.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@user.errors.count, "error") %> prohibited this user from being saved:</h2>
<ul>
<% @user.errors.full_messages.each do |message| %>
<li><%= message %></li>
<% end %>
</ul>... | <div class="eshop_form">
<%= form_for @user do |f| %>
<% if @user.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@user.errors.count, "error") %>prohibited this user from being saved:</h2>
<ul>
<% @user.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% en... | Update form used to both create and update users | Update form used to both create and update users
| HTML+ERB | mit | bdisney/eShop,bdisney/eShop,bdisney/eShop |
15d51c439c41d1d76da6fa62edb534773d5a7594 | app/views/users/index.html.erb | app/views/users/index.html.erb | <h1>All users</h1>
<%= will_paginate %>
<ul class="users">
<%= render @users %>
<% if current_user.admin? %>
| <%= link_to "delete", user, :method => :delete, :confirm => "Are you sure?",
:title => "Delete #{user.name}" %>
<% end %>
</ul>
<%= will_paginate %> | <h1>All users</h1>
<%= will_paginate %>
<ul class="users">
<%= render @users %>
<% if current_user.admin? %>
| <%= link_to "delete", @user, :method => :delete, :confirm => "Are you sure?",
:title => "Delete #{@user.name}" %>
<% end %>
</ul>
<%= will_paginate %> | Fix delete bouton in index user | Fix delete bouton in index user
| HTML+ERB | mit | rubyonrails-tutorial/minblog,rubyonrails-tutorial/minblog,rubyonrails-tutorial/minblog |
1d456389968beac7d0507ce0fc5b229f63e620f0 | app/views/post_links/_post_link.html.erb | app/views/post_links/_post_link.html.erb | <!-- Too many queries! -->
<% pf = Post.find(post_link.post_from) %>
<% pt = Post.find(post_link.post_to) %>
<%=
link_to(
">>#{post_link.post_from}
#{if pt.discussion_id != pf.discussion_id
pt.id == pt.discussion.posts.first.id ? " (Cross OP)" : " (Cross)"
end}",
... | <!-- Too many queries! -->
<% pf = Post.find(post_link.post_from) %>
<% pt = Post.find(post_link.post_to) %>
<%=
link_to(
">>#{post_link.post_from}
#{if pt.discussion_id != pf.discussion_id
pf.id == pf.discussion.posts.first.id ? " (Cross OP)" : " (Cross)"
end}",
... | Fix backquotes for cross-discussion OP | Fix backquotes for cross-discussion OP
| HTML+ERB | mit | gyng/rib,gyng/rib |
5d9c81a2fe8feb9eace90adb7bd653ccd3b8f339 | app/views/shared/_yin_yang_logo.html.erb | app/views/shared/_yin_yang_logo.html.erb |
<script type="text/javascript">
'use strict';
$(() => {
const yinYang = $('#yin-yang-logo');
yinYang.click(() => window.location.href = '/dojo/index');
cd.createTip(yinYang, 'go back to the home page');
});
</script>
<span id="yin-yang-logo">
<img src="/images/cyber-dojo.png" />
</span>
|
<script type="text/javascript">
'use strict';
$(() => {
const yinYang = $('#yin-yang-logo');
yinYang.click(() => window.location.href = '/');
cd.createTip(yinYang, 'go back to the home page');
});
</script>
<span id="yin-yang-logo">
<img src="/images/cyber-dojo.png" />
</span>
| Use / for home page URL on top-left yin-yang logo | Use / for home page URL on top-left yin-yang logo
| HTML+ERB | bsd-2-clause | cyber-dojo/web,cyber-dojo/web,cyber-dojo/web,cyber-dojo/web |
b3fcc0e6ae41173bdaeb9616241dd8906b451e6f | app/views/styleguide/pages_home.html.erb | app/views/styleguide/pages_home.html.erb | <%= render 'shared/trust_banner' %>
<<<<<<< HEAD
<% if params.key?('welsh') %>
<div class="theme-cy">
=======
<div class="l-home-directory">
<div class="l-constrained">
<p class="l-home-directory__intro">Choose a section to get started…</p>
<% if params.key?('welsh') %>
<div class="theme-cy">
<d... | <%= render 'shared/trust_banner', items: t('home.show.trust_banner_list') %>
<div class="l-home-directory">
<div class="l-constrained">
<%= heading_tag(level: heading_level ||= 2, class: 'l-home-directory__title') do %>
Choose a section to get started…
<% end %>
<div class="temp-dynamic-directory-... | Adjust the styleguide demo home page to include real content | Adjust the styleguide demo home page to include real content
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
280f8a3dd751f15a2f5ae8ec89fb2e005f74ae76 | config/refusal_advice/exemptions.yml.erb | config/refusal_advice/exemptions.yml.erb | foi:
questions:
- id: exemption
label:
plain: <%= _('Did the authority mention any of these exemptions when refusing your request?') %>
options:
#- { label: <%= _('Section 11') %>, value: section-11 }
- { label: <%= _('Section 12') %>, value: section-12 }
- { label: <%= _('Section 14') %>,... | foi:
questions:
- id: exemption
label:
plain: <%= _('Did the authority mention any of these exemptions when refusing your request?') %>
options:
#- { label: <%= _('Section 11 - Means by which communication to be made') %>, value: section-11 }
- { label: <%= _('Section 12 - Cost of Compliance')... | Add exemption titles to wizard labels | Add exemption titles to wizard labels
Add short title to each exemption for better user understanding.
I used a hyphen rather than a colon because after processing the ERB the
YAML interpreter was expecting the whole string to be quoted. This means
we'd have to do something like `<%= _(%q("Section 12: Foo")) %>` whic... | HTML+ERB | mit | mysociety/whatdotheyknow-theme,mysociety/whatdotheyknow-theme,mysociety/whatdotheyknow-theme |
fbf6bc581844477dcba4c2e551ff6316c4252537 | templates/default/init.d.sh.erb | templates/default/init.d.sh.erb | #!/bin/sh
#
# chkconfig: 35 99 99
# description: For the puma app in <%= @working_dir %>
# load some init.d helper functions
. /etc/rc.d/init.d/functions
APPNAME="<%= @name %>"
APP_DIR="<%= @directory %>"
PUMA_DIR="$APP_DIR/shared/puma"
PIDFILE="$APP_DIR/shared/pids/$APPNAME.pid"
STARTUP="$PUMA_DIR/puma_start.sh"
c... | #!/bin/sh
#
# chkconfig: 35 99 99
# description: For the puma app in <%= @working_dir %>
# load some init.d helper functions
. /etc/rc.d/init.d/functions
APPNAME="<%= @name %>"
APP_DIR="<%= @directory %>"
USERNAME="<%= @owner %>"
PUMA_DIR="$APP_DIR/shared/puma"
PIDFILE="$APP_DIR/shared/pids/$APPNAME.pid"
START="$PU... | Rework init.d to use the app scripts for all the commands | Rework init.d to use the app scripts for all the commands
| HTML+ERB | mit | sportngin-cookbooks/opsworks-puma,sportngin-cookbooks/opsworks-puma,sportngin-cookbooks/opsworks-puma |
5655f7adfd6f46bb0f9c4b64152868bfbd863f9e | app/views/components/_taxon-list.html.erb | app/views/components/_taxon-list.html.erb | <%
if !local_assigns[:heading_level]
heading_level = :h2
elsif local_assigns[:heading_level].zero?
heading_level = false
else
heading_level = ([*1..6].include?(local_assigns[:heading_level]) ? "h#{local_assigns[:heading_level]}" : "h2").to_sym
end
items ||= []
%>
<% if items.any? %>
<ol class="... | <%
if !local_assigns[:heading_level]
heading_level = :h2
elsif local_assigns[:heading_level].zero?
heading_level = false
else
heading_level = ([*1..6].include?(local_assigns[:heading_level]) ? "h#{local_assigns[:heading_level]}" : "h2").to_sym
end
items ||= []
%>
<% if items.any? %>
<ol class="... | Add spacing to taxon list | Add spacing to taxon list
| HTML+ERB | mit | alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections |
1b831b333b9dfe4377a26220cf0daa420c375149 | app/views/licences/_introduction.html.erb | app/views/licences/_introduction.html.erb | <article role="article" class="group">
<div class="inner">
<% if @licence_details %>
<div class="intro">
<% if @licence_details[:licence]['location_specific'] %>
<div class="get-started-intro">
<h1>Apply for this licence</h1>
<%= render :partial => 'location_form', :locals ... | <article role="article" class="group">
<div class="inner">
<% if @licence_details %>
<div class="intro">
<% if @licence_details[:licence]['location_specific'] %>
<div class="get-started-intro">
<h1>Apply for this licence</h1>
<%= render :partial => 'location_form', :locals ... | Remove "local" from the multiple authority select intro | Remove "local" from the multiple authority select intro
| HTML+ERB | mit | alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend |
a3bd2cae8e5ffef774dbba48df14e94c3d1e2a6c | app/views/docs/new.html.erb | app/views/docs/new.html.erb |
<div class="row">
<%= bootstrap_form_for(@doc) do |f| %>
<div class="col-md-12">
<h2 class="form-subhead"><%= t(:new_content, default: 'New Content') %></h2>
<%= f.alert_message "Please fix the errors below." %>
<%= render :partial => 'form', :object => @doc, :locals => {:f => f} %>
</div>
<% ... |
<div class="row">
<%= bootstrap_form_for(@doc) do |f| %>
<div class="col-md-12">
<h2 class="form-subhead"><%= t(:new_content, default: 'New Content') %></h2>
<%= f.alert_message "Please fix the errors below." %>
<%= render :partial => 'form', :object => @doc, :locals => {:f => f} %>
</div>
<% ... | Fix bug where converting a post/reply to a doc was not working since upgrade to Trix editor | Fix bug where converting a post/reply to a doc was not working since upgrade to Trix editor
Signed-off-by: Scott Miller <ee4be419d3f845eb9ce4e4ef3aeee8bd8acd07cf@gmail.com>
| HTML+ERB | mit | monami-ya/helpy,Rynaro/helpy,olliebennett/helpy,Rahul2692/helpy,Rynaro/helpy,CGA1123/helpy,CGA1123/helpy,CGA1123/helpy,olliebennett/helpy,monami-ya/helpy,felipewmartins/helpy,CGA1123/helpy,scott/helpy,scott/helpy__helpdesk_knowledgebase,scott/helpy__helpdesk_knowledgebase,felipewmartins/helpy,helpyio/helpy,pravanthi/he... |
0c37316a41f000354d0d62ad020c1ebeadd115de | lib/prmd/templates/schemata/link_curl_example.erb | lib/prmd/templates/schemata/link_curl_example.erb | ```bash
<%-
data = {}
path = path.gsub(/{([^}]*)}/) {|match| '$' + match.gsub(/[{}]/, '').upcase}
get_params = []
if link.has_key?('schema')
data.merge!(schema.schema_example(link['schema']))
if link['method'].upcase == 'GET' && !data.empty?
get_params << Prmd::UrlGenerator.new({... | ```bash
<%-
data = {}
path = path.gsub(/{([^}]*)}/) {|match| '$' + match.gsub(/[{}]/, '').upcase}
get_params = []
if link.has_key?('schema')
data.merge!(schema.schema_example(link['schema']))
if link['method'].upcase == 'GET' && !data.empty?
get_params << Prmd::UrlGenerator.new({... | Add Header link to GETS with data. | Add Header link to GETS with data.
| HTML+ERB | mit | mykecameron/prmd,mykecameron/prmd |
fbddf674f7f54d8e021c8a813e864088614c4a53 | test/views/layout.erb | test/views/layout.erb | <!DOCTYPE html>
<html id="html">
<head>
<title><%= @title %></title>
<link href="/vendor/qunit.css" media="screen" rel="stylesheet" type="text/css" media="screen, projection" />
<style>
#jquery-cdn, #jquery-version {
color: #8699A4; text-align: right; font-family: sans-serif; line-height: 1;... | <!DOCTYPE html>
<html id="html">
<head>
<title><%= @title %></title>
<link href="/vendor/qunit.css" media="screen" rel="stylesheet" type="text/css" media="screen, projection" />
<style>
#jquery-cdn, #jquery-version {
padding: 0 2em .8em 0;
text-align: right;
font-family: sans... | Reorganize test suite custom CSS | Reorganize test suite custom CSS
The versions and CDN links won't be totally mangled by the QUnit
header now.
| HTML+ERB | mit | tuvaergun/jquery-ujs,asilano/jquery-ujs,maclover7/jquery-ujs,universsky/jquery-ujs,AndyLampert/jquery-ujs,maclover7/jquery-ujs,runephilosof/jquery-ujs,rails/jquery-ujs,AndyLampert/jquery-ujs,shakacode/jquery-ujs,tuvaergun/jquery-ujs,JangoSteve/jquery-ujs,rails/jquery-ujs,twalpole/jquery-ujs,shakacode/jquery-ujs,asilano... |
918edd9f4e377fc95b8ac3ef2130a231b11d0e91 | modules/icinga/templates/campfire_contact.cfg.erb | modules/icinga/templates/campfire_contact.cfg.erb | define contact {
contact_name <%= @name %>
alias Campfire Pseudo Contact
service_notification_period 24x7
host_notification_period 24x7
service_notification_options w,c,r,f
h... | define contact {
contact_name <%= @name %>
alias Campfire Pseudo Contact
service_notification_period 24x7
host_notification_period 24x7
service_notification_options w,c,r,f
h... | Switch from campfire_nagios to campfire_icinga | Switch from campfire_nagios to campfire_icinga
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
7b7ebfdcf1f3e3c2f8694dd58ea035ef4d3e8092 | cookbooks/dmon/templates/default/start_mongo.service.erb | cookbooks/dmon/templates/default/start_mongo.service.erb | [Unit]
Description=High-performance, schema-free document-oriented database
After=network.target
[Service]
User=mongodb
ExecStart=/usr/bin/mongod --quiet --config /etc/mongod.conf
[Install]
WantedBy=multi-user.target
| Add template for mongodb systemd config file. | Add template for mongodb systemd config file.
| HTML+ERB | apache-2.0 | IrimieBogdan/DmonDeployment,IrimieBogdan/DmonDeployment | |
faad8a093fe5265f1572648d7a462b76059aa360 | config/recipes/templates/monit/media_worker.erb | config/recipes/templates/monit/media_worker.erb | check process media_worker
with pidfile <%= media_worker_pid %>
start program = "/bin/sh -l -c '. /home/deploy/smartchat_env && cd <%= current_path %>/worker && PATH=/opt/rbenv/shims:/opt/rbenv/bin:$PATH RBENV_ROOT=/opt/rbenv DAEMON_ENV=<%= rails_env %> bundle exec ./bin/smartchat start --pidfile <%= media_worker_p... | check process media_worker
with pidfile <%= media_worker_pid %>
start program = "/bin/sh -l -c '. /home/deploy/smartchat_env && cd <%= current_path %>/worker && PATH=/opt/rbenv/shims:/opt/rbenv/bin:$PATH RBENV_ROOT=/opt/rbenv DAEMON_ENV=<%= rails_env %> bundle exec ./bin/smartchat start --pidfile <%= media_worker_p... | Include rbenv opts in stop program section for media worker monit file | Include rbenv opts in stop program section for media worker monit file
| HTML+ERB | mit | smartlogic/smartchat-api |
7549be77fbc2411c9804f9717fcad381906203a0 | modules/localrepo/templates/base_pkgs.erb | modules/localrepo/templates/base_pkgs.erb | alsa-lib
apr
apr-util
bluez-libs
bluez-utils
cpp
emacs
emacs-nox
emacs-common
gcc
giflib
glibc
glibc-common
glibc-devel
glibc-headers
gmp
httpd
java-1.6.0-openjdk
jpackage-utils
kernel-headers
libXtst
libart_lgpl
libgcc
libgomp
libxslt
mysql
mysql-server
neon
nscd
ntp
openssh
openssh-clients
openssh-server
perl-DBD-MyS... | alsa-lib
apr
apr-util
bluez-libs
bluez-utils
cpp
emacs
emacs-nox
emacs-common
fuse
fuse-libs
gcc
giflib
glibc
glibc-common
glibc-devel
glibc-headers
gmp
httpd
java-1.6.0-openjdk
jpackage-utils
kernel-headers
libXtst
libart_lgpl
libgcc
libgomp
libxslt
mysql
mysql-server
neon
nscd
ntp
openssh
openssh-clients
openssh-serv... | Add fuse* packages These were in base, not epel | Add fuse* packages
These were in base, not epel
| HTML+ERB | apache-2.0 | kjhenner/puppetlabs-training-bootstrap,samuelson/puppetlabs-training-bootstrap,puppetlabs/puppetlabs-training-bootstrap,samuelson/puppetlabs-training-bootstrap,wbhamilton/puppetlabs-training-bootstrap,klynton/puppetlabs-training-bootstrap,kjhenner/puppetlabs-training-bootstrap,klynton/puppetlabs-training-bootstrap,wbha... |
c9e8c4d9c82b78bf78de0a8db23e10bad335e7fe | substrate/modules/vagrant_substrate/templates/windows_curl_builder.ps1.erb | substrate/modules/vagrant_substrate/templates/windows_curl_builder.ps1.erb | [String]$File_x86 = "<%= @curl_build_path %>\*i686-curl*.xz"
[String]$File_x64 = "<%= @curl_build_path %>\*x86_64-curl*.xz"
[Int]$MaxRetries = 720
$Retries = 0
$Found = $false
Start-Process "c:\msys64\msys2_shell.cmd" "-mingw64 -where <%= @cache_dir %> -no-start -f curl-bash-builder.sh" -Wait -PassThru -NoNewWindow
S... | [String]$File_x86 = "<%= @curl_build_path %>\*i686-curl*.xz"
[String]$File_x64 = "<%= @curl_build_path %>\*x86_64-curl*.xz"
[Int]$MaxRetries = 720
$Retries = 0
$Found = $false
Start-Process "c:\msys64\msys2_shell.cmd" "-mingw64 -where <%= @cache_dir %> -no-start -f curl-bash-builder.sh" -Wait -PassThru -NoNewWindow
S... | Remove post build pause on curl packages | Remove post build pause on curl packages
| HTML+ERB | mit | mitchellh/vagrant-installers,chrisroberts/vagrant-installers,chrisroberts/vagrant-installers,chrisroberts/vagrant-installers,chrisroberts/vagrant-installers,chrisroberts/vagrant-installers,mitchellh/vagrant-installers,mitchellh/vagrant-installers,mitchellh/vagrant-installers,mitchellh/vagrant-installers,chrisroberts/va... |
9fbcfa8674d2813177a2bdbfde134b23ce557367 | app/views/recipes/index.html.erb | app/views/recipes/index.html.erb | <h1>
<% if @user_recipes %>
Recipes by <%= @user_name %>
<% elsif @updated_after %>
Recipes updated after <%= @date %>
<% else %>
Recipes
<% end %>
</h1>
<%= render partial: "recipes/recipes", locals: {recipes: @recipes} %>
| <h1>Recipes
<%= 'by ' + @user_name if @user_recipes %>
<%= 'updated after ' + @date if @updated_after %>
</h1>
<%= render partial: "recipes/recipes", locals: {recipes: @recipes} %>
| Clean up index page's <h1> logic. | Clean up index page's <h1> logic.
| HTML+ERB | mit | jcpny1/recipe-cat,jcpny1/recipe-cat,jcpny1/recipe-cat,jcpny1/recipe-cat |
238aefdcb547f00ea9ec85d97acea56041dc3a2e | app/views/reports/_form.html.erb | app/views/reports/_form.html.erb | <%= form_for(@report) do |f| %>
<% if @report.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@report.errors.count, "error") %> prohibited this report from being saved:</h2>
<ul>
<% @report.errors.full_messages.each do |message| %>
<li><%= message %></li>
<% end %>
... | <%= form_for(@report, role: "form") do |f| %>
<h2 class="form-signin-heading"></h2>
<%= f.text_field :school, autofocus: true, required: true, placeholder: 'School', class: "form-control" %>
<%= f.text_field :dbn, autofocus: true, placeholder: 'DBN', class: "form-control" %>
<%= f.date_field :date, autof... | Update form to ask for correct paramters | Update form to ask for correct paramters
| HTML+ERB | mit | fma2/school-visits-tool,fma2/school-visits-tool |
c97fdb1e7fb784c4fbaaade0f20e3b471b02a248 | app/views/welcome/index.html.erb | app/views/welcome/index.html.erb | <div id="banner_logo" class="small-8 small-centered columns">
<div id="banner_info">
<h1>You've got — <span>BIG</span> goals!</h1>
<p>Whether you’re ready to conquer Mt. Everest, find Nirvana, or finally swap fast foods for whole foods,
OnlyChai is your new secret weapon in the battle for better health.... | <div id="banner_logo" class="small-8 small-centered columns">
<div id="banner_info">
<h1>You've got — <span>BIG</span> goals!</h1>
<p>Whether you’re ready to conquer Mt. Everest, find Nirvana, or finally swap fast foods for whole foods,
OnlyChai is your new secret weapon in the battle for better health.... | Connect signup button to signup route | Connect signup button to signup route
| HTML+ERB | mit | jjparseghian/only_chai_proto,jjparseghian/only_chai_proto,jjparseghian/only_chai_proto |
c2c016887a63ca76a49c1145cdb2aaedbcca8cb4 | app/views/welcome/index.html.erb | app/views/welcome/index.html.erb | <div class="jumbotron">
<div class="container">
<h1 class="display-3 text-center">Welcome to Picture</h1>
<p class="text-center mt-4"><%= link_to 'Sign up', new_user_registration_path, class: 'btn btn-lg btn-success', role: 'button' %></p>
</div>
</div>
<footer class="mt-4">
<p class="text-center text-mu... | <div class="jumbotron">
<div class="container">
<h1 class="display-3 text-center">Welcome to Picture</h1>
<% unless user_signed_in? %>
<p class="text-center mt-4"><%= link_to 'Sign up', new_user_registration_path, class: 'btn btn-lg btn-success', role: 'button' %></p>
<% end %>
</div>
</div>
<foo... | Hide sign up button if signed in | Hide sign up button if signed in
| HTML+ERB | mit | vinc/pi.ctu.re,vinc/pi.ctu.re,vinc/pi.ctu.re |
7e42b2deea175c51d05d23018204a643eaba6beb | alert_templates/prod/diego-unhealthy-cell.json.erb | alert_templates/prod/diego-unhealthy-cell.json.erb | {
"escalation_message": null,
"message": "A cell has been reporting unhealthy for 30 minutes or more.\n\nPossible causes:\n- Diego cells can't make basic calls to the garden backend. \n\nEscalation Path: Pivotal Diego Engineering getdiegonow@cfoundry.pagerduty.com\n\n<%= cloudops_pagerduty %> \n\nCreated by: Tushar... | Revert "Remove cell unhealthy alert" | Revert "Remove cell unhealthy alert"
- This alert is for periodic healthcheck for the rep
- This is different from BOSH's notion of unhealthiness
This reverts commit d20e205d6b9fec495a0919c6644ec758034c66b7.
| HTML+ERB | apache-2.0 | pivotal-cf-experimental/datadog-config-oss,pivotal-cf-experimental/datadog-config-oss | |
5cbcd74b5dd24791caf26bb0ec1856d8d5175b91 | app/views/parties/_representative_gallery.html.erb | app/views/parties/_representative_gallery.html.erb | <div id="representative-carousel" class="carousel slide">
<div class="carousel-inner">
<% representatives.each_slice(4).with_index do |representative_group, index| %>
<div class="item <%= 'active' if index == 0 %>">
<% representative_group.each do |representative| %>
<%= link_to(representa... | <div id="representative-carousel" class="carousel slide">
<div class="carousel-inner">
<% representatives.each_slice(4).with_index do |representative_group, index| %>
<div class="item <%= 'active' if index == 0 %>">
<% representative_group.each do |representative| %>
<%= link_to(representa... | Fix bug in representative carousel markup. | Fix bug in representative carousel markup.
| HTML+ERB | bsd-3-clause | holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site |
32c8f935658c2113ac2f02ab51488e963c025928 | app/views/admins/skills.html.erb | app/views/admins/skills.html.erb | <body>
<title>Manage Skils</title>
<div class="container">
<h2><%= "Manage Skills" %></h2>
<div class="row">
<div class="col-md-8">
<div class='page-header'>
<%= form_for :skill, url: "add_skill_path", method: :post, html: {class: "form-inline"} do |f| %>
<d... | <body>
<title>Manage Skils</title>
<div class="container">
<h2><%= "Manage Skills" %></h2>
<div class="row">
<div class="col-md-8">
<div class='page-header'>
<%= form_for :skill, url: add_skill_path, method: :post, html: {class: "form-inline"} do |f| %>
<div... | Add ability to create skills | [feature] Add ability to create skills
Signed-off-by: Colin Schoen <a3acbfc9b5a4c75eeeb7c33280348e7f320f1240@gmail.com>
| HTML+ERB | mit | colinschoen/enrollme,adnanhemani/enrollme,adnanhemani/enrollme,colinschoen/enrollme,adnanhemani/enrollme,colinschoen/enrollme |
bac457c44edd8d62f473a2d4e1391825951dab02 | app/views/gm_list/index.html.erb | app/views/gm_list/index.html.erb | <p id="notice"><%= notice %></p>
<h1><%= @event.name %></h1>
<h2><%= @event.location %></h2>
<h2><%= @event.start.to_formatted_s(:long) %> to <%= @event.end.to_formatted_s(:long) %></h2>
<!-- for now, first pass, list all the GMs -->
<table class="table table-striped">
<tr>
<th>GM Name</th>
<th>GM Forum Nam... | <p id="notice"><%= notice %></p>
<h1><%= @event.name %></h1>
<h2><%= @event.location %></h2>
<h2><%= @event.start.to_formatted_s(:long) %> to <%= @event.end.to_formatted_s(:long) %></h2>
<!-- for now, first pass, list all the GMs -->
<table class="table table-striped">
<tr>
<th>GM Name</th>
<th>GM Forum Nam... | Add session name to information displayed | Add session name to information displayed
| HTML+ERB | mit | Acerak2/registration,10000-Lakes-Gaming/registration,Acerak2/registration,Acerak2/registration,Acerak2/registration,10000-Lakes-Gaming/registration,10000-Lakes-Gaming/registration,10000-Lakes-Gaming/registration |
804c2e785deb5671839edf00125d19f449f029ca | app/views/api/user_configs/show.json.erb | app/views/api/user_configs/show.json.erb | {
"quick_reading": <%= user.quick_reading %>,
"open_all_entries": <%= user.open_all_entries %>,
"show_main_tour": <%= user.show_main_tour %>
} | {
"quick_reading": <%= user.quick_reading %>,
"open_all_entries": <%= user.open_all_entries %>,
"show_main_tour": <%= user.show_main_tour %>,
"show_mobile_tour": <%= user.show_mobile_tour %>
} | Return the show_mobile_tour flag with the rest of user configurations via JSON. | Return the show_mobile_tour flag with the rest of user configurations via JSON.
| HTML+ERB | mit | amatriain/feedbunch,amatriain/feedbunch,amatriain/feedbunch,amatriain/feedbunch,jmwenda/feedbunch,jmwenda/feedbunch,jmwenda/feedbunch |
5fb1c554e70d8c5d9cfdafbac01ead4c765a78ad | app/views/src_images/_src_image.html.erb | app/views/src_images/_src_image.html.erb | <% if src_image.work_in_progress %>
<%= render :partial => 'application/under_construction' %>
<% else %>
<%= link_to image_tag(url_for(src_image.src_thumb),
:size => "#{src_image.src_thumb.width}x#{src_image.src_thumb.height}", alt: src_image.name),
:controller => :gen... | <% if src_image.work_in_progress %>
<%= render :partial => 'application/under_construction' %>
<% else %>
<%= link_to image_tag(url_for(src_image.src_thumb),
size: "#{src_image.src_thumb.width}x#{src_image.src_thumb.height}", alt: src_image.name),
controller: :gend_imag... | Convert to ruby 1.9 style hashes. | Convert to ruby 1.9 style hashes.
| HTML+ERB | mit | mmb/meme_captain_web,mmb/meme_captain_web,mmb/meme_captain_web,mmb/meme_captain_web |
a33db1c6801a5ca04cb241c6e1edba0da776cfd4 | app/views/shared/_javascript.html.erb | app/views/shared/_javascript.html.erb | <%= javascript_include_tag :application %>
<%= render 'shared/yammer_javascript' %>
<% if Rails.env.test? %>
<%= javascript_tag do %>
$.ajaxSetup({ async: false });
<% end %>
<% else %>
<%= render 'shared/google_analytics_tracking_code' %>
<% end %>
<%= yield(:javascript) %>
| <%= javascript_include_tag :application %>
<%= render 'shared/yammer_javascript' %>
<% #FIXME When the Yammer Embed Feed is fixed remove jquery-migrate %>
<script src="http://code.jquery.com/jquery-migrate-1.1.1.min.js"></script>
<% if Rails.env.test? %>
<%= javascript_tag do %>
$.ajaxSetup({ async: false });
... | Add temporary fix for Yammer Embed | Add temporary fix for Yammer Embed
* Yammer Embed depends on jQuery.browser which was removed in v1.9+
* Scheddo uses jQuery v1.9
* Pending an Embed fix add the jquery-migration plugin for backwards compatability
* For info on the plugin: https://github.com/jquery/jquery-migrate
https://trello.com/c/dfXzOuG7
| HTML+ERB | mit | YOTOV-LIMITED/sched.do,YOTOV-LIMITED/sched.do,yammer/sched.do,mauricionr/sched.do,yammer/sched.do,mauricionr/sched.do,mauricionr/sched.do,yammer/sched.do,mauricionr/sched.do,YOTOV-LIMITED/sched.do,yammer/sched.do,YOTOV-LIMITED/sched.do |
41044e178df43a2d941674530fec3294defce707 | app/views/shared/_mobile_nav.html.erb | app/views/shared/_mobile_nav.html.erb | <ul class="mobile-nav">
<li class="mobile-nav__item">
<a href="#primaryNav">Menu</a>
</li>
<li class="mobile-nav__item">
<a href="#searchBar" class="icon icon--search">
<span class="visually-hidden">Search</span>
</a>
</li>
</ul>
| <ul class="mobile-nav">
<li class="mobile-nav__item">
<a href="#primary-nav">Menu</a>
</li>
</ul>
| Remove search from the mobile nav | Remove search from the mobile nav
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
6e1385a604ac09fb1ec49d11b197e8b9f8b5935e | app/views/tools/_call_script.html.erb | app/views/tools/_call_script.html.erb | <div class="call-script-box">
<h3 class="header">Before You Call</h3>
<p>This action will guide you through calling your representatives. You will likely either talk to a congressional staff member or be asked to leave a message. You might be asked your name and/or your zip code or address, so have those handy. Pre... | <div class="call-script-box">
<h3 class="header">Before You Call</h3>
<p>This action will guide you through calling your representatives. You will likely either talk to an office staff member or be asked to leave a message. You might be asked your name and/or your zip code or address, so have those handy. Press sta... | Update call script to account for other calls | Update call script to account for other calls
Fixes #878 | HTML+ERB | agpl-3.0 | EFForg/action-center-platform,EFForg/action-center-platform,EFForg/action-center-platform,EFForg/action-center-platform |
3f930692b3de765c6fdf6bd9e4448860f2b70c6b | source/_header.html.erb | source/_header.html.erb | <header>
<div class="container">
<div class="intro-text">
<div class="intro-lead-in">Together, we are a stronger Ruby community.</div>
<div class="intro-heading">Welcome To Ruby Belgium!</div>
<a href="#services" class="page-scroll btn btn-xl">Tell Me More</a>
</d... | <header>
<div class="container">
<div class="intro-text">
<div class="intro-lead-in">Together, we are a stronger Ruby community.</div>
<div class="intro-heading">Welcome To Ruby Belgium!</div>
<a href="#about" class="page-scroll btn btn-xl">Tell Me More</a>
</div>... | Fix the header button target | Fix the header button target
| HTML+ERB | mit | brug-be/rubybelgium,otagi/rubybelgium,otagi/rubybelgium,brug-be/rubybelgium,otagi/rubybelgium,brug-be/rubybelgium |
12e28e7d60a7ba28acd876bb52acb7ec176664c5 | config/generators/auth_providers.yml.erb | config/generators/auth_providers.yml.erb | base: &common
Google:
openid: https://www.google.com/accounts/o8/id
LinkedIn:
id: "rZ0uZNWaDgwCfg7FOYLcYzhotfsouhU9QssWSBrE4A4LZlh-KxngD0v0evXSYYwj"
token: "zCoTvISDEL6wJf4DP0-ATJCMqZCs6ysjNwtSGTy9_Tqbty18RyC3V3FIY1T-iay1"
development:
<<: *common
production:
<<: *common
test:
<<: *common
| base: &common
Google:
openid: https://www.google.com/accounts/o8/id
Github:
id: 'a086b50bada036abe74c'
token: '1396558fa122a92773d8b380581bd4cddcb27859'
development:
<<: *common
production:
<<: *common
test:
<<: *common
| Fix modify the auth_provider to only support Google and Github | Fix modify the auth_provider to only support Google and Github
| HTML+ERB | agpl-3.0 | weij/iAsk,weij/iAsk,weij/iAsk |
ee9aae915d9fd0b48f8af3a8f78809ac0f224271 | app/views/question/_answer_item.html.erb | app/views/question/_answer_item.html.erb | <dt>
<%= @category.meta.wikiname %>
</dt>
<dd>
<div class='tellmemore'><%= link_to "More info", "http://discover.amee.com/categories/#{@category.meta.wikiname}" %></div>
<% if @pi -%>
<div class='amount'>= <%= @pi.total_amount %>kg</div>
<% end -%>
<% if @item && @ivd -%>
<div class='details'>
I... | <dt>
<%= @category.meta.wikiname %>
</dt>
<dd>
<div class='tellmemore'><%= link_to "More info", "http://discover.amee.com/categories/#{@category.meta.wikiname}" %></div>
<div class='amount'>
<% if @pi -%>
= <%= @pi.total_amount %>kg
<% else -%>
There wasn't enough information to do a calculati... | Add help text if calc failed | Add help text if calc failed
| HTML+ERB | bsd-3-clause | OpenAMEE/askamee,OpenAMEE/askamee |
fe3d3c80bedeefa31ec8089b6fba514e09cccd26 | app/views/styleguide/components.html.erb | app/views/styleguide/components.html.erb | <h1>Components</h1>
<%= styleguide_section sections['icons'] do %>
<span class="icon $modifier_class"></span>
<span class="visually-hidden">hidden text</span>
<% end %>
<%= styleguide_section sections['buttons'] do %>
<a href="#url" class="button $modifier_class">link</a>
<button class="button $modifier_class... | <h1>Components</h1>
<%= styleguide_section sections['Opt out bar'] do %>
<%= render 'shared/opt_out_bar' %>
<% end %>
<%= styleguide_section sections['Primary Navigation'] do %>
<%= render 'shared/primary_nav' %>
<% end %>
<%= styleguide_section sections['Footer Site Links'] do %>
<%= render 'shared/footer_sit... | Remove components that are referenced in FES | Remove components that are referenced in FES
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
b71f793efe8b90e24fd93e0b9c90c1cb50830a4e | app/views/components/_result-item.html.erb | app/views/components/_result-item.html.erb | <%
title ||= nil
url ||= nil
description ||= nil
highlighted ||= false
group_index ||= 1
result_index ||= 1
css_classes = %w(app-c-result-item)
css_classes << "app-c-result-item--highlighted" if highlighted
%>
<%= tag.div class: css_classes do %>
<h4 class="govuk-heading-s">
<%= link_to title, url... | <%
title ||= nil
url ||= nil
description ||= nil
highlighted ||= false
group_index ||= 1
result_index ||= 1
css_classes = %w(app-c-result-item)
css_classes << "app-c-result-item--highlighted" if highlighted
%>
<%= tag.div class: css_classes do %>
<h4 class="govuk-heading-s">
<%= link_to (title + "... | Update link to provide a warning before automatically opening a new tab | Update link to provide a warning before automatically opening a new tab
| HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
916e1c786cc9d7660a3623a944f7297c1aae8eaa | app/views/styleguide/components_common.html.erb | app/views/styleguide/components_common.html.erb | <h1>Common Components</h1>
| <h1>Common Components</h1>
<%= styleguide_section sections['Call out'] do %>
<%= render 'shared/opt_out_bar' %>
<% end %>
| Add temp components to the styleguide | Add temp components to the styleguide
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
e4832be97443e13a019f58e9081a5f258ea19807 | app/views/admin/groups/_form.html.erb | app/views/admin/groups/_form.html.erb | <%= form_for [:admin, @group.organisation, @group] do |form| %>
<%= form.errors %>
<%= form.text_field :name %>
<%= form.fields_for :group_memberships do |membership_fields| %>
<fieldset>
<legend><%= membership_fields.object.new_record? ? "New member" : "Member" %></legend>
<%= membership_fields... | <%= form_for [:admin, @group.organisation, @group] do |form| %>
<%= form.errors %>
<%= form.text_field :name, placeholder: "Name of board, committee, etc. e.g. Defence Council" %>
<fieldset>
<legend>Members</legend>
<%= form.fields_for :group_memberships do |membership_fields| %>
<fieldset>
... | Tweak structure/layout of groups form. | Tweak structure/layout of groups form.
| HTML+ERB | mit | askl56/whitehall,hotvulcan/whitehall,hotvulcan/whitehall,alphagov/whitehall,YOTOV-LIMITED/whitehall,YOTOV-LIMITED/whitehall,askl56/whitehall,ggoral/whitehall,ggoral/whitehall,alphagov/whitehall,robinwhittleton/whitehall,YOTOV-LIMITED/whitehall,hotvulcan/whitehall,askl56/whitehall,alphagov/whitehall,robinwhittleton/whit... |
2d3d79d9cf3f235d0380faaa0814a03dc2b45b67 | app/views/admin/people/_form.html.erb | app/views/admin/people/_form.html.erb | <%
show_instantly_live_warning ||= false
show_consult_gds_warning ||= false
%>
<%= form_for [:admin, person] do |person_form| %>
<%= person_form.errors %>
<fieldset>
<%= person_form.check_box :privy_counsellor, label_text: 'Rt Hon?' %>
<%= person_form.text_field :title %>
<%= person_form.text_fiel... | <%
show_instantly_live_warning ||= false
show_consult_gds_warning ||= false
%>
<%= form_for [:admin, person] do |person_form| %>
<%= person_form.errors %>
<fieldset>
<%= person_form.check_box :privy_counsellor, label_text: 'Rt Hon?' %>
<%= person_form.text_field :title %>
<%= person_form.text_fiel... | Remove guidance about truncated biographies | Remove guidance about truncated biographies
This is no longer the case since migrating people pages over to
Collections. We made a decision to stop supporting this feature.
| HTML+ERB | mit | alphagov/whitehall,alphagov/whitehall,alphagov/whitehall,alphagov/whitehall |
a5be9e958e1927b8c330c17d7e98e516d9733c92 | app/views/layouts/mocks/show.html.erb | app/views/layouts/mocks/show.html.erb | <html xmlns="http://www.w3.org/1999/xhtml"
xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<title><%= @title || '' %> | Mockr</title>
<link rel="shortcut icon" href="/images/feelings/happy.gif" />
<%= stylesheet_link_tag "base", "shared/progress", "layouts/application" %>
<%= javascript_in... | <html xmlns="http://www.w3.org/1999/xhtml"
xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<title><%= @title || '' %> | Mockr</title>
<link rel="shortcut icon" href="/images/feelings/happy.gif" />
<%= stylesheet_link_tag "base", "shared/progress", "layouts/application" %>
<%= javascript_in... | Add jquery-ujs-rails to mocks/show layout | Add jquery-ujs-rails to mocks/show layout
Rails 3 and higher requires an unobtrusive JavaScript library to take care of
HTTP verbs like DELETE; the JavaScript intercepts the button click and handles
the DELETE.
Change-Id: Ie2e7a00659edcc9f615493fb5680868b5e56fa58
Reviewed-on: https://gerrit.causes.com/6054
Reviewed-b... | HTML+ERB | mit | causes/mockr,causes/mockr,causes/mockr |
9396988ccbf6d8258750a3977d46ed64d7a35203 | layouts/default.html.erb | layouts/default.html.erb | <!DOCTYPE html>
<html lang="en">
<head>
<%=
render '_head',
:keywords => item[:keywords],
:description => item[:description],
:canonical => url_for(item),
:page_title => item[:title]
%>
</head>
<body>
<%= render '_header' %>
... | <!DOCTYPE html>
<html lang="en">
<head>
<%=
render '_head',
:keywords => item[:keywords],
:description => item[:description],
:canonical => url_for(item),
:page_title => item[:title]
%>
</head>
<body>
<%= render '_header' %>
... | Use "Published on" instead of "Published at". | Use "Published on" instead of "Published at".
Signed-off-by: Yorick Peterse <82349cb6397bb932b4bf3561b4ea2fad50571f50@gmail.com>
| HTML+ERB | mpl-2.0 | YorickPeterse/yorickpeterse.com,YorickPeterse/yorickpeterse.com |
7f750c4872018ad238087e7770b0598e80608d9c | app/views/runs/new.erb | app/views/runs/new.erb | <% title "upload" %>
<% content_for(:header) do %>
<% # We don't need this, but LiveSplit does until their next release. Without it, sharing via LiveSplit breaks. %>
<meta content="" name='<meta content="" name="csrf-token" />' />
<h2>drop it like it's hot</h2>
<h5>drag your splits onto this page, or any page</... | <% title "upload" %>
<% content_for(:header) do %>
<% # We don't need this, but LiveSplit does until their next release. Without it, sharing via LiveSplit breaks. %>
<meta content="" name='<meta content="" name="csrf-token" />' />
<h2>drop it like it's hot</h2>
<h5>drag your splits onto this page, or any page</... | Fix a bug that caused the upload form to not work | Fix a bug that caused the upload form to not work
| HTML+ERB | agpl-3.0 | BatedUrGonnaDie/splits-io,BatedUrGonnaDie/splits-io,glacials/splits-io,glacials/splits-io,BatedUrGonnaDie/splits-io,glacials/splits-io,glacials/splits-io,BatedUrGonnaDie/splits-io |
0ca7abce5163cf64830bd9af4724ee0543e9a3fe | app/views/services/new.html.erb | app/views/services/new.html.erb | <h1>New Service</h1>
<%= render 'form', service: @service, view_data: @services_presenter.form_data(@service.servicedata) %>
<br/>
<%= link_to 'Back', :back %>
| <h1>New Service</h1>
<%= render 'form', service: @service, view_data: @services_presenter.form_data(@service.servicedata) %>
<br/>
<%= link_to 'Back to profile', user_path(current_user) %>
| Change link back from new service | Change link back from new service
| HTML+ERB | mit | RomanSergeev/BBooking,RomanSergeev/BBooking,RomanSergeev/BBooking |
9d39d81b366ed0226ed3f31ffc87c843450fcafe | app/views/sessions/new.html.erb | app/views/sessions/new.html.erb | <h1>Sessions#new,</h1>
<p>Find me in app/views/sessions/new,.html.erb</p>
| <section>
<div class="container center">
<h1>Login</h1>
<%= form_tag sessions_path, method: :post do %>
<div class="field">
<%= text_field_tag :email, nil, placeholder: 'e-mail' %>
</div></br>
<div class="field">
<%= password_field_tag :password, nil, placeholder: 'password' ... | Update sessions new, fix typo | Update sessions new, fix typo
| HTML+ERB | mit | omaiki/Get_Referred,omaiki/Get_Referred,omaiki/Get_Referred |
4d6988a1a6ac1e1ca0612d5fc8e91ae5bfd94d1b | app/views/application/_buttons_update_back.html.erb | app/views/application/_buttons_update_back.html.erb | <div class="row">
<div class="col-md-3">
<%= f.button("#{submit_action ||= "Update"}", { class:"btn btn-default btn-primary btn-block update-button" }) %>
</div>
<div class="col-md-6">
</div>
<div class="col-md-3">
<a href="<%= applicant_path(@current_applicant) %>" class="btn btn-info pull-right">
... | <input type="hidden" name="submitType">
<div class="row">
<div class="col-md-12">
<%= f.button("#{submit_action ||= "Save"}", { class:"btn btn-default btn-primary btn-block update-button" }) %>
</div>
</div>
<nav>
<ul class="pager">
<li class="previous">
<a href="<%= "#" %>"><span aria-hidden="tru... | Add non-functional pager buttons and remove back button | Add non-functional pager buttons and remove back button
| HTML+ERB | mit | dclegalhackers/districthousing,MetricMike/districthousing,codefordc/districthousing,adelevie/districthousing,MetricMike/districthousing,uncompiled/districthousing,dclegalhackers/districthousing,lankyfrenchman/dchousing-apps,meiao/districthousing,MetricMike/districthousing,codefordc/districthousing,meiao/districthousing... |
56e3cd1b22cdbb9f0af836cc7b44803c4c45a5ca | app/views/accounts/admin.html.erb | app/views/accounts/admin.html.erb | <div class="container order form">
<h1 class="page-title">Manage Accounts / Admin</h1>
<%= form_tag(accounts_path, method: "get", id: "account-form") do %>
<%= select("account", "account_id", Account.all.collect {|a| [ "#{a.first_name} #{a.last_name} #{ '| ' + a.company if a.company.present?}", a.id ] } + [["V... | <div class="container order form">
<h1 class="page-title">Manage Accounts</h1>
<%= form_tag(accounts_path, method: "get", id: "account-form") do %>
<%= select("account", "account_id", Account.all.collect {|a| [ "#{a.first_name} #{a.last_name} #{ '| ' + a.company if a.company.present?}", a.id ] } + [["View Al... | Change title add classes and ids for displaying js | Change title add classes and ids for displaying js
| HTML+ERB | mit | Dom-Mc/fetch_it,Dom-Mc/fetch_it,Dom-Mc/fetch_it |
a069475a106235db36d8935290fc69f79dc4147b | app/views/passwords/show.html.erb | app/views/passwords/show.html.erb | <%= render layout: "shared/model_show" do %>
<%= attribute_table_row(t("myplaceonline.passwords.name"), @obj.name) %>
<%= attribute_table_row(t("myplaceonline.passwords.password"), @obj.password, @obj.password, "bghighlight") %>
<%= attribute_table_row(t("myplaceonline.passwords.user"), @obj.user) %>
<%= attri... | <%= render layout: "shared/model_show" do %>
<%= attribute_table_row(t("myplaceonline.passwords.name"), @obj.name) %>
<%= attribute_table_row(t("myplaceonline.passwords.password"), @obj.password, @obj.password, "bghighlight") %>
<%= attribute_table_row(t("myplaceonline.passwords.user"), @obj.user) %>
<%= attri... | Use real URL in clipboard | Use real URL in clipboard
| HTML+ERB | agpl-3.0 | myplaceonline/myplaceonline_rails,myplaceonline/myplaceonline_rails,myplaceonline/myplaceonline_rails |
308324fec66d228a6fb27afcc15d995c9f1a4960 | server/app/views/shared/_footer.html.erb | server/app/views/shared/_footer.html.erb | <div class="container">
<footer class="page-footer">
<%= "© 2012-#{Time.now.year}" %> — ernte-teilen.org
<%= link_to t('nav.terms'), terms_path %> | <%= link_to t('nav.imprint'), contact_path %>
</footer>
</div>
| <div class="container">
<footer class="page-footer">
<%= "© 2012-#{Time.now.year}" %> — ernte-teilen.org
<%= link_to t('nav.privacy'), privacy_path %>
| <%= link_to t('nav.imprint'), contact_path %>
</footer>
</div>
| Add privacy link to footer navigation. | Add privacy link to footer navigation.
| HTML+ERB | agpl-3.0 | teikei/teikei,teikei/teikei,teikei/teikei |
b71f084792ecda11c9e9c4cf00f2be338832875d | app/views/form_picker/index.html.erb | app/views/form_picker/index.html.erb | <%= form_for @applicant do |f| %>
<h2>About you</h2>
<%= f.fields_for :identity do |builder| %>
<%= render partial: "person_form", locals: { builder: builder } %>
<hr>
<% end %>
<%= f.button("Update") %>
<h2>Houshold members</h2>
<%= f.fields_for :household_members do |builder| %>
<%= render... | <%= form_for @applicant do |f| %>
<h2>About you</h2>
<%= f.fields_for :identity do |builder| %>
<%= render partial: "person_form", locals: { builder: builder } %>
<hr />
<% end %>
<%= f.button("Update") %>
<h2>Houshold members</h2>
<%= f.fields_for :household_members do |builder| %>
<%= rend... | Make the <hr> tags proper empty elements | Make the <hr> tags proper empty elements
| HTML+ERB | mit | MetricMike/districthousing,dclegalhackers/districthousing,MetricMike/districthousing,meiao/districthousing,codefordc/districthousing,lankyfrenchman/dchousing-apps,adelevie/districthousing,uncompiled/districthousing,uncompiled/districthousing,codefordc/districthousing,dmjurg/districthousing,MetricMike/districthousing,jr... |
98ed6b73bd03c60921a6905e0f96a22729eeb62f | app/views/spree/orders/show.html.erb | app/views/spree/orders/show.html.erb | <div data-hook="order_container" class="container">
<fieldset id="order_summary" data-hook>
<legend><%= Spree.t(:order_number, :number => @order.number) %></legend>
<h1><%= accurate_title %></h1>
<div id="order" data-hook>
<% if params.has_key? :checkout_complete %>
<h1><%= Sp... | <div data-hook="order_container" class="container">
<fieldset id="order_summary" data-hook>
<legend><%= Spree.t(:order_number, :number => @order.number) %></legend>
<h1><%= accurate_title %></h1>
<div id="order" data-hook>
<% if params.has_key? :checkout_complete %>
<h1><%= Sp... | Add badge to order confirmation | Add badge to order confirmation
| HTML+ERB | bsd-3-clause | AnnArborTees/spree_annarbortees_theme,AnnArborTees/spree_annarbortees_theme,AnnArborTees/spree_annarbortees_theme |
6f9e4a2dbdd908f3cd89b752c2dab13da74d224c | app/views/users/show/_teams.html.erb | app/views/users/show/_teams.html.erb | <%= pull_box("Team memberships", :class => "teams pull-box-390") do %>
<ul>
<% teams.each do |team| %>
<li style="clear:left">
<span style="float:left; padding: 2px 10px 2px 2px">
<%= image_tag(team.avatar.url(:thumb), :alt => "Avatar", :width => "16") %>
</span>
<%= link_t... | <%= pull_box("Team memberships") do %>
<table class="table">
<% teams.each do |team| %>
<tr>
<td>
<%= image_tag(team.avatar.url(:thumb), :alt => "Avatar", :width => "16") %>
<%= link_to h(team.name), group_path(team) %>
</td>
</tr>
<% end %>
</table>
<% end %>... | Update markup in team memberships box | Update markup in team memberships box
| HTML+ERB | agpl-3.0 | rae/gitorious-mainline,rae/gitorious-mainline,tigefa4u/gitorious-mainline,tigefa4u/gitorious-mainline,SamuelMoraesF/Gitorious,gitorious/mainline,SamuelMoraesF/Gitorious,Gitorious-backup/mainline,SamuelMoraesF/Gitorious,Gitorious-backup/mainline,elcom/gitorious,spencerwp/mainline,spencerwp/mainline,spencerwp/mainline,ra... |
4df00aeab41e78a390551e87fc0037f2a0cacd9d | views/layout.erb | views/layout.erb | <!DOCTYPE HTML>
<html>
<head>
<title>Heroku Backup Orchestrator</title>
<link rel="stylesheet" type="text/css" href="/hba.css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="/hba.js"></script>
</head>
<body... | <!DOCTYPE HTML>
<html>
<head>
<title>Heroku Backup Orchestrator</title>
<link rel="stylesheet" type="text/css" href="/hba.css" />
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="/hba.js"></script>
</head>
<bod... | Use https for jQuery src via Google Libraries API | Use https for jQuery src via Google Libraries API
| HTML+ERB | mit | peterskeide/heroku-backup-orchestrator,peterskeide/heroku-backup-orchestrator |
c6789f04f91eaf7ff0d066bb2f6a62a7b4517ab1 | views/layout.erb | views/layout.erb | <!DOCTYPE html>
<html lang="en">
<head>
<title>Open Panopticlick</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0-rc1/css/bootstrap.min.css" rel="stylesheet" media="screen">
</head>
<body>
<div class="row">
<... | <!DOCTYPE html>
<html lang="en">
<head>
<title>Open Panopticlick</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0-rc1/css/bootstrap.min.css" rel="stylesheet" media="screen">
</head>
<body>
<div class="row">
<... | Make navbar wider than content | Make navbar wider than content
| HTML+ERB | agpl-3.0 | p8952/open-panopticlick |
927033fb608a02494add3648e5285f5f39f75e73 | BHCDatabase/app/views/users/show.html.erb | BHCDatabase/app/views/users/show.html.erb | <% provide(:title, @user.name) %>
<h1>
<%= @user.name %><br>
<%= @user.telephone %><br>
<%= @user.dob %>
</h1>
| <% provide(:title, @user.name) %>
<h1>
<%= @user.name %><br>
<%= @user.telephone %><br>
<%= @user.dob %>
<% @user.enrolments.each do |e| %>
<p><%= e.initiative.name %></p>
<% end %>
</h1>
| Add very basic provisions for displaying initiatives user in enrolled in on show page. | Add very basic provisions for displaying initiatives user in enrolled in on show page.
| HTML+ERB | mit | DaBrown95/BHCDatabase,DaBrown95/BHCDatabase,DaBrown95/BHCDatabase |
aadb7b561a1251f9efb029e5e2d2f9a84180db2c | app/views/admin/dashboard/_panel.html.erb | app/views/admin/dashboard/_panel.html.erb | <div class="card mb-3">
<h2 class="card-header h3"><%= title %></h2>
<div class="table-responsive">
<table class="forest-table table table-striped table-sm mb-0">
<thead>
<tr>
<th class="px-3" width="10%">Index</th>
<th class="px-3" width="20%">Resource type</th>
<th ... | <div class="card mb-3">
<h2 class="card-header h3"><%= title %></h2>
<div class="table-responsive">
<table class="forest-table table table-striped table-sm mb-0">
<thead>
<tr>
<th class="px-3" width="10%">Index</th>
<th class="px-3" width="20%">Resource type</th>
<th ... | Update dashboard panel to only count media items that are not_hidden | Update dashboard panel to only count media items that are not_hidden
| HTML+ERB | mit | dylanfisher/forest,dylanfisher/forest,dylanfisher/forest |
3a44ff1a40d3234c2055cea248d2739fec463e3c | app/views/admin/menus/index.html.erb | app/views/admin/menus/index.html.erb | <%= render 'admin/headers/index', records: @menus, model_name: 'Menu' %>
<div class="table-responsive">
<table class="forest-table table table-striped">
<thead>
<tr>
<th>Title</th>
<th>Slug</th>
<th>Structure</th>
<th colspan="3"></th>
</tr>
</thead>
<tbody>
... | <%= render 'admin/headers/index', records: @menus, model_name: 'Menu' %>
<div class="table-responsive">
<table class="forest-table table table-striped">
<thead>
<tr>
<th>Title</th>
<th>Slug</th>
<th>Structure</th>
<th colspan="3"></th>
</tr>
</thead>
<tbody>
... | Optimize N+1 query in menus index | Optimize N+1 query in menus index
| HTML+ERB | mit | dylanfisher/forest,dylanfisher/forest,dylanfisher/forest |
1361bf0cc6469963ba48934010202516616ea2e3 | app/views/layouts/exception.html.erb | app/views/layouts/exception.html.erb | <!DOCTYPE html>
<html>
<!-- Head -->
<head>
<!-- Info -->
<%= content_tag :title, "Error - #{@exception.status} (#{@exception.response.to_s.gsub("_", " ").titleize}) | #{Rails.application.class.parent_name.titleize}" %>
<!-- Styling -->
<%= stylesheet_link_tag :exception_handler %>
<%= favicon_... | <!DOCTYPE html>
<html>
<!-- Head -->
<head>
<!-- Info -->
<%= content_tag :title, "Error - #{@exception.status} (#{@exception.response.to_s.gsub("_", " ").titleize})" %>
<!-- Styling -->
<%= stylesheet_link_tag :exception_handler %>
<%= favicon_link_tag "exception_handler/favicon.ico" %>
<... | Remove Invalid App Title Reference | Remove Invalid App Title Reference | HTML+ERB | mit | richpeck/exception_handler,richpeck/exception_handler,richpeck/exception_handler |
8ec0484115d0a2e893d0d48a8ba261fa4f680653 | app/views/tags/index.html.erb | app/views/tags/index.html.erb | <div class="col-lg-8">
<div class="jumbotron masthead">
<h1>ADD TAGS HERE</h1>
</div>
<div class="">
<ul>
<% Tag.all.each do |t| %>
<li><%= t.name %></li>
<% end %>
</ul>
</div>
</div>
<div class="clearfix"></div>
<div class="col-lg container">
<%= form_for :tag, html: {... | <div class="col-lg-8">
<div class="jumbotron masthead">
<h1>CREATE TAGS HERE</h1>
</div>
<div>
<p>
Existing tags:
</p>
<ul>
<% Tag.all.each do |t| %>
<li><%= t.name %></li>
<% end %>
</ul>
</div>
</div>
<div class="clearfix"></div>
<div class="col-lg containe... | Clarify list of existing tags | Clarify list of existing tags
| HTML+ERB | agpl-3.0 | Lessig2016/fixdemocracyfirst,Lessig2016/fixdemocracyfirst,bev-a-tron/fixdemocracyfirst,bev-a-tron/fixdemocracyfirst,bev-a-tron/fixdemocracyfirst,Lessig2016/fixdemocracyfirst,Lessig2016/fixdemocracyfirst,bev-a-tron/fixdemocracyfirst |
cb598f257aef1511e87bb6033e196e32e660b7dd | app/views/home/show.html.erb | app/views/home/show.html.erb | <% content_for :head do %>
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"url": "https://www.moneyadviceservice.org.uk",
"potentialAction": {
"@type": "SearchAction",
"target": "https://www.moneyadviceservice.org.uk/en/sear... | <% content_for :head do %>
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"url": "https://www.moneyadviceservice.org.uk/en",
"potentialAction": {
"@type": "SearchAction",
"target": "https://www.moneyadviceservice.org.uk/en/s... | Add localized url to google schema | Add localized url to google schema
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
dfc3586cc765859593f450ae5c2d0d01c42235be | app/views/home/show.html.erb | app/views/home/show.html.erb | <% set_meta_tags(canonical: root_url,
alternate: alternate_home_map,
description: t('.description').strip) %>
<%= render 'shared/homepage_feature',
strapline: t('.strapline'),
items: t('.featured') %>
<%= render 'shared/home_contact',
title: ... | <% set_meta_tags(canonical: root_url,
alternate: alternate_home_map,
description: t('.description').strip) %>
<%= render 'shared/homepage_feature',
strapline: t('.strapline'),
items: t('.featured') %>
<%= render 'shared/home_promoted', items: t('.promote... | Add new contact component to the homepage | Add new contact component to the homepage
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
b53c330fc525831dbeba68661b435783acc1571b | puppet/modules/mediawiki/templates/parsoid.conf.erb | puppet/modules/mediawiki/templates/parsoid.conf.erb | # vim: set ft=upstart:
# Upstart job configuration for Parsoid
# This file is managed by Puppet
description "Parsoid HTTP service"
start on (local-filesystems and net-device-up IFACE!=lo)
stop on runlevel [!2345]
setuid "www-data"
setgid "www-data"
env VCAP_APP_PORT="<%= @port %>"
env NODE_PATH="<%= @parsoid_path ... | # vim: set ft=upstart:
# Upstart job configuration for Parsoid
# This file is managed by Puppet
description "Parsoid HTTP service"
start on (local-filesystems and net-device-up IFACE!=lo)
stop on runlevel [!2345]
setuid "www-data"
setgid "www-data"
env VCAP_APP_PORT="<%= @port %>"
env NODE_PATH="<%= @dir %>/node_m... | Set NODE_PATH correctly for parsoid | Set NODE_PATH correctly for parsoid
The upstart config stanza to set NODE_PATH was using the undefined
'parsoid_path' variable instead of the correct 'dir' variable.
Change-Id: If332232a5c75b5e6026244af3e22db3222ba78b0
| HTML+ERB | mit | ankita-kumari/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,stuartbman/mediawiki-vagrant,HarriAlasi/wiki3dviewer,wikimedia/mediawiki-vagrant,HarriAlasi/wiki3dviewer,wikimedia/mediawiki-vagrant,stuartbman/mediawiki-vagrant,HarriAlasi/wiki3dviewer,HarriAlasi/wiki3dv... |
388bddc46850f958446399de410387df11faec32 | app/views/layout.erb | app/views/layout.erb | <!DOCTYPE html>
<html lang="en">
<head>
<!--
normalize.css removes cross-browser differences in defaults, e.g.,
differences in how form elements appear between Firefox and IE
See: http://necolas.github.com/normalize.css/
-->
<link rel="stylesheet" href="/css/normalize.css">
<!--
application.css ... | <!DOCTYPE html>
<html lang="en">
<head>
<!--
normalize.css removes cross-browser differences in defaults, e.g.,
differences in how form elements appear between Firefox and IE
See: http://necolas.github.com/normalize.css/
-->
<link rel="stylesheet" href="/css/normalize.css">
<!--
application.css ... | Remove Matt Bunday ZenChinese Styling | Remove Matt Bunday ZenChinese Styling
| HTML+ERB | mit | sampurcell/cranberries-survey-gorilla,sampurcell/cranberries-survey-gorilla,nathanluo112/Survey_Turkey,nyc-purple-martins-2015/the-squadron,nathanluo112/Survey_Turkey,aquarian5/Solo-Flashcards,ajessee/surveysquid,aquarian5/Solo-Flashcards,ajessee/surveysquid,smokecode/survey-llama,sampurcell/cranberries-survey-gorilla,... |
d0b3316e8eee0028d5ee138c0953403d8d56aa04 | source/_newsletter.erb | source/_newsletter.erb | <form class="<%= block_class %>__form" action="//unboxedconsulting.us11.list-manage.com/subscribe/post?u=831facdc5caf30c092463f1c0&id=e924413a0b" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" novalidate>
<div id="mc_embed_signup_scroll">
<div id="mce-responses">
<div id... | <form class="<%= block_class %>__form" action="//unboxedconsulting.us11.list-manage.com/subscribe/post?u=831facdc5caf30c092463f1c0&id=e924413a0b" method="post" name="mc-embedded-subscribe-form" novalidate>
<div>
<div style="position:absolute;left:-5000px;"><input type="text" name="b_831facdc5caf30c092463f1c0_... | Remove IDs from a mailchimp newsletter form. Since we're using 2 forms on the homepage - one on the actual page and second one in a footer we were dealing with duplicated IDs | Remove IDs from a mailchimp newsletter form. Since we're using 2 forms on the homepage
- one on the actual page and second one in a footer we were dealing with duplicated IDs
| HTML+ERB | mit | unboxed/ubxd_web_refresh,unboxed/ubxd_web_refresh,unboxed/unboxed.co,unboxed/unboxed.co,unboxed/unboxed.co,unboxed/ubxd_web_refresh |
2415d91764d2afea7f2379b7bda387fe25646e7e | app/views/wp_installations/index.html.erb | app/views/wp_installations/index.html.erb | <h1>Wordpress installations</h1>
<div class="nav nav-pills">
<li class="active"><%= link_to 'Register a new Installation', new_wp_installation_path %></li>
</div>
<table class="table table-hover" id="wp-installations-list">
<thead>
<tr>
<th>Name</th>
<th>URL</th>
<th>Actions</th>
</tr>
... | <h1>Wordpress installations</h1>
<div class="nav nav-pills">
<li class="active"><%= link_to 'Register a new Installation', new_wp_installation_path %></li>
</div>
<table class="table table-hover" id="wp-installations-list">
<thead>
<tr>
<th>Name</th>
<th>URL</th>
<th>Actions</th>
</tr>
... | Disable update check link during check | Disable update check link during check
using some UJS
fixes #45
| HTML+ERB | mit | sideshowcoder/pressevent,sideshowcoder/pressevent,sideshowcoder/pressevent |
8a14e14cc294bece5bb176b7cafdbe5b141b398b | lib/smart_answer_flows/student-finance-calculator/student_finance_calculator.erb | lib/smart_answer_flows/student-finance-calculator/student_finance_calculator.erb | <% text_for :title do %>
Student finance calculator
<% end %>
<% text_for :meta_description do %>
Student finance calculator - get a quick estimate of what student loans, grants, bursaries and other funding you could get - for full-time, part-time and EU students
<% end %>
<% govspeak_for :body do %>
This calcu... | <% text_for :title do %>
Student finance calculator
<% end %>
<% text_for :meta_description do %>
Student finance calculator - get a quick estimate of what student loans, grants, bursaries and other funding you could get - for full-time, part-time and EU students
<% end %>
<% govspeak_for :body do %>
This calcu... | Update years for start page of student finance calculator | Update years for start page of student finance calculator
We updated the calculator in
https://github.com/alphagov/smart-answers/pull/5119 but didn't update
the start page to reflect this change.
| HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
7fde2151fb21cfeeb77db16d1cef19ae0ac3970c | app/views/artists/_rankings_table.html.erb | app/views/artists/_rankings_table.html.erb | <table class="pure-table pure-table-horizontal">
<thead>
<tr>
<th>Rank</th>
<th>Artist Name</th>
<th>BTELO Score</th>
</tr>
</thead>
<tbody class="artist-rankings">
<% artists.each do |artist| %>
<tr class="artist-row">
<td class="artist-rank"><%= artist[0] %></td>
... | <table class="pure-table pure-table-horizontal">
<thead>
<tr>
<th>Rank</th>
<th>Artist Name</th>
<th>BTELO Score</th>
</tr>
</thead>
<tbody class="artist-rankings">
<% last_place_printed = 0 %>
<% artists.each do |artist| %>
<tr class="artist-row">
<% if artist[0] !... | Remove duplicate numbers from top 40 lists | Remove duplicate numbers from top 40 lists
| HTML+ERB | mit | pdynowski/best-thing-ever,pdynowski/best-thing-ever,pdynowski/best-thing-ever |
bca20ba7b8874db68f4a0a07f2dd88afd22dc620 | app/views/feeds/news.html.erb | app/views/feeds/news.html.erb | <%
def summarize(text)
clean = text.gsub(/<[^>]+>/i," ").gsub(/&[a-zA-Z]+;/," ").sub(/^\s+/,'')
summary = clean.match(/^^((\b\w+\b|\W+){25}[^.]*\.)/)
if summary.length > 0
return summary + " [...]"
else
return clean
end
end
%>
<ul>
<% @entries.each do |entry| %>
<li class='post' onclick='locatio... | <%
def summarize(text)
clean = text.gsub(/<[^>]+>/i," ").gsub(/&[a-zA-Z]+;/," ").sub(/^\s+/,'')
summary = clean[/^((\b\w+\b|\W+){25}[^.]*\.)/, 0]
if summary.length > 0
return summary + " [...]"
else
return clean
end
end
%>
<ul>
<% @entries.each do |entry| %>
<li class='post' onclick='location.hr... | Change how summary is captured | Change how summary is captured
| HTML+ERB | mit | CMP-Studio/cmoa-app-cms,CMP-Studio/cmoa-app-cms,CMP-Studio/cmoa-app-cms |
75f72a7fb25856447e9344e15a783634a70bf57d | app/views/users/edit.html.erb | app/views/users/edit.html.erb | <%= form_for @user, :html => {:class => "pure-form"} do |f| %>
<p><%= f.text_field :name, placeholder: "Name" %><br>
<%= f.text_field :email, placeholder: "Email" %><br>
<%= f.password_field :password, placeholder: "New Password" %><br>
<%= f.password_field :password_confirmation, placeholder: "Confirm Password... | <%= form_for @user, :html => {:class => "pure-form"} do |f| %>
<%= f.text_field :name, placeholder: "Name" %>
<%= f.text_field :email, placeholder: "Email" %>
<%= f.password_field :password, placeholder: "New Password" %>
<%= f.password_field :password_confirmation, placeholder: "Confirm Password" %>
<%= f.su... | Remove extra space created by p tags | Remove extra space created by p tags
| HTML+ERB | mit | mud-turtles-2014/palate,mud-turtles-2014/palate |
3141e25b5c1cbb8a56dc90bec4f8a87dc4489003 | app/views/users/edit.html.erb | app/views/users/edit.html.erb | <% if flash[:user_update_error] %>
<div class="error"><%= flash[:user_update_error] %></div>
<% end %>
<div>
<h1>Edit your profile.</h1>
<%= form_for @user, method: 'patch', url: @user do |f| %>
<p>
<%= f.label :name %><br>
<%= f.text_field :name %>
</p>
<p>
<%= f.label :email %><br... | <% if flash[:user_update_error] %>
<div class="error"><%= flash[:user_update_error] %></div>
<% end %>
<div>
<h1>Edit your profile.</h1>
<%= form_for :user, method: 'patch', url: user_path do |f| %>
<p>
<%= f.label :name %><br>
<%= f.text_field :name %>
</p>
<p>
<%= f.label :email %... | Change user edit form for url. | Change user edit form for url.
| HTML+ERB | mit | pdynowski/best-thing-ever,pdynowski/best-thing-ever,pdynowski/best-thing-ever |
a6bb55adb09d7ba58d14653f0a2aa06dcae5b64a | app/views/backend/content/_image.html.erb | app/views/backend/content/_image.html.erb | <% if object.present? && object.file.present? %>
<% if object.url.present? %>
<%= link_to object.url, class: 'th radius' do %>
<%= image_tag object.file.url, alt: '' %>
<% end %>
<% else %>
<%= image_tag object.file.url, alt: '' %>
<% end %>
<% if object.caption.present? %>
<%= object.c... | <% if object.present? && object.file.present? %>
<% if object.url.present? %>
<%= link_to object.url, class: 'th radius' do %>
<%= image_tag object.file.size_1024x640.url, alt: '' %>
<% end %>
<% else %>
<%= image_tag object.file.size_1024x640.url, alt: '' %>
<% end %>
<% if object.caption.... | Use a smaller preview size. | Use a smaller preview size.
| HTML+ERB | mit | udongo/udongo,udongo/udongo,udongo/udongo |
6e06cdcc69533a41525922d1b5f79b6679be1f0b | app/views/projects/_content_item.html.erb | app/views/projects/_content_item.html.erb | <%= simple_form_for content_item, url: project_content_item_path(content_item.project, content_item), remote: true do |f| %>
<%= token_tag %>
<%= link_to content_item.title, content_item.url, target: '_blank' %>
<%= f.input :taxons,
placeholder: 'Choose one...',
label: false,
input_html: { class: [:se... | <%= simple_form_for content_item, url: project_content_item_path(content_item.project, content_item), remote: true do |f| %>
<%= token_tag %>
<%= link_to content_item.title, content_item.url, target: '_blank' %>
<%= f.input :taxons,
placeholder: 'Choose one...',
label: false,
input_html: { class: [:se... | Set inputs to autocomplete: off | Set inputs to autocomplete: off
In the project based tagging interface. As a custom autocomplete
implementation is used, stop the browser from getting involved.
Also, in Firefox, if autocomplete is enabled, Firefox will remember
input values across page refreshes, which for this page can be quite
confusing.
| HTML+ERB | mit | alphagov/content-tagger,alphagov/content-tagger,alphagov/content-tagger |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.