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 |
|---|---|---|---|---|---|---|---|---|---|
0a73529e913a145951659a244e814c2e40e7e264 | lib/views/public_body/_more_info.html.erb | lib/views/public_body/_more_info.html.erb | <h2><%= _('More about this authority')%></h2>
<% if !public_body.calculated_home_page.nil? %>
<%= link_to _('Home page of authority'), public_body.calculated_home_page %><br>
<% end %>
<% if !public_body.publication_scheme.blank? %>
<%= link_to _('Publication scheme'), public_body.publication_scheme %><br>
<% end... | <h2><%= _('More about this authority')%></h2>
<% if !public_body.calculated_home_page.nil? %>
<%= link_to _('Home page of authority'), public_body.calculated_home_page %><br>
<% end %>
<% if !public_body.publication_scheme.blank? %>
<%= link_to _('Publication scheme'), public_body.publication_scheme %><br>
<% end... | Update links to the Charity Commission and Charity Register sites | Update links to the Charity Commission and Charity Register sites
Both sites have updated their URL structure so our current links to
registration pages of charities no longer work. This commit adopts the
current URL structures, although this may be fragile in the case of the
Charity Commission as they are currently l... | HTML+ERB | mit | mysociety/whatdotheyknow-theme,mysociety/whatdotheyknow-theme,mysociety/whatdotheyknow-theme |
08cfe034db09c237a740ebe56f9ef3d5b2971af1 | app/views/articles/new.html.erb | app/views/articles/new.html.erb | <h2>New article</h2>
<%= form_for :article do |f| %>
<p>
Title
</p>
<% end %> | <h2>New article</h2>
<%= form_for :article do |f| %>
<p>
<%= f.label :title %><br />
<%= f.text_field :title %>
</p>
<% end %> | Add text form and label | Add text form and label
| HTML+ERB | mit | Kraykin/Blog-sample,Kraykin/Blog-sample,Kraykin/Blog-sample |
12eb09353f011389b062c493edcf4f96dca9e3d5 | app/views/layouts/wiki.html.erb | app/views/layouts/wiki.html.erb | <% content_for :nav do %>
<h2><%= link_to 'wiki', page_path(Rails.configuration.wiki.home_page) %>:</h2>
<ul>
<% Rails.configuration.wiki.top_pages.each do |v| %>
<li><%= link_to v.name, v %></li>
<% end %>
</ul>
<ul class="find">
<li><%= link_to 'changelog', log_path %></li>
<li><%= link_... | <% content_for :nav do %>
<ul class="tops">
<% Rails.configuration.wiki.top_pages.each do |v| %>
<li><%= link_to v.name, v %></li>
<% end %>
</ul>
<ul class="find">
<li><%= link_to 'changelog', log_path %></li>
<li><%= link_to 'contents', pages_path %></li>
<li>
<%= render partial:... | Remove "home" from view template | Remove "home" from view template
| HTML+ERB | mit | TheArtificial/rails-wiki,TheArtificial/rails-wiki,TheArtificial/rails-wiki |
e895051f71c1d13ea46c5635b7641dbf38d31f08 | app/views/search/index.html.erb | app/views/search/index.html.erb | <h1 class="text-center">Search results for "<%= params[:search] %>"</h1>
<% if @corrals.empty? %>
Sorry, nothing matches your search...
<% else %>
<% @corrals.each do |corral| %>
<h3><%= corral.location %></h3>
<p>(<%= pluralize(corral.racks, "rack") %>)</p>
<% end %>
<% end %> | <h1 class="text-center">Search results for "<%= params[:search] %>"</h1>
<% if @corrals.empty? %>
Sorry, nothing matches your search...
<% else %>
<% @corrals.each do |corral| %>
<h3><%= link_to corral.location, corral_path(corral) %></h3>
<p>(<%= pluralize(corral.racks, "rack") %>)</p>
<% end %>
<% end ... | Add link_to at search result show page | Add link_to at search result show page
| HTML+ERB | mit | DanFerrer/Rackit,DanFerrer/Rackit,DanFerrer/Rackit |
2fe4e7d7e22ff92b8d33054dbe2f0a11579cb704 | app/views/sessions/new.html.erb | app/views/sessions/new.html.erb | <div class="jumbotron">
<h1>Gem in a Strong Box</h1>
<p>Private Ruby Gem Server</p>
<p>
<%= link_to omniauth_path('google'), class: "btn btn-primary btn-lg google" do %>
<%= icon('google', 'Login with Google') %>
<% end %>
<% if Rails.env.development? || Rails.env.test? %>
<%= link_to omn... | <div class="jumbotron">
<h1>Gem in a Strong Box</h1>
<p>Private Ruby Gem Server</p>
<p>
<%= link_to omniauth_path('google'), class: "btn btn-primary btn-lg google" do %>
<%= icon('google', 'Log in with Google') %>
<% end %>
<% if Rails.env.development? || Rails.env.test? %>
<%= link_to om... | Correct "login" (as a verb) to "log in" | Correct "login" (as a verb) to "log in"
Just a tiny typo fix
| HTML+ERB | apache-2.0 | zendesk/geminastrongbox,zendesk/geminastrongbox,zendesk/geminastrongbox |
d5680f2eb8eb8bbadefcca06868b61d4f9a25d9b | templates/default/default.vcl.erb | templates/default/default.vcl.erb | backend default {
.host = "<%= node['varnish']['backend_host'] %>";
.port = "<%= node['varnish']['backend_port'] %>";
}
| backend default {
.host = "<%= node['varnish']['backend_host'] %>";
.port = "<%= node['varnish']['backend_port'] %>";
}
acl internal_nrel {
"localhost";
}
sub vcl_recv {
# Allow internal connections to force cache misses for testing/debug
# purposes.
if (req.http.Cache-Control ~ "no-cache" &&... | Allow internal connection to force cache misses. | Allow internal connection to force cache misses.
| HTML+ERB | apache-2.0 | NREL-cookbooks/varnish,NREL-cookbooks/varnish |
e00ab16da98fb94953e7f7ba8616174d202b35dc | source/blag/posts/2016-09-29_the-captain-and-the-truth.html.md.erb | source/blag/posts/2016-09-29_the-captain-and-the-truth.html.md.erb | ---
title: The Captain and The Truth
category:
topic: Basketball
date: 2016-09-29 07:23:54 UTC
published: false
...
<iframe class="youtube" src="https://www.youtube.com/embed/oFIs_fo8cug" frameborder="0" allowfullscreen></iframe>
First off: Avery Bradley is a bad man. In a world where Eric Bledsoe is "mini
Lebron", A... | Add draft of Paul Pierce post | Add draft of Paul Pierce post
| HTML+ERB | mit | ambirdsall/ambirdsall.github.io | |
c19e0c833d06ea010e2ae1b8bb5e5c6be600ebe0 | app/views/backup_mailer/report_user_backup.html.erb | app/views/backup_mailer/report_user_backup.html.erb | <!DOCTYPE html>
<html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<p>Hello!</p>
<p>AACT User information is saved to the attached SQL files.</p>
<ul>
<% @files.each do |file_info| %>
<li><%= file_info[:file_name] %></li>
... | <!DOCTYPE html>
<html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<p>Hello!</p>
<p>AACT User information is saved to the attached SQL files.</p>
<ul>
<% @files.each do |file_info| %>
<li><%= file_info[:file_name] %></li>
... | Fix display of instructions about how to reload user data into the db | Fix display of instructions about how to reload user data into the db | HTML+ERB | mit | tibbs001/aact-1,tibbs001/aact-1,ctti-clinicaltrials/aact,tibbs001/aact-1,ctti-clinicaltrials/aact,ctti-clinicaltrials/aact |
a8ebb23385deab787dd79fab069af028bc227dc5 | app/views/current_user/pendant_records/new.html.erb | app/views/current_user/pendant_records/new.html.erb | <%= simple_form_for @pendant_record, url: my_pendant_records_path, remote: true do |f| %>
<div id="pendant-list">
<input type="search" class="search" placeholder="Search" />
<div class="list">
<%= render partial: 'radio_button', collection: @pendants.to_a, as: :pendant %>
</div>
<script>
... | <%= simple_form_for @pendant_record, url: my_pendant_records_path do |f| %>
<div id="pendant-list">
<input type="search" class="search" placeholder="Search" />
<div class="list">
<%= render partial: 'radio_button', collection: @pendants.to_a, as: :pendant %>
</div>
<script>
new List('pend... | Undo remote true to fix recording pendants | Undo remote true to fix recording pendants
| HTML+ERB | mit | coreyja/glassy-collections,coreyja/glassy-collections,coreyja/glassy-collections |
2dc208f79301d6ddab3845b9cefdd08697cbd4cb | app/views/spree/admin/sale_prices/_variant.html.erb | app/views/spree/admin/sale_prices/_variant.html.erb | <tr id="<%= spree_dom_id(variant) %>">
<td class="image text-center">
<% if variant.images.present? %>
<%= image_tag variant.images.first.attachment.url(:mini) %>
<% end %>
</td>
<td> <%= variant.sku_and_options_text %> </td>
<td>
<table class="table table-bordered no-marginb">
<thead>
... | <tr id="<%= spree_dom_id(variant) %>">
<td class="image text-center">
<% if variant.images.present? %>
<%= image_tag variant.images.first.attachment.url(:mini) %>
<% end %>
</td>
<td> <%= variant.sku_and_options_text %> </td>
<td>
<%- if variant.sale_prices.any? %>
<table class="table ta... | Add "No Sale Prices found" box when a variant has no sale prices | Add "No Sale Prices found" box when a variant has no sale prices
| HTML+ERB | bsd-3-clause | ronzalo/spree_sales,berkes/spree_sales,berkes/spree_sales,ronzalo/spree_sales,ronzalo/spree_sales,berkes/spree_sales |
dae386c68a20fffe319aa6dc340669e879f836fc | backend/app/views/spree/admin/reimbursement_types/index.html.erb | backend/app/views/spree/admin/reimbursement_types/index.html.erb | <%= render partial: 'spree/admin/shared/configuration_menu' %>
<% content_for :page_title do %>
<%= Spree.t(:reimbursement_types) %>
<% end %>
<% if @reimbursement_types.any? %>
<table class="index" id='listing_reimbursement_types' data-hook>
<thead>
<tr data-hook="reimbursement_types_header">
<... | <%= render partial: 'spree/admin/shared/configuration_menu' %>
<% content_for :page_title do %>
<%= Spree.t(:reimbursement_types) %>
<% end %>
<table class="index" id='listing_reimbursement_types' data-hook>
<thead>
<tr data-hook="reimbursement_types_header">
<th><%= Spree.t(:name) %></th>
<th><%=... | Remove links to the new action in reimbursement types. | Remove links to the new action in reimbursement types.
Reimbursement types does not have a new action.
| HTML+ERB | bsd-3-clause | jsurdilla/solidus,forkata/solidus,lsirivong/solidus,lsirivong/solidus,scottcrawford03/solidus,grzlus/solidus,bonobos/solidus,Arpsara/solidus,xuewenfei/solidus,scottcrawford03/solidus,lsirivong/solidus,xuewenfei/solidus,athal7/solidus,grzlus/solidus,bonobos/solidus,pervino/solidus,bonobos/solidus,jordan-brough/solidus,p... |
261de912b001eea86a722f4e4609ad0baf9821d7 | lib/views/frontend/spree/shared/_login.html.erb | lib/views/frontend/spree/shared/_login.html.erb | <%= form_for Spree::User.new, :as => :spree_user, :url => spree.create_new_session_path do |f| %>
<div id="password-credentials">
<p>
<%= f.label :email, Spree.t(:email) %><br />
<%= f.email_field :email, :class => 'title', :tabindex => 1 %>
</p>
<p>
<%= f.label :password, Spree.t(:passw... | <%= form_for Spree::User.new, :as => :spree_user, :url => spree.create_new_session_path do |f| %>
<div id="password-credentials">
<p>
<%= f.label :email, Spree.t(:email) %><br />
<%= f.email_field :email, :class => 'title', :tabindex => 1, autofocus: true %>
</p>
<p>
<%= f.label :passwor... | Add autofocus to login form | Add autofocus to login form
Springing from the discussion in https://github.com/spree/spree/issues/4715, this change allows the HTML5 `autofocus` attribute to put the cursor into the email field when displaying the login screen, which removes one step from the user login process.
Closes #190
| HTML+ERB | bsd-3-clause | yomishra/auth_devise,formrausch/spree_auth_devise,formrausch/spree_auth_devise |
b631f647b8320f9b914ebdf1183fa2896d72af57 | alert_templates/shared/cf/ping_monitor.json.erb | alert_templates/shared/cf/ping_monitor.json.erb | {
"escalation_message": null,
"message": "## Description:\nAverage latency to the destination: {{dest_ip.name}} is above 10ms. \n\n###About the source of this alert: \nThere are 100 app instances running in PWS in the cloudops/cloudops space that regularly ping {{dest_ip.name}}. \nThe application name is {{applicat... | {
"escalation_message": null,
"message": "## Description:\nAverage latency to the destination: {{dest_ip.name}} is above 10ms. \n\n###About the source of this alert: \nThere are 100 app instances running in PWS in the cloudops/cloudops space that regularly ping {{dest_ip.name}}. \nThe application name is {{applicat... | Extend threshold timeout to 15 min for outbound ping latency | Extend threshold timeout to 15 min for outbound ping latency
| HTML+ERB | apache-2.0 | pivotal-cf-experimental/datadog-config-oss,pivotal-cf-experimental/datadog-config-oss |
e498c21b85d22c1a47e8a5a21738c4cd11b78b40 | plugins/mezuro/views/cms/mezuro_plugin/_project_content.html.erb | plugins/mezuro/views/cms/mezuro_plugin/_project_content.html.erb | <h1> <%= _(MezuroPlugin::ProjectContent.short_description) %> </h1>
<%
@project = @article.title.nil? ? nil : @article.project
%>
<%= error_messages_for 'project_content' %>
<%= hidden_field_tag 'project_content[profile_id]', profile.id %>
<%= hidden_field_tag 'id', @article.id %>
<%= hidden_field_tag 'project_id'... | <h1> <%= _(MezuroPlugin::ProjectContent.short_description) %> </h1>
<%
@project = @article.title.nil? ? nil : @article.project
%>
<%= error_messages_for 'project_content' %>
<%= hidden_field_tag 'project_content[profile_id]', profile.id %>
<%= hidden_field_tag 'id', @article.id %>
<%= hidden_field_tag 'project_id'... | Comment to see where project_content cms partial is rendered | [Mezuro] Comment to see where project_content cms partial is rendered
| HTML+ERB | agpl-3.0 | uniteddiversity/noosfero,arthurmde/noosfero,LuisBelo/tccnoosfero,cesarfex/noosfero,coletivoEITA/noosfero-ecosol,hebertdougl/noosfero,CIRANDAS/noosfero-ecosol,arthurmde/noosfero,blogoosfero/noosfero,uniteddiversity/noosfero,hebertdougl/noosfero,abner/noosfero,hackathon-oscs/cartografias,evandrojr/noosfero,evandrojr/noos... |
fe87adc4d4567f2c162a5bffb97f21c7d819550c | admin/app/views/transactions/forms/_delete.html.erb | admin/app/views/transactions/forms/_delete.html.erb | <%= form_tag("/generate_delete_transaction", remote: true) do %>
<%= text_field_tag 'public_key', creator_address, hidden: true %>
<%= text_field_tag 'payload', payload, hidden: true %>
<%= text_field_tag 'priv_key', private_key, hidden: true %>
<%= submit_tag submit_name, class: "btn btn-default", data: { disa... | <%= form_tag("/generate_delete_transaction", remote: true) do %>
<%= text_field_tag 'public_key', creator_address, hidden: true %>
<%= text_field_tag 'payload', payload, hidden: true %>
<%= text_field_tag 'priv_key', private_key, hidden: true %>
<%= submit_tag submit_name, class: "btn btn-default", data: { disa... | Fix disable messages after name changes | Fix disable messages after name changes
| HTML+ERB | mit | bitcoupon/bitcoupon-on-rails,bitcoupon/bitcoupon-on-rails,bitcoupon/bitcoupon-on-rails,bitcoupon/bitcoupon-on-rails |
a8f99e750c34819f44892b17ec71c8ae13448d64 | app/views/application/_header.html.erb | app/views/application/_header.html.erb | <div class="ui large hidden container">
<div class="ui menu">
<div class="header item">Mailpenny</div>
<div class="item">
<div class="ui action left icon input">
<i class="search icon"></i>
<input type="text" placeholder="Search">
<button c... | <div class="ui large hidden container">
<div class="ui menu">
<div class="header item">Mailpenny</div>
<div class="item">
<div class="ui action left icon input">
<i class="search icon"></i>
<input type="text" placeholder="Search">
<button c... | Convert the menu items into anchor tags | Convert the menu items into anchor tags
| HTML+ERB | agpl-3.0 | payloadtech/mailpenny,payloadtech/mailpenny,payloadtech/mailpenny |
5fe2f07bba5782da7a3df5b362757d38f5c5d5d3 | app/views/backend/pases/_pase.html.erb | app/views/backend/pases/_pase.html.erb | <table class="well">
<tbody>
<tr>
<td class="field_name">
<%= resource_class.human_attribute_name(:ingreso) %>:
<%= pase.ingreso %>
</td>
</tr>
<tr>
<td class="field_name">
<%= resource_class.human_attribute_name(:descripcion) %>:
<%= p... | <table class="well">
<tbody>
<tr>
<td class="field_name">
<%= resource_class.human_attribute_name(:ingreso) %>:
<%= pase.ingreso %>
</td>
</tr>
<tr>
<td class="field_name">
<%= resource_class.human_attribute_name(:descripcion) %>:
<%= p... | Add link in the Nota-> pases section to the corresponding Area it was trasnfered | Add link in the Nota-> pases section to the corresponding Area it was trasnfered | HTML+ERB | agpl-3.0 | bluelemons/diputados,bluelemons/diputados |
9bee87604e21272f8948d9b49a29f11ee6026c5d | app/views/schools/find_out_more/_chart.html.erb | app/views/schools/find_out_more/_chart.html.erb | <% unless content.find_out_more_chart_title.blank? %>
<h3 class="analysis"><%= content.find_out_more_chart_title %></h3>
<% end %>
<div id="chart_wrapper_<%= chart %>" class="col-md-auto chart-wrapper">
<%= chart_tag(school, chart.to_s, wrap: false, show_advice: false, chart_config: {y_axis_units: '£'}, html_class:... | <div id="chart_wrapper_<%= chart %>" class="col-md-auto chart-wrapper">
<% unless content.find_out_more_chart_title.blank? %>
<h4 class="analysis"><%= content.find_out_more_chart_title %></h4>
<% end %>
<%= chart_tag(school, chart.to_s, wrap: false, show_advice: false, chart_config: {y_axis_units: '£'}, html_... | Revert to h4 instead of h3 | Revert to h4 instead of h3
| HTML+ERB | mit | BathHacked/energy-sparks,BathHacked/energy-sparks,BathHacked/energy-sparks,BathHacked/energy-sparks |
0dae9a0494023faf39a30640c3dcd8752b576b6d | app/views/admin/edition_organisations/edit.html.erb | app/views/admin/edition_organisations/edit.html.erb | <% page_title "Feature document" %>
<h2>Feature '<%= @edition_organisation.edition.title %>' within '<%= @edition_organisation.organisation.name %>'</h2>
<%= form_for [:admin, @edition_organisation], builder: Whitehall::FormBuilder do |form| %>
<%= form.errors %>
<%= form.hidden_field :featured %>
<%= form.fiel... | <% page_title "Feature document" %>
<h2>Feature '<%= @edition_organisation.edition.title %>' within '<%= @edition_organisation.organisation.name %>'</h2>
<div class="row-fluid">
<div class="span6">
<%= form_for [:admin, @edition_organisation], builder: Whitehall::FormBuilder do |form| %>
<%= form.errors %... | Make the form a bit less wide. | Make the form a bit less wide.
| HTML+ERB | mit | hotvulcan/whitehall,robinwhittleton/whitehall,alphagov/whitehall,hotvulcan/whitehall,robinwhittleton/whitehall,robinwhittleton/whitehall,hotvulcan/whitehall,YOTOV-LIMITED/whitehall,askl56/whitehall,alphagov/whitehall,ggoral/whitehall,hotvulcan/whitehall,askl56/whitehall,askl56/whitehall,askl56/whitehall,robinwhittleton... |
0d199830e2f4b1391b63894074fefbf103513673 | app/views/questions/_response.html.erb | app/views/questions/_response.html.erb | <div class="response">
<h3><i class="fa fa-user"></i> <%= response.user ? response.user.name : 'Default' %></h3>
<div class="vote">
<div class="votecount">
<a data-id="<%= response.id %>" class="upvote">↑</a>
<span data-id="<%= response.id %>"> <%= response.votes.count %> votes</span>
</... | <div class="response">
<h3><i class="fa fa-user"></i> <%= response.user ? response.user.name : 'Default' %></h3>
<div class="vote">
<div class="votecount">
<a data-id="<%= response.id %>" class="upvote">↑</a>
<% if response.votes.count == 1 %>
<span data-id="<%= response.id %>"> <%= ... | Add inflection logic for the word 'vote'. | Add inflection logic for the word 'vote'.
| HTML+ERB | mit | great-horned-owls-2014/dbc-what-is-this,great-horned-owls-2014/dbc-what-is-this |
9a775af7464f7f57e8b50beb296cde4187ae8e6a | app/views/dashboard/_common_assets.html.erb | app/views/dashboard/_common_assets.html.erb | <meta charset="UTF-8">
<script>
// IMPORTANT!!!!
// ALWAYS LOAD THIS *FIRST*
window.globalConfig = <%= raw($FRONTEND_SHARED_DATA) %> // SEE COMMENTS!;
// READ COMMENT ABOVE
</script>
<%= render "addons" %>
<meta content="width=device-width, initial-scale=1" name="viewport">
<link rel="stylesheet" href="https://maxcdn.b... | <meta charset="UTF-8">
<script>
// IMPORTANT!!!!
// ALWAYS LOAD THIS *FIRST*
window.globalConfig = <%= raw($FRONTEND_SHARED_DATA) %> // SEE COMMENTS!;
// READ COMMENT ABOVE
</script>
<%= render "addons" %>
<meta content="width=device-width, initial-scale=1" name="viewport">
<link rel="stylesheet" href="https://maxcdn.b... | Add `async` attr to Weinre tag so that local dev env doesnt get bogged down | Add `async` attr to Weinre tag so that local dev env doesnt get bogged down
| HTML+ERB | mit | FarmBot/Farmbot-Web-API,FarmBot/farmbot-web-app,gabrielburnworth/Farmbot-Web-App,RickCarlino/farmbot-web-app,RickCarlino/farmbot-web-app,RickCarlino/farmbot-web-app,FarmBot/Farmbot-Web-API,FarmBot/farmbot-web-app,FarmBot/Farmbot-Web-API,gabrielburnworth/Farmbot-Web-App,RickCarlino/farmbot-web-app,gabrielburnworth/Farmb... |
f16fa9ef27b36aed426746e842dabc7187c4642e | app/views/devise/registrations/new.html.erb | app/views/devise/registrations/new.html.erb | <h2>Sign up</h2>
<%= devise_error_messages! %>
<%= simple_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
<%# f.error_notification %>
<div class="form-inputs">
<%= f.input :email, required: true, autofocus: true %>
<%= f.input :first_name, required: true, autofocus:... | <h2>Log in</h2>
<%= devise_error_messages! %>
<%= simple_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
<div class="form-inputs">
<%= f.input :email, required: true, autofocus: true %>
<%= f.input :first_name, required: true, autofocus: true %>
<%= f.input :last_... | Replace sign in references on devise view with log in | Replace sign in references on devise view with log in
| HTML+ERB | mit | Dom-Mc/fetch_it,Dom-Mc/fetch_it,Dom-Mc/fetch_it |
0eb2eb00c4606bf1d69a1594fb821b2d39dccb74 | app/views/admin/attributes.html.erb | app/views/admin/attributes.html.erb | <div class="row">
<div class="col s12">
<h1>Attributes</h1>
</div>
</div>
<div class="row">
<div class="col s4">
<h2>Characters per user</h1>
<%= column_chart User.joins(:attribute_fields).group(:user_id).count().group_by { |n| n.last }.each_with_object({}) { |(content_count, ids), h| h[content_count... | <div class="row">
<div class="col s12">
<h1>Attributes</h1>
</div>
</div>
<div class="row">
<div class="col s4">
<h2>Attributes per user</h1>
<%= column_chart User.joins(:attribute_fields).group(:user_id).count().group_by { |n| n.last }.each_with_object({}) { |(content_count, ids), h| h[content_count... | Fix attributes admin page 500 | Fix attributes admin page 500
| HTML+ERB | mit | indentlabs/notebook,indentlabs/notebook,indentlabs/notebook |
7c0aab469bc73889d9cc502c8e2142bc07eca922 | app/views/events/show_quiz.html.erb | app/views/events/show_quiz.html.erb | form_for @user
<% @wine.properties.each do |property| %>
<p><%= property.property %></p>
<% property.options.each do |option| %>
<p><%= option.option %></p>
<!-- print option w radio button -->
<% end %>
<% end %>
<!-- option property_id
1 1
2 1
3 ... | Add initial show quiz view | Add initial show quiz view
| HTML+ERB | mit | mud-turtles-2014/palate,mud-turtles-2014/palate | |
60acc7439dc3419187f53aad6328f2fcf0dddae1 | app/views/help/ab_testing.html.erb | app/views/help/ab_testing.html.erb | <% content_for :title, "A/B testing - GOV.UK" %>
<% content_for :extra_headers do %>
<%= @requested_variant.analytics_meta_tag.html_safe %>
<meta name="robots" content="noindex">
<% end %>
<main id="content" role="main" class="group">
<%= render "govuk_publishing_components/components/title", {
title: "This ... | <% content_for :title, "A/B testing - GOV.UK" %>
<% content_for :extra_headers do %>
<%= @requested_variant.analytics_meta_tag.html_safe %>
<meta name="robots" content="noindex">
<% end %>
<main id="content" role="main" class="govuk-grid-column-two-thirds">
<%= render "govuk_publishing_components/components/titl... | Fix A/B testing test page | Fix A/B testing test page
| HTML+ERB | mit | alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend |
02f542ca3f9fe5d5fdfe135916f5e973e03ba145 | app/views/work_months/show.html.erb | app/views/work_months/show.html.erb | <p id="notice"><%= notice %></p>
<h2><%= @work_month.name %></h2>
<h2><%= "#{@work_month.year}-#{@work_month.month}" %></h2>
<table>
<% @work_month.work_days.each do |day| %>
<tr>
<td><%= day.date.strftime("%Y-%m-%d %a") %></td>
<td>Hours: <%= day.hours %></td>
<td>Absence: <%= day.absence %><... | <p id="notice"><%= notice %></p>
<h2><%= @work_month.name %></h2>
<h2><%= "#{@work_month.year}-#{@work_month.month}" %></h2>
<table>
<% @work_month.work_days.each do |day| %>
<tr>
<td><%= day.date.strftime("%Y-%m-%d %a") %></td>
<td>Hours: <%= day.hours %></td>
<td>Absence: <%= day.absence %><... | Remove the edit and back link on show page | Remove the edit and back link on show page
| HTML+ERB | mit | studentcompetitions/simple-log,studentcompetitions/simple-log,studentcompetitions/simple-log |
d1bfc4b3e06c0553cf026383d9fe5034fee829cb | app/views/mailbox/_folder_view.erb | app/views/mailbox/_folder_view.erb | <div class="mailbox row">
<%= render "mailbox/folders" %>
<div class="mailbox-messages right col s12 t10 l10">
<% if @pending_requests %>
<% @pending_requests.each do |req| %>
<div class="pending-request row">
<div class="request-info col s10">
<h4><%= link_to req.collaborator.userna... | <div class="mailbox row">
<%= render "mailbox/folders" %>
<div class="mailbox-messages right col s12 t10 l10">
<% if @pending_requests %>
<% @pending_requests.each do |req| %>
<div class="pending-request row">
<div class="request-info col s10">
<h4><%= link_to req.collaborator.usern... | Move closing div tag so rows display properly | Move closing div tag so rows display properly
| HTML+ERB | mit | Jguzik83/the-hive,Jguzik83/the-hive,ChristineSchatz/the-hive,Jguzik83/the-hive,nyc-bumblebees-2015/the-hive,nyc-bumblebees-2015/the-hive,ChristineSchatz/the-hive,ChristineSchatz/the-hive,AlinaJahnes/the-hive,AlinaJahnes/the-hive,AlinaJahnes/the-hive,nyc-bumblebees-2015/the-hive |
ce6275e436ad997b40cc79eb7548b6fe52771552 | app/views/georgia/media/_header.html.erb | app/views/georgia/media/_header.html.erb | <header class='header-main'>
<div class="header-title">
<%= link_to_back search_media_index_path if action_name == 'edit' %>
<%= form_for :search, url: search_media_index_path, method: :get, html: {role: 'search'} do |f| %>
<%= facets_inputs([:tg]) %>
<%= hidden_field_tag :e, params[:e] if params[... | <header class='header-main'>
<div class="header-title">
<%= link_to_back search_media_index_path if action_name == 'edit' %>
<%= form_for :search, url: search_media_index_path, method: :get, html: {role: 'search'} do |f| %>
<%= facets_inputs([:tg]) %>
<%= hidden_field_tag :e, params[:e] if params[... | Add autofocus on media library search bar | Add autofocus on media library search bar
| HTML+ERB | mit | georgia-cms/georgia,georgia-cms/georgia,georgia-cms/georgia |
1daec149c229d1222f032db018b51837068e2eae | app/views/home/_getting_started.html.erb | app/views/home/_getting_started.html.erb | <div class="row">
<div class="span4 countdown">
<h1><%= (Date.new(2013, 10, 16) - Date.today).to_i %></h1>
<h2>Days Left</h2>
</div>
<div class="span4 instructions">
<h3><%= t("help.start.rider.title") %></h3>
<ol>
<li><%= link_to t("help.start.rider.one"), new_user_registration_pa... | <div class="row">
<div class="span4 countdown">
<h1><%= (active_competition.end_on - Date.today).to_i + 1 %></h1>
<h2>Days Left</h2>
</div>
<div class="span4 instructions">
<h3><%= t("help.start.rider.title") %></h3>
<ol>
<li><%= link_to t("help.start.rider.one"), new_user_registra... | Use active competition end date for countdown | Use active competition end date for countdown
| HTML+ERB | mit | Ehryk/Ride-MN,ResourceDataInc/commuter_challenge,Ehryk/Ride-MN,Ehryk/Ride-MN,ResourceDataInc/commuter_challenge,Ehryk/Ride-MN,ResourceDataInc/commuter_challenge,ResourceDataInc/commuter_challenge |
848a250a5929543c6e972d44752060ecd2b3896c | app/views/lesson_plan_items/new.html.erb | app/views/lesson_plan_items/new.html.erb | <% breadcrumb :new_lesson_plan_item, @lesson_plan %>
<h1>Creating a Lesson Plan Item for <%= @lesson_plan.date.strftime("%A - %-d %B %Y") %></h1>
<% if @duplicate_from %>
<%= form_for @lesson_plan_item, url: duplicate_lesson_plan_items_path(@lesson_plan) do |f| %>
<%= f.label :lesson_plan_id, "New Lesson Plan" ... | <% breadcrumb :new_lesson_plan_item, @lesson_plan %>
<h1>Creating a Lesson Plan Item for <%= @lesson_plan.date.strftime("%A - %-d %B %Y") %></h1>
<% if @duplicate_from %>
<div class="break"></div>
<%= form_for @lesson_plan_item, url: duplicate_lesson_plan_items_path(@lesson_plan) do |f| %>
<%= f.label :lesson... | Order list of dates while duplicating lesson plan items. | Order list of dates while duplicating lesson plan items.
| HTML+ERB | mit | timothyandrew/blink,timothyandrew/blink,timothyandrew/blink,timothyandrew/blink |
21285e79888ff0a86e64ac0d0adbb5bbe99185c9 | app/views/home/index.html.erb | app/views/home/index.html.erb | <% unless current_user %>
<p>
<%= link_to "Login", new_session_path %> to upload source images and create source sets.
</p>
<% end %>
<% unless @src_sets.empty? %>
<%= render :partial => 'src_sets/src_sets' %>
<% end %>
<% if @src_images %>
<%= render :partial => 'src_images/src_images' %>
<% en... | <% unless current_user %>
<div class="alert">Meme Captain is new. The previous version is still available
at <%= link_to 'http://v1.memecaptain.com/', 'http://v1.memecaptain.com/' %>. Send
feedback
to <%= mail_to 'matthewm@boedicker.org' %>.
</div>
<p>
<%= link_to "Login", new_sessi... | Add Meme Captain is new message. | Add Meme Captain is new message.
| HTML+ERB | mit | patrickmcguire/meme,mmb/meme_captain_web,patrickmcguire/meme,mmb/meme_captain_web,mmb/meme_captain_web,mmb/meme_captain_web |
b8552559c4fb8bdafb50cc3a26aa36b7a5b0874b | app/views/lists/show.html.erb | app/views/lists/show.html.erb | <h1><%= @list.name.capitalize %></h1>
<ul>
<% @items.each do |item| %>
<li><%= item.name %></li>
<% end %>
</ul>
<hr>
<%= link_to "Add New Item", new_list_item_path(@list) %>
| <h1><%= @list.name.capitalize %></h1>
<ul>
<% @items.each do |item| %>
<li><%= item.name %></li>
<% end %>
</ul>
</br>
<table class="table">
<thead>
<th>Item</th>
<th>Date Purchased</th>
</thead>
<tbody>
<% @list.items.each do |item| %>
<tr>
<td><%= item.name %></td>
<td... | Use table for items on list show page | Use table for items on list show page
| HTML+ERB | mit | withtwoemms/stuff-i-buy,withtwoemms/stuff-i-buy,withtwoemms/stuff-i-buy |
b26d7581366c7a32b96225c73b6fc6f92513195c | app/views/places/new.html.erb | app/views/places/new.html.erb | <div id="header">
<h1>Create and Share</h1>
</div>
<div id="main">
<% if @place.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@place.errors.count, "error") %> prohibited this place from being saved:</h2>
<ul>
<% @place.errors.full_messages.each do |msg| %>
<li><%= msg... | <div id="header">
<h1><a href="/">Create and Share</a></h1>
</div>
<div id="main">
<% if @place.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@place.errors.count, "error") %> prohibited this place from being saved:</h2>
<ul>
<% @place.errors.full_messages.each do |msg| %>
... | Add link to new place page | Add link to new place page
| HTML+ERB | mit | lidonghua/shizuka,lidonghua/shizuka,lidonghua/shizuka |
3f9f26efabc56be05a2710a6fc818ee36c464ccf | app/views/users/show.html.erb | app/views/users/show.html.erb | <div class="user-container">
<div class="individual-user">
<p>This is where each individual user profile info will go.</p>
<p><%= link_to "Orders", orders_path %></p>
<p> Username: <%= @user.username%></p>
<p> Email: <%= @user.email%></p>
<p><%= link_to "Edit Account", edit_user_path %> | <%= li... | <div class="user-container">
<div class="individual-user">
<p>This is where each individual user profile info will go.</p>
<p><%= link_to "Orders", orders_path(user_id: @user.id) %></p>
<p> Username: <%= @user.username%></p>
<p> Email: <%= @user.email%></p>
<p><%= link_to "Edit Account", edit_us... | Update link used to redirect users to Orders | Update link used to redirect users to Orders
| HTML+ERB | mit | benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop |
96bee8ca9c18abc00bd692f08f50f5ab7c6e7744 | 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.request_body %>let(:request_body) do<% body = method.request_body.example.split("\n") %>
<%= body.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.request_body %>let(:request_body) do<% body = method.request_body.example.split("\n") %>
<%= body.join("\n ... | Include request body if one is present | Include request body if one is present
| HTML+ERB | mit | danascheider/rambo,danascheider/rambo |
a4c906f8956e2856585c26b9ea77447ef07832d4 | app/views/welcome/index.html.erb | app/views/welcome/index.html.erb | <!-- Navigation -->
<%= render :partial => 'navigation' %>
<!-- Header -->
<header id="top" class="header cover">
<%= render :partial => 'header' %>
</header>
<!-- Search section -->
<section id="search-section" class="search-section cover">
<%= render :partial => 'search_section' %>
</section>
<!-- School sear... | <!-- Navigation -->
<%= render :partial => 'navigation' %>
<!-- Header -->
<header id="top" class="header cover">
<%= render :partial => 'header' %>
</header>
<!-- Search section -->
<section id="search" class="search-section cover">
<%= render :partial => 'search_section' %>
</section>
<!-- School search resul... | Add partial for cart section to welcome index | Add partial for cart section to welcome index
| HTML+ERB | mit | fma2/cfe-money,fma2/cfe-money,fma2/cfe-money |
8b7defd3a0fd7510c8d7fb607c67f9f729d79ad5 | vendor/plugins/inquiries/app/views/admin/inquiries/_inquiry.html.erb | vendor/plugins/inquiries/app/views/admin/inquiries/_inquiry.html.erb | <li class='clearfix record <%= cycle("on", "on-hover") %>'>
<span class='title'>
<%= link_to t('.said', :who => h(inquiry.name)), admin_inquiry_url(inquiry) %>
<span class="preview"><%= truncate(strip_tags(inquiry.message), :length => 60) -%></span>
</span>
<span class='actions'>
<%= link_to refinery_... | <li class='clearfix record <%= cycle("on", "on-hover") %>'>
<span class='title'>
<%= link_to (h(inquiry.name)), admin_inquiry_url(inquiry) %> <%= t('.said') %>
<span class="preview"><%= truncate(strip_tags(inquiry.message), :length => 60) -%></span>
</span>
<span class='actions'>
<%= link_to refinery_... | Move said text out of link | Move said text out of link
| HTML+ERB | mit | mojarra/myrefinerycms,kelkoo-services/refinerycms,LytayTOUCH/refinerycms,simi/refinerycms,mkaplan9/refinerycms,mkaplan9/refinerycms,hoopla-software/refinerycms,mojarra/myrefinerycms,gwagener/refinerycms,pcantrell/refinerycms,hoopla-software/refinerycms,Eric-Guo/refinerycms,donabrams/refinerycms,simi/refinerycms,mlinfoo... |
86d4d694585ce2937688ab345f3b000e6c9a8b5d | app/views/mainstream_browse_pages/index.html.erb | app/views/mainstream_browse_pages/index.html.erb | <% content_for :title, "Mainstream browse pages" %>
<% content_for :title_side, render("govuk_publishing_components/components/button", {
text: "Add a mainstream browse page",
href: new_mainstream_browse_page_path,
margin_bottom: true
}) %>
<div class="govuk-grid-row">
<div class="govuk-grid-column-full">
... | <% content_for :title, "Mainstream browse pages" %>
<% content_for :title_side, render("govuk_publishing_components/components/button", {
text: "Add a mainstream browse page",
href: new_mainstream_browse_page_path,
margin_bottom: true
}) %>
<div class="govuk-grid-row">
<div class="govuk-grid-column-full">
... | Fix mainstream browse page pluralisation | Fix mainstream browse page pluralisation
| HTML+ERB | mit | alphagov/collections-publisher,alphagov/collections-publisher,alphagov/collections-publisher |
470c5c8cc576ec6a681f404c089c29f34714c194 | ext/redhat/hiera-puppet.spec.erb | ext/redhat/hiera-puppet.spec.erb | %{!?ruby_sitelibdir: %define ruby_sitelibdir %(ruby -rrbconfig -e 'puts Object.const_get(defined?(RbConfig) ? :RbConfig : :Config)::CONFIG["sitelibdir"]')}
%global confdir ext/redhat
%global initrddir /etc/rc.d/init.d
# VERSION is subbed out during rake srpm process
# %global realversion <%= version %>
# %global rpmve... | Add Redhat packaging to hiera-puppet | Add Redhat packaging to hiera-puppet
This commit adds an erb template for a spec file to build rpms of hiera-puppet.
| HTML+ERB | apache-2.0 | duritong/puppet-hiera,duritong/puppet-hiera | |
1ca0bbd647f67b3856ffa6e702896881306e9310 | app/views/devise/shared/_error_messages.html.erb | app/views/devise/shared/_error_messages.html.erb | <% if resource.errors.any? %>
<div id="error_explanation">
<h2>
<%= I18n.t("errors.messages.not_saved",
count: resource.errors.count,
resource: resource.class.model_name.human.downcase)
%>
</h2>
<ul>
<% resource.errors.full_messages.each do |message| %>... | <% if resource.errors.any? %>
<div id="error_explanation">
<ul>
<% resource.errors.full_messages.each do |message| %>
<li><%= message %></li>
<% end %>
</ul>
</div>
<% end %>
| Remove cruft in error message to avoid I18n errors | Remove cruft in error message to avoid I18n errors
| HTML+ERB | mit | lomky/dcaf_case_management,lomky/dcaf_case_management,Kevin-Wei/dcaf_case_management,colinxfleming/dcaf_case_management,Kevin-Wei/dcaf_case_management,DCAFEngineering/dcaf_case_management,DCAFEngineering/dcaf_case_management,colinxfleming/dcaf_case_management,lomky/dcaf_case_management,colinxfleming/dcaf_case_managemen... |
5635e21b917769f38901677e6a071f421d1104d4 | app/views/devise/registrations/create.js.erb | app/views/devise/registrations/create.js.erb | <% if resource.save %>
window.location.replace('<%= store_url %>');
<% else %>
$("#flash").html('<%= j(render partial: "shared/notice_banner", locals: { object: @user }) %>');
<% end %>
| Add toastr error notices for sign_up form | Add toastr error notices for sign_up form
| HTML+ERB | mit | bdisney/eShop,bdisney/eShop,bdisney/eShop | |
320f814f3e2888050c6370d2f6f870b90af3f01d | app/views/devise/registrations/edit.html.erb | app/views/devise/registrations/edit.html.erb |
<div class="col-md-12">
<h2>My Profile</h2>
<%= simple_form_for(resource, as: resource_name, url: user_registration_path, html: { method: :put }) do |f| %>
<%= devise_error_messages! %>
<div class="col-md-4">
<%= f.input :email%>
<%= f.input :name %>
<%= f.input :firstname %>
<%= f.input :l... |
<div class="col-md-12">
<h2>My Profile</h2>
<%= simple_form_for(resource, as: resource_name, url: user_registration_path, html: { method: :put }) do |f| %>
<div class="col-md-4">
<%= f.input :email%>
<%= f.input :name %>
<%= f.input :firstname %>
<%= f.input :lastname %>
<%= f.input :phone ... | Remove devise error message because simple form already show reason | Remove devise error message because simple form already show reason
| HTML+ERB | apache-2.0 | 5xRuby/rubyconftw-cfp,5xRuby/rubyconftw-cfp,5xRuby/rubyconftw-cfp,5xRuby/rubyconftw-cfp |
6c39ade0b966dda5089b754dea9fdcc6895422d2 | app/views/site/index/_active_clones.html.erb | app/views/site/index/_active_clones.html.erb | <%= cache_in_private([:site_index, :active_clones], :expires_in => 25.minutes) do %>
<%= pull_box("Most active repository clones", :class => "pull-box-510") do %>
<ul class="with_icons">
<% @top_repository_clones.each do |repo| %>
<li class="repository">
<%= link_to h(repo.title), project_... | <%= cache_in_private([:site_index, :active_clones], :expires_in => 25.minutes) do %>
<%= pull_box("Most active repository clones", :class => "pull-box-510") do %>
<table class="table">
<% @top_repository_clones.each do |repo| %>
<% project = repo.project %>
<tr class="repository">
... | Update markup in active-clones box in public timeline | Update markup in active-clones box in public timeline
| HTML+ERB | agpl-3.0 | rae/gitorious-mainline,SamuelMoraesF/Gitorious,spencerwp/mainline,tigefa4u/gitorious-mainline,Gitorious-backup/mainline,spencerwp/mainline,tigefa4u/gitorious-mainline,elcom/gitorious,gitorious/mainline,gitorious/mainline,SamuelMoraesF/Gitorious,rae/gitorious-mainline,Gitorious-backup/mainline,spencerwp/mainline,gitorio... |
c280744c48c3da1a76e9314f908f0281872c569a | app/views/take-survey/_display_questions.erb | app/views/take-survey/_display_questions.erb | <form method="POST">
<% @questions.each do |question| %>
<h3><%=question.question_desc%></h3>
<%question.answers.each do |answer|%>
<div class="button-group">
<label>
<input type="radio" name="button-group" value="item" checked>
<span class="button-group-item">
<%=answer.answer_text %></span... | <form method="POST">
<% @questions.each do |question| %>
<h3><%= question.question_desc %></h3>
<%question.answers.each do |answer|%>
<div class="button-group">
<label>
<input type="radio" name="<%= question.question_desc %>">
<span class="button-group-item"><%= answer.answer_text %></... | Set questions to only accept a single answer on survey take form | Set questions to only accept a single answer on survey take form
| HTML+ERB | mit | nyc-rock-doves-2015/survey-werewolf,nyc-rock-doves-2015/survey-werewolf,nyc-rock-doves-2015/survey-werewolf |
970a9b42ed323909be056e6a7b475d1e80ab2ca8 | app/views/my_modules/protocols/_protocol_description_form.html.erb | app/views/my_modules/protocols/_protocol_description_form.html.erb | <%= bootstrap_form_for protocol, url: update_url, remote: :true do |f| %>
<%= render partial: 'shared/tiny_mce_extra_buttons.html.erb' %>
<% if protocol.description.present? %>
<div id="protocol_description_view"
class="ql-editor tinymce-view"
data-placeholder="<%= t('my_modules.protocols.prot... | <%= bootstrap_form_for protocol, url: update_url, remote: :true do |f| %>
<%= render partial: 'shared/tiny_mce_extra_buttons.html.erb' %>
<% if protocol.description.present? %>
<div id="protocol_description_view"
class="ql-editor tinymce-view"
data-placeholder="<%= t('my_modules.protocols.prot... | Update hilightjs github theme path | Update hilightjs github theme path | HTML+ERB | mpl-2.0 | mlorb/scinote-web,mlorb/scinote-web,Ducz0r/scinote-web,Ducz0r/scinote-web,mlorb/scinote-web,Ducz0r/scinote-web |
bf61eba8aa8b8c8069d874cde29736cbac0c4f1f | cookbooks/piwik/templates/default/apache.erb | cookbooks/piwik/templates/default/apache.erb | # DO NOT EDIT - This file is being maintained by Chef
<VirtualHost *:80>
ServerName piwik.openstreetmap.org
ServerAlias piwik.osm.org
ServerAdmin webmaster@openstreetmap.org
CustomLog /var/log/apache2/piwik.openstreetmap.org-access.log combined
ErrorLog /var/log/apache2/piwik.openstreetmap.org-error.log
Docume... | # DO NOT EDIT - This file is being maintained by Chef
<VirtualHost *:80>
ServerName piwik.openstreetmap.org
ServerAlias piwik.osm.org
ServerAdmin webmaster@openstreetmap.org
CustomLog /var/log/apache2/piwik.openstreetmap.org-access.log combined
ErrorLog /var/log/apache2/piwik.openstreetmap.org-error.log
Option... | Disable directory indeses over http as well | Disable directory indeses over http as well
| HTML+ERB | apache-2.0 | zerebubuth/openstreetmap-chef,openstreetmap/chef,Firefishy/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,Firefishy/chef,gravitystorm/chef,gravitystorm/chef,tomhughes/openstreetmap-chef,gravitystorm/chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,z... |
189c010694fb0846ed08f84ebb90cd2322bace09 | app/views/koi/admin_crud/_form_field_tags.html.erb | app/views/koi/admin_crud/_form_field_tags.html.erb | <% content_for :head do %>
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
var myTextArea = $('textarea.tagme').tagify();
myTextArea.tagify('inputField').autocomplete({
source: <%= raw resource_class.tag_counts.collect { |t| t.name } %>,
position: { of: m... | <% id = "koi-#{ new_uuid }" %>
<% content_for :head do %>
<script type="text/javascript" charset="utf-8">
$ (document).ready (function ()
{
var input = $ ('#<%= id %>')
input.tagify ()
input.tagify ('inputField').autocomplete ({
source: <%= raw resource_class.tag_counts_on(... | Fix for dodgy tags, and allow for other tag field names. | Fix for dodgy tags, and allow for other tag field names.
| HTML+ERB | mit | katalyst/koi,katalyst/koi,katalyst/koi |
e8683f9635fd021dd8ef33f250825760e409640c | modules/govuk_jenkins/templates/jobs/govuk_tagging_monitor.yaml.erb | modules/govuk_jenkins/templates/jobs/govuk_tagging_monitor.yaml.erb | ---
- scm:
name: govuk_tagging_monitor
scm:
- git:
url: git@github.com:alphagov/govuk-tagging-monitor.git
basedir: govuk-tagging-monitor
branches:
- master
- job:
name: govuk_tagging_monitor
display-name: GOV.UK Tagging Monitor
project-type: freestyle
... | ---
- scm:
name: govuk_tagging_monitor
scm:
- git:
url: git@github.com:alphagov/govuk-tagging-monitor.git
basedir: govuk-tagging-monitor
branches:
- master
- job:
name: govuk_tagging_monitor
display-name: GOV.UK Tagging Monitor
project-type: freestyle
... | Fix scm name in govuk tagging monitor job | Fix scm name in govuk tagging monitor job
This will fix the following puppet error:
```
(/Stage[main]/Govuk_jenkins::Job_builder/Exec[jenkins_jobs_update]/returns)
jenkins_jobs.errors.JenkinsJobsException: Unknown entry point or macro
'govuk-tagging-monitor' for component type: 'scm'.
```
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
8a268c153ea0f981280dcf8187b52b119a13e0eb | cookbooks/mediawiki/templates/default/mw-ext-ConfirmEdit.inc.php.erb | cookbooks/mediawiki/templates/default/mw-ext-ConfirmEdit.inc.php.erb | <?php
# DO NOT EDIT - This file is being maintained by Chef
wfLoadExtensions( array( 'ConfirmEdit', 'ConfirmEdit/ReCaptcha' ) );
$wgCaptchaClass = 'ReCaptcha';
$recaptcha_public_key = '<%= @public_key %>';
$recaptcha_private_key = '<%= @private_key %>';
$wgCaptchaTriggers['addurl'] = true;
$wgCaptchaTriggers['create']... | <?php
# DO NOT EDIT - This file is being maintained by Chef
wfLoadExtensions( array( 'ConfirmEdit', 'ConfirmEdit/ReCaptchaNoCaptcha' ) );
$wgCaptchaClass = 'ReCaptchaNoCaptcha';
$wgReCaptchaSendRemoteIP = true;
$recaptcha_public_key = '<%= @public_key %>';
$recaptcha_private_key = '<%= @private_key %>';
$wgCaptchaTrig... | Swap wiki sign up to use google ReCaptchaNoCaptcha | Swap wiki sign up to use google ReCaptchaNoCaptcha
Swap to the more modern google No CAPTCHA reCAPTCHA away from the older
google reCAPTCHA which gathers address data for google maps.
This simple config swap assumes that the recent ConfirmEdit version we
have installed (1.4) comes with all the necessary bits to enabl... | HTML+ERB | apache-2.0 | zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,gravitystorm/chef,gravitystorm/chef,gravitystorm/chef,Firefishy/chef,zerebubuth/openstreetmap-chef,Firefishy/chef,openstreetmap/chef,gravitystorm/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,ope... |
86d97b1b17cc9d4e7428fc079239f8fe083b3726 | app/views/step_by_step_pages/_form.html.erb | app/views/step_by_step_pages/_form.html.erb | <%
left_col = "col-md-7"
right_col = "col-md-5"
%>
<%= form_for(@step_by_step_page) do |form| %>
<%= render "shared/steps/form_errors", resource: step_by_step_page %>
<div class="form-group row">
<div class="<%= left_col %>">
<%= form.text_field :title %>
</div>
</div>
<div class="form-grou... | <%
left_col = "col-md-7"
right_col = "col-md-5"
%>
<%= form_for(@step_by_step_page) do |form| %>
<%= render "shared/steps/form_errors", resource: step_by_step_page %>
<div class="form-group row">
<div class="<%= left_col %>">
<%= form.text_field :title %>
</div>
</div>
<div class="form-grou... | Make slug on step-by-step editable | Make slug on step-by-step editable
Currently you cannot edit the slug of an existing step-by-step
item.
This commit allows the slug to be edited.
I've tried this in integration and seems to work fine.
Redirects are being set up for the old slug.
| HTML+ERB | mit | alphagov/collections-publisher,alphagov/collections-publisher,alphagov/collections-publisher |
01fc49c63bd62ec303ce2bfcea89775895d164ba | app/views/virtual_conferences/show.html.erb | app/views/virtual_conferences/show.html.erb | <% content_for :title, "2020 Virtual Confernece" %>
<div id="content-wrapper">
<div id="single-column-wrapper">
<div id="content">
<div id="module-title">
<div id="module-title-wrapper">
<h1>College STAR Virtual Conference</h1>
<h2>Preparing students who learn differently for col... | <% content_for :title, "2020 Virtual Confernece" %>
<div id="content-wrapper">
<div id="single-column-wrapper">
<div id="content">
<div id="module-title">
<div id="module-title-wrapper">
<h1>College STAR Virtual Conference</h1>
<h2>Preparing students who learn differently for col... | Add admin links to virtual conference page. | Add admin links to virtual conference page.
| HTML+ERB | mit | CollegeSTAR/collegestar_org,CollegeSTAR/collegestar_org,CollegeSTAR/collegestar_org |
a9f3a25ad4dcc2448d55a34bc07f0105331e6af0 | app/views/blocks/profile_info_actions/_join_leave_community.html.erb | app/views/blocks/profile_info_actions/_join_leave_community.html.erb | <div class='join-leave-button'>
<% if logged_in? %>
<% if profile.members.include?(user) %>
<%= button(:delete, content_tag('span', _('Leave community')), profile.leave_url,
:class => 'leave-community',
:title => _("Leave community"),
:style => 'position: relative;') %>
<%= but... | <div class='join-leave-button'>
<% if logged_in? %>
<% if profile.members.include?(user) %>
<%= button(:delete, content_tag('span', _('Leave community')), profile.leave_url,
:class => 'leave-community',
:title => _("Leave community"),
:style => 'position: relative;') %>
<%= but... | Change join community text to differ from login | Change join community text to differ from login
| HTML+ERB | agpl-3.0 | CIRANDAS/noosfero-ecosol,CIRANDAS/noosfero-ecosol,samasti/noosfero,CIRANDAS/noosfero-ecosol,coletivoEITA/noosfero-ecosol,blogoosfero/noosfero,blogoosfero/noosfero,EcoAlternative/noosfero-ecosol,samasti/noosfero,coletivoEITA/noosfero-ecosol,EcoAlternative/noosfero-ecosol,blogoosfero/noosfero,coletivoEITA/noosfero-ecosol... |
29521a5148912abea1f702951760030a7b30c805 | app/views/shared/_assignment_student_identifier_type_options.html.erb | app/views/shared/_assignment_student_identifier_type_options.html.erb | <dl class="form">
<dt><label>Use a student identifier type</label></dt>
<% if student_identifier_types.present? %>
<dl class="form">
<%= select(:student_identifier_type, :id, options_for_select(student_identifier_types, selected = assignment.student_identifier_type.present? ? assignment.student_ident... | <% if student_identifier_enabled? %>
<dl class="form">
<dt><label>Use a student identifier type</label></dt>
<% if student_identifier_types.present? %>
<dl class="form">
<%= select(:student_identifier_type, :id, options_for_select(student_identifier_types, selected = assignment.student_iden... | Hide form option under flipper. | Hide form option under flipper.
| HTML+ERB | mit | mkcode/classroom,BelieveC/classroom,BelieveC/classroom,BelieveC/classroom,mkcode/classroom,mkcode/classroom,BelieveC/classroom |
3e48ec44a988f1def9e68c603e9e2c779eaa657c | app/views/groups/modal_dialogs/_rename_group.html.erb | app/views/groups/modal_dialogs/_rename_group.html.erb | <h2>Rename group</h2>
<% form_remote_tag :url => { :action => 'rename_group', :id => @assignment.id, :grouping_id => @grouping_id} do %>
<p>
<fieldset>
Group Name
<input type="text" id="new_groupname" name="new_groupname"></input>
</fieldset>
</p>
<p class="p_margin">
<%= submit_tag 'Rename group' %>
<... | <h2>Rename group</h2>
<% form_remote_tag :url => { :action => 'rename_group', :id => @assignment.id, :grouping_id => @grouping_id} do %>
<p>
<fieldset>
Group Name
<input type="text" maxlength="30" id="new_groupname" name="new_groupname"></input>
</fieldset>
</p>
<p class="p_margin">
<%= submit_tag 'Renam... | Add a 30 character maximum length on the group name input | Add a 30 character maximum length on the group name input
| HTML+ERB | mit | kmccoan/Markus,melneubert/Markus,ealonas/Markus,Lysette/Markus,Lysette/Markus,arkon/Markus,kmccoan/Markus,wkwan/Markus,SoftwareDev/Markus,benjaminvialle/Markus,MarkUsProject/Markus,selyanhb/Markus,jeremygoh/Markus,selyanhb/Markus,binuri/Markus,jeremygoh/Markus,WilsonChiang/Markus,finnergizer/Markus,jeremygoh/Markus,ark... |
92dfb1fb085d4c0b2aa78feccbbd9e1461ecddc8 | app/views/static_pages/new_lead_confirmation.html.erb | app/views/static_pages/new_lead_confirmation.html.erb | <div class="body_new_lead_confirmation">
<div class="new_lead_confirmation">
<div class="new_lead_confirmation_thank_you">
<%= I18n.t'new_lead_confirmation.thank_you' %>
</div>
<div class="new_lead_confirmation_text">
<%= I18n.t'new_lead_confirmation.text' %>
</div>
</div>
</div> | <div class="body_new_lead_confirmation">
<div class="new_lead_confirmation">
<div class="new_lead_confirmation_thank_you">
<%= I18n.t'new_lead_confirmation.thank_you' %>
</div>
<div class="new_lead_confirmation_text">
<%= I18n.t'new_lead_confirmation.text' %>
</div>
</div>
</div>
<!-- Goo... | Add Google Adwords Conversion Code | Add Google Adwords Conversion Code
| HTML+ERB | mit | ninabreznik/RefugeesWork,ninabreznik/RefugeesWork,ninabreznik/RefugeesWork |
77391dcfc28feaad79f6de157fc39ac3c5a43cac | app/views/password_resets/edit.html.erb | app/views/password_resets/edit.html.erb | <div class="standard-form">
<h1>Change My Password</h1>
<%= form_for @user, :url => password_reset_path, :method => :put, :html => { :class => "formtastic" } do |f| %>
<% if @user.errors.any? %>
<ul class="error">
<% @user.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
... |
<h3><%= t 'users.change-password.header' %></h3>
<div class="form">
<%= simple_form_for @user, url: password_reset_path, html: {data: {remote: true}} do |f| %>
<%= f.input :password, required: true %>
<%= f.input :password_confirmation, required: true %>
<%= f.button :submit, t('simple_form.labels.user.c... | Change password form is same as in edit profile view. | Change password form is same as in edit profile view.
| HTML+ERB | agpl-3.0 | harvard-lil/h2o,harvard-lil/h2o,harvard-lil/h2o,harvard-lil/h2o |
e368bee7bf9dad796b836d9cce03e69d3057da5c | app/views/schools/achievements.html.erb | app/views/schools/achievements.html.erb | <% content_for :page_title do %>
<%= @school.name %>: Badges
<% end %>
<div class="application container">
<div class="row padded-row">
<div class="col-md-12">
<h1>Badges</h1>
</div>
</div>
<div class="row">
<div class="col-md-12">
<% if @badges.empty? %>
<p>No badges awarded... | <% content_for :page_title do %>
<%= @school.name %>: Badges
<% end %>
<div class="application container">
<div class="row padded-row">
<div class="col-md-12">
<h1>Badges</h1>
</div>
</div>
<div class="row">
<div class="col-md-12">
<% if @badges.empty? %>
<p>No badges awarded... | Add link to school homepage | Add link to school homepage
| HTML+ERB | mit | BathHacked/energy-sparks,BathHacked/energy-sparks,BathHacked/energy-sparks,BathHacked/energy-sparks |
23d745d13b2c09bed840a9dce2218d851c92706d | app/views/permission_values/edit.html.erb | app/views/permission_values/edit.html.erb | <h1>Editing permission value</h1>
<%= form_for(@permission_value) do |f| %>
<% if @permission_value.errors.any? %>
<div id="error_explanation" class="alert alert-danger">
<h2><%= pluralize(@permission_value.errors.count, "error") %> prohibited this record from being saved:</h2>
<ul>
<% @permiss... | <h1>Editing permission value</h1>
<%= form_for(@permission_value) do |f| %>
<% if @permission_value.errors.any? %>
<div id="error_explanation" class="alert alert-danger">
<h2><%= pluralize(@permission_value.errors.count, "error") %> prohibited this record from being saved:</h2>
<ul>
<% @permiss... | Make web_text a textarea where it is a text field and not a string field | Make web_text a textarea where it is a text field and not a string field
| HTML+ERB | mit | NYULibraries/privileges,NYULibraries/privileges,NYULibraries/privileges,NYULibraries/privileges |
1714a81d8d63b4466cb426bb7d4d61880152e40e | app/flows/inherits_someone_dies_without_will_flow/outcomes/outcome_6.erb | app/flows/inherits_someone_dies_without_will_flow/outcomes/outcome_6.erb | <% text_for :title do %>
The estate is shared equally between the aunts or uncles.
<% end %>
<% govspeak_for :body do %>
If an aunt or uncle has already died, their children (the cousins of the deceased) inherit in their place.
<% end %>
<% govspeak_for :next_steps do %>
<%= render partial: 'next_step_links', l... | <% text_for :title do %>
The estate is shared equally between the aunts or uncles.
<% end %>
<% govspeak_for :body do %>
If an aunt or uncle has died before the deceased died, their children (the cousins of the deceased) inherit in their place.
<% end %>
<% govspeak_for :next_steps do %>
<%= render partial: 'ne... | Update to inheritance sentence - outcome 6 | Update to inheritance sentence - outcome 6 | HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
024ce19bb0c2459c5867e95c507ff6566742b158 | modules/govuk/templates/apps/review_o_matic_explore/upstart.conf.erb | modules/govuk/templates/apps/review_o_matic_explore/upstart.conf.erb | description "Proxy for Review-O-Matic Explore"
start on runlevel [2345]
stop on runlevel [!2345]
env PORT=3023
env UPSTREAM_AUTH=betademo:nottobeshared
env UPSTREAM_HOST="reviewomatic.<%= govuk_platform %>.alphagov.co.uk"
# Have to use this roundabout method of chuid'ing because lucid's upstart doesn't
# support the... | description "Proxy for Review-O-Matic Explore"
start on runlevel [2345]
stop on runlevel [!2345]
env PORT=3023
env UPSTREAM_AUTH=betademo:nottobeshared
env UPSTREAM_HOST="reviewomatic.<%= govuk_platform %>.alphagov.co.uk"
# Have to use this roundabout method of chuid'ing because lucid's upstart doesn't
# support the... | Use a pidfile for review-o-matic-explore | Use a pidfile for review-o-matic-explore
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
8becd09bea1bead6bdd468c00b04f38f525028bd | templates/auth_cas.conf.erb | templates/auth_cas.conf.erb | #
# mod_auth_cas is an Apache 2.0/2.2 compliant module that supports the
# CASv1 and CASv2 protocols
#
<IfModule !mod_ssl.c>
LoadModule ssl_module modules/mod_ssl.so
</IfModule>
LoadModule auth_cas_module modules/mod_auth_cas.so
CASCertificatePath <%= @certificatepath %>
CASLoginURL <%= @loginurl
CASValidateURL <%= ... | #
# mod_auth_cas is an Apache 2.0/2.2 compliant module that supports the
# CASv1 and CASv2 protocols
#
<IfModule !mod_ssl.c>
LoadModule ssl_module modules/mod_ssl.so
</IfModule>
LoadModule auth_cas_module modules/mod_auth_cas.so
CASCertificatePath <%= @certificatepath %>
CASLoginURL <%= @loginurl %>
CASValidateURL <... | Fix a load of unterminated ERB variables | Fix a load of unterminated ERB variables
| HTML+ERB | apache-2.0 | djjudas21/puppet-mod_auth_cas,djjudas21/puppet-mod_auth_cas |
e124393b593ec34f81e19d46f14731b0838e1481 | templates/generic/slack.erb | templates/generic/slack.erb | [slack]
name=Slack
baseurl=https://packagecloud.io/slacktechnologies/slack/fedora/21/$basearch
gpgcheck=1
enabled=1
gpgkey=https://slack.com/gpg/slack_pubkey_20210901.gpg
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300
priority=<%= @priority %>
<% unless @exclude.empty? -%>
exclude=<%= @exclu... | [slack]
name=Slack
baseurl=https://packagecloud.io/slacktechnologies/slack/fedora/21/<%= @facts['os']['architecture'] %>
gpgcheck=1
enabled=1
gpgkey=https://slack.com/gpg/slack_pubkey_20210901.gpg
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300
priority=<%= @priority %>
<% unless @exclude.emp... | Use fixed arch in Slack (backport from upstream) | Use fixed arch in Slack (backport from upstream)
| HTML+ERB | apache-2.0 | lutak-srce/yum,lutak-srce/yum |
a41a8e25315a0d98f2e014ec210966d48904379b | app/views/pages/_open_data_downloads.html.erb | app/views/pages/_open_data_downloads.html.erb | <p>Latest release: <strong><%= latest_open_data_release_number %> - <%= latest_open_data_release_date %></strong></p>
<p>Download individual csv files or an archive of all of them, all downloads are gzipped:</p>
<table class='table table-bordered table-hover'>
<thead>
<tr>
<th>
File name and diges... | Add back in open data partial | Add back in open data partial
| HTML+ERB | agpl-3.0 | librariesio/libraries.io,librariesio/libraries.io,abrophy/libraries.io,abrophy/libraries.io,abrophy/libraries.io,librariesio/libraries.io,librariesio/libraries.io | |
694daee2775279cdb4d1cbf7dcaea0b1f82e7aaa | modules/icinga/templates/nginx.conf.erb | modules/icinga/templates/nginx.conf.erb | server {
server_name nagios nagios.* icinga icinga.* alert alert.*;
<%- if scope.lookupvar('::aws_migration') %>
listen 80;
<%- else %>
listen 443 ssl;
ssl_certificate /etc/nginx/ssl/nagios.crt;
ssl_certificate_key /etc/nginx/ssl/nagios.key;
<%- end %>
include ... | server {
server_name nagios nagios.* icinga icinga.* alert alert.*;
<%- if scope.lookupvar('::aws_migration') %>
listen 80;
<%- else %>
listen 443 ssl;
ssl_certificate /etc/nginx/ssl/nagios.crt;
ssl_certificate_key /etc/nginx/ssl/nagios.key;
<%- end %>
include ... | Add Access-Control-Allow-Origin header for Icinga | Add Access-Control-Allow-Origin header for Icinga
This commit adds a `Access-Control-Allow-Origin` CORS header to all `.cgi` files for Icinga. This will allow the JSON output of these files to be read by other services, such as a proposed client-side implementation of Blinken. | HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
35f9fbe6c43f75d718cb317b4b341700ff019ce8 | app/views/user_mailer/welcome_email.html.erb | app/views/user_mailer/welcome_email.html.erb | <!DOCTYPE html>
<html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<h1>Welcome to example.com, <%= @user.first_name %></h1>
<p>
You have successfully signed up to code-laborate.herokuapp.com,
your username is: <%= @user.email %>.<br>
</p>... | <!DOCTYPE html>
<html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<h3>Welcome to Code-Laborate,
<%if @user.org_affiliate %>
<%= @user.first_name %>
<p>I am an organization </p>
<% else %>
<%= @user.first_name %>
<% e... | Change welcome email to send different info pending which type of user | Change welcome email to send different info pending which type of user
| HTML+ERB | mit | kylefantastic/codellaborate,kylefantastic/code-laborate,kylefantastic/codellaborate,kylefantastic/codellaborate,kylefantastic/code-laborate,kylefantastic/code-laborate |
656e27cd9f58d6c728c9f6bde203b9fdb2c8ff96 | core/app/views/users/_account_block.html.erb | core/app/views/users/_account_block.html.erb | <div style="padding-top: 12px; float: right; color: #ccc; text-shadow: 0px 1px 1px #666;">
<% if user_signed_in? %>
<span>Signed in as <%= link_to(current_user, user_profile_path(current_user.username), :style => "color: #eee;", :onclick => "Router.navigate(currentUser.url(),true); return false;") %> <%= link_to("(s... | <div style="padding-top: 12px; float: right; color: #ccc; text-shadow: 0px 1px 1px #666;">
<% if user_signed_in? %>
<span>Signed in as <%= link_to(current_user, user_profile_path(current_user.username), :style => "color: #eee;") %> <%= link_to("(sign out)", destroy_user_session_path, :style => "color: #ddd;") %></sp... | Revert "Added small backbone hack to make sure clicking the currentUser goes to the currentUser with backbone" | Revert "Added small backbone hack to make sure clicking the currentUser goes to the currentUser with backbone"
This reverts commit cdf236141c30d611f0a6c236bbec7c94b432ab7f.
| HTML+ERB | mit | daukantas/factlink-core,Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core,Factlink/factlink-core,Factlink/factlink-core,daukantas/factlink-core,daukantas/factlink-core |
0eaddb103fcb86dbe6e872faa07f209c1bdc0696 | app/views/notification_mailer/remind_ae_internal_review_overdue.text.erb | app/views/notification_mailer/remind_ae_internal_review_overdue.text.erb | Dear <%= @recipients_list %>
<% if @submission.revision_number == 0 %>
This is a reminder that an initial decision regarding "<%= @submission.title %>" is now overdue. Please decide whether it should be sent out for external review or, if not, enter your decision.
<% else %>
This is a reminder to secure referees for t... | Dear <%= @recipients_list %>,
<% if @submission.revision_number == 0 %>
This is a reminder that an initial decision regarding "<%= @submission.title %>" is now overdue. Please decide whether it should be sent out for external review or, if not, enter your decision.
<% else %>
This is a reminder to secure referees for ... | Fix typo in reminder to area editors (missing comma). | Fix typo in reminder to area editors (missing comma).
| HTML+ERB | mit | jweisber/ergonaut,jweisber/ergonaut,jweisber/ergonaut |
fa4ad097a820e39926f1ba6e1e9d79d6ffd66d80 | app/views/home/index.html.erb | app/views/home/index.html.erb | <div class="row">
<div class="col-md-3"></div>
<div class="col-md-6">
<div class="home">
<p>Хотите задать вопрос?</p>
<p><%= button_to 'Ask a Question', new_question_path, method: :get, class: "btn btn-primary" %></p>
<p>Хотите написать пост?</p>
<p>
<%= button_to 'Sign in', new_... | <div class="row">
<div class="col-md-3"></div>
<div class="col-md-6">
<div class="home">
<p>Хотите задать вопрос?</p>
<p><%= button_to 'Ask a Question', new_question_path, method: :get, class: "btn btn-primary" %></p>
<p>Хотите написать пост?</p>
<% if user_signed_in? %>
<%= butt... | Add button "Write an article" for logged in user to Home page | Add button "Write an article" for logged in user to Home page
| HTML+ERB | mit | arseniy96/my_first_site,arseniy96/my_first_site,arseniy96/my_first_site |
c874a2035b8a2621db10fd2d6f35ee50c00416a0 | app/views/users/show.html.erb | app/views/users/show.html.erb | <div id="user-view">
hello, <%= @user.first_name %>
</div>
| <div id="user-view">
hello, <%= @user.first_name %>
<h3>YO' PUBLISHED POSTS:</h3>
<% @user.all_published.each do |story| %>
<p><%= story.title %></p>
<% end %>
<h3>YO' UNPUBLISHED POSTS:</h3>
<% @user.all_unpublished.each do |story| %>
<p><%= story.title %></p>
<% end %>
</div>
| Add published and unpublished stories to user show | Add published and unpublished stories to user show
| HTML+ERB | mit | mxngyn/StoryVine,pearlshin/StoryVine,SputterPuttRedux/storyvine_clone,pearlshin/StoryVine,SputterPuttRedux/storyvine_clone,mxngyn/StoryVine,SputterPuttRedux/storyvine_clone,mxngyn/StoryVine,pearlshin/StoryVine |
a95004690c9926e9b9dc418041838357f869de46 | app/views/questions/show.html.erb | app/views/questions/show.html.erb | <p id="notice"><%= notice %></p>
<p>
<b>Body:</b>
<%= @question.body %>
</p>
<p>
<b>Name:</b>
<%= @question.name %>
</p>
<p>
<b>Email:</b>
<%= @question.email %>
</p>
<%= link_to 'Edit', edit_question_path(@question) %> |
<%= link_to 'Back', questions_path %>
| <p id="notice"><%= notice %></p>
<p>
<b>Body:</b>
<%= @question.body %>
</p>
<p>
<b>Name:</b>
<%= @question.name %>
</p>
<p>
<b>Email:</b>
<%= @question.email %>
</p>
<p><fb:like href="<%= url_for question_path(@question, host: 'example.com', port: nil, only_path: false) %>" show_faces="false" send="fal... | Add fb like button to question show view. | Add fb like button to question show view.
| HTML+ERB | agpl-3.0 | scoopmedia/anyquestions,askaway/askaway,askaway/askaway,scoopmedia/anyquestions,askaway/askaway,scoopmedia/anyquestions |
ced179fc94f068db93623a6c76ea4f2ca6975eb0 | lib/prmd/templates/link_schema_properties.erb | lib/prmd/templates/link_schema_properties.erb | | Name | Type | Description | Example |
| ------- | ------- | ------- | ------- |
<%- extract_attributes(schema, params).each do |(key, type, description, example)| %>
| **<%= key %>** | *<%= type %>* | <%= description %> | <%= example %> |
<%- end %>
| | Name | Type | Description | Example |
| ------- | ------- | ------- | ------- |
<%- extract_attributes(schema, params).each do |(key, type, description, example)| %>
| **<%= key %>** | *<%= type %>* | <%= description %> | <%= example %> |
<%- end %>
| Remove additional spaces from link properties markdown | Remove additional spaces from link properties markdown
Github markdown can't draw table if there are spaces before first pipe symbol | HTML+ERB | mit | shopkeep/prmd,interagent/prmd,michaelsauter/prmd,junya-i/prmd,niaeashes/prmd,MobileDevHQ/prmd,uberjay/prmd,mlr/prmd,interagent/prmd,araines/prmd,ruprict/prmd,IceDragon200/prmd,IceDragon200/prmd,MobileDevHQ/prmd,ruprict/prmd,araines/prmd,mlr/prmd,robhurring/prmd,robhurring/prmd,shopkeep/prmd,hmac/prmd,hx/prmd,hx/prmd,hm... |
0083c81c1272f675e7a7704acae770d642f2244e | app/views/admin/consultation_responses/show.html.erb | app/views/admin/consultation_responses/show.html.erb | <% page_title @document.title, "Consultation Response" %>
<div class="g3">
<div class="g2 first">
<section class="document">
<%= render partial: 'navigation', locals: { document: @document } %>
<%= render partial: "rejected_by", locals: { document: @document } %>
<%= render partial: 'document', ... | <% page_title @document.title, "Consultation Response" %>
<div class="g3">
<div class="g2 first">
<%= render partial: 'navigation', locals: { document: @document } %>
<%= render partial: "rejected_by", locals: { document: @document } %>
<section class="document_view">
<%= render partial: 'document',... | Fix layout & style issues on admin consultation response show page. | Fix layout & style issues on admin consultation response show page.
| HTML+ERB | mit | alphagov/whitehall,YOTOV-LIMITED/whitehall,alphagov/whitehall,robinwhittleton/whitehall,robinwhittleton/whitehall,hotvulcan/whitehall,YOTOV-LIMITED/whitehall,ggoral/whitehall,YOTOV-LIMITED/whitehall,hotvulcan/whitehall,YOTOV-LIMITED/whitehall,ggoral/whitehall,ggoral/whitehall,askl56/whitehall,askl56/whitehall,askl56/wh... |
7dc75f3fa1f3db0c778ddac2dae094d668f18bb9 | jobs/rabbitmq-server/templates/ensure-rabbitmq-statsdb-restart-cron.erb | jobs/rabbitmq-server/templates/ensure-rabbitmq-statsdb-restart-cron.erb | <% if_p("rabbitmq-server.restart_statsdb_cron_schedule") do |schedule| %>
tmpfile=$(mktemp)
echo 'PATH=/usr/bin:/bin:/var/vcap/packages/erlang/bin:/var/vcap/packages/rabbitmq-server/bin' > "${tmpfile}"
echo '<%= schedule %> vcap /var/vcap/packages/rabbitmq-server/bin/rabbitmqctl eval "supervisor2:terminate_child(rabbit... | <% if_p("rabbitmq-server.restart_statsdb_cron_schedule") do |schedule| %>
cat << EOF > "/etc/cron.d/rabbitmq-statsdb-reset"
PATH=/usr/bin:/bin:/var/vcap/packages/erlang/bin:/var/vcap/packages/rabbitmq-server/bin
<%= schedule %> vcap rabbitmqctl eval "supervisor2:terminate_child(rabbit_mgmt_sup_sup, rabbit_mgmt_sup),ra... | Refactor of generation of cronfile | Refactor of generation of cronfile
Use cat << EOF pattern instead of long echo
[#136577519]
Signed-off-by: Gareth Smith <97ec7f0e37ed298c6c7d61e7dba0820f215e55e4@pivotal.io>
| HTML+ERB | apache-2.0 | pivotal-cf/cf-rabbitmq-release,pivotal-cf/cf-rabbitmq-release,pivotal-cf/cf-rabbitmq-release,pivotal-cf/cf-rabbitmq-release |
f4312d00285523789a902b730d065d947e5d69b3 | lib/smart_answer_flows/check-uk-visa/outcomes/outcome_school_waiver.erb | lib/smart_answer_flows/check-uk-visa/outcomes/outcome_school_waiver.erb | <% text_for :title do %>
You’ll need an electronic visa waiver (EVW) or a visa
<% end %>
<% govspeak_for :body do %>
You must either apply for:
+ an [EVW](/get-electronic-visa-waiver) to stay for up to 6 months
+ a [Parent of Tier 4 child visa](/parent-of-a-child-at-school-visa)
*[EVW]: electronic visa w... | <% text_for :title do %>
You’ll need an electronic visa waiver (EVW) or a visa
<% end %>
<% govspeak_for :body do %>
You must either apply for:
+ an [EVW](/get-electronic-visa-waiver) to stay for up to 6 months
+ a [Parent of a Child Student visa](/parent-of-a-child-at-school-visa)
*[EVW]: electronic vis... | Replace reference from 'Tier 4' to 'Parent of a Child Student' visa | Replace reference from 'Tier 4' to 'Parent of a Child Student' visa
| HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
82d29e1ebe4feecd44b7106127bc8bfc8dcc3b95 | app/views/posts/_post.html.erb | app/views/posts/_post.html.erb | <div class="post-panel">
<%= render partial: 'posts/post_metadata', locals: { post: post } %>
<div class="main-body">
<h3 class="post-title"><%= link_to post.title, post %></h3>
<div class="post-body"><%= post.body %></div>
</div>
</div>
| <div class="post-panel">
<%= render partial: 'posts/post_metadata', locals: { post: post } %>
<div class="main-body">
<h3 class="post-title"><%= link_to post.title, post %></h3>
<div class="post-body"><%= post.body %></div>
</div>
<div id="post_<%= post.id %>_likes">
<%= render partial: 'posts/lik... | Add post like button to post partial | Add post like button to post partial
| HTML+ERB | mit | aamin005/Firdowsspace,kenny-hibino/stories,dev-warner/Revinyl-Product,kenny-hibino/stories,aamin005/Firdowsspace,aamin005/Firdowsspace,dev-warner/Revinyl-Product,kenny-hibino/stories,dev-warner/Revinyl-Product |
4125c7c60f64ff27fd7c304cc06b46886ea1ea6d | app/views/tools/index.html.erb | app/views/tools/index.html.erb | <h1>Tools Index</h1>
<p>Note: If the <strong>Resources</strong> toggle does not work, refresh the page! Or <a href="https://github.com/dunphyben/epicoding" target="_blank">fork the repo</a> and fix the bug! :)</p>
<% @tools.each do |tool| %>
<ul>
<li><%= link_to tool.name, tool_path(tool.id) %> | <span class="re... | <h1>Tools Index</h1>
<p>Note: If the <strong>Resources</strong> toggle does not work, refresh the page! Or <a href="https://github.com/epicoding/epicoding" target="_blank">fork the repo</a> and fix the bug! :)</p>
<% @tools.each do |tool| %>
<ul>
<li><%= link_to tool.name, tool_path(tool.id) %> | <span class="re... | Fix fork repo link on tools index | Fix fork repo link on tools index
| HTML+ERB | mit | dunphyben/epicoding,epicoding/epicoding,epicoding/epicoding,dunphyben/epicoding |
713649454a864a20c0f32cf5f8803cd494927576 | app/views/users/index.html.erb | app/views/users/index.html.erb |
<div id="recipeContainer"><%= render 'recipeCard' %></div>
<!-- <%= @response[0]["recipeName"] %>
<p><%= @response[0]["recommendation_score"] %></p> -->
<!-- These lines will show recipe stuff -->
<!-- Large pics Yay! -->
<!-- <%= link_to image_tag(@response[0]["largeImage"]), "http://www.yummly.com/recipe/#{@respons... |
<div id="recipeContainer"><%= render 'recipeCard' %></div>
<!-- <%= @response[0]["recipeName"] %>
<p><%= @response[0]["recommendation_score"] %></p> -->
<!-- These lines will show recipe stuff -->
<!-- Large pics Yay! -->
<!-- <%= link_to image_tag(@response[0]["largeImage"]), "http://www.yummly.com/recipe/#{@respons... | Add debugging tools for database | Add debugging tools for database
| HTML+ERB | mit | chef-buddy/chef-buddy-foundation,chef-buddy/chef-buddy-foundation,chef-buddy/chef-buddy-foundation |
5ca5d97da8adc17bdfd5cd4770efbe1fe129348b | app/views/admin/speeches/_delivered_by_fields.html.erb | app/views/admin/speeches/_delivered_by_fields.html.erb | <%= label_tag :person_override_active, 'Speaker is not a person on inside government' %>
<%= check_box_tag :person_override_active, "1", edition.person_override? %>
<div class="role_appointment">
<%= form.label :role_appointment_id, 'Speaker' %>
<%= form.select :role_appointment_id, options_from_collection_for_sele... | <div class="role_appointment">
<%= form.label :role_appointment_id, 'Speaker' %>
<%= form.select :role_appointment_id, options_from_collection_for_select(role_appointment_options, :first, :last, edition.role_appointment_id), { include_blank: true }, class: 'chzn-select', data: { placeholder: "Choose a speaker..." }... | Fix the alignment and ordering of the person_override_active | Fix the alignment and ordering of the person_override_active
https://www.pivotaltracker.com/story/show/40773995
| HTML+ERB | mit | hotvulcan/whitehall,YOTOV-LIMITED/whitehall,hotvulcan/whitehall,robinwhittleton/whitehall,hotvulcan/whitehall,YOTOV-LIMITED/whitehall,hotvulcan/whitehall,askl56/whitehall,robinwhittleton/whitehall,alphagov/whitehall,ggoral/whitehall,YOTOV-LIMITED/whitehall,alphagov/whitehall,ggoral/whitehall,ggoral/whitehall,askl56/whi... |
76137d2c057e97296e3576a70dedbf5324917cbb | lib/views/general/_frontpage_intro_sentence.html.erb | lib/views/general/_frontpage_intro_sentence.html.erb | <h2>
Your <strong>Right to Know</strong>
</h2>
<p>Every citizen has the right to access information held by public bodies. <strong>By law, they have to respond</strong>.</p>
<p><a href="<%= help_about_url %>">Find out more about the Official Information Act.</a></p>
| <h2>
Your <strong>Right to Know</strong>
</h2>
<p>Every citizen has the right to access information held by public bodies. <strong>By law, they have to respond</strong>.</p>
<p><%= link_to "Find out more about the Official Information Act.", help_about_path %></p>
| Use more idiomatic link_to helper | Use more idiomatic link_to helper
| HTML+ERB | mit | nzherald/fyi-theme,olineham/morebetter-theme,nzherald/fyi-theme,nzherald/fyi-theme,olineham/morebetter-theme,olineham/morebetter-theme |
88a56f4efc10eb61435906a1fd5e30848b9c3af9 | lib/domgen/ee/templates/enumeration.java.erb | lib/domgen/ee/templates/enumeration.java.erb | /* DO NOT EDIT: File is auto-generated */
package <%= enumeration.data_module.ee.data_type_package %>;
<%= description_javadoc_for(enumeration, "") %>@javax.annotation.Generated( "Domgen" )
@SuppressWarnings( { "UnusedDeclaration", "JavaDoc" } )
<% if enumeration.jaxb?
%>@javax.xml.bind.annotation.XmlType( name = "<%=... | /* DO NOT EDIT: File is auto-generated */
package <%= enumeration.data_module.ee.data_type_package %>;
<%= description_javadoc_for(enumeration, "") %>@javax.annotation.Generated( "Domgen" )
@SuppressWarnings( { "UnusedDeclaration", "JavaDoc" } )
<% if enumeration.jaxb?
%>@javax.xml.bind.annotation.XmlType( name = "<%=... | Rework the way enumerations are serialized to json to match historic behaviour | Rework the way enumerations are serialized to json to match historic behaviour
| HTML+ERB | apache-2.0 | realityforge/domgen,william-ml-leslie/domgen,icaughley/domgen,realityforge/domgen,icaughley/domgen |
8bbc8836843a506db7be8a02efa33fae7eb2a387 | lib/domgen/jpa/templates/abstract_entity_test.java.erb | lib/domgen/jpa/templates/abstract_entity_test.java.erb | /* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.jpa.qualified_abstract_entity_test_name) %>;
@java.lang.SuppressWarnings( { "UnusedDeclaration" } )
@javax.annotation.Generated( "Domgen" )
public abstract class <%= repository.jpa.abstract_entity_test_name %>
extends org.realityforge.guicey... | /* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.jpa.qualified_abstract_entity_test_name) %>;
@java.lang.SuppressWarnings( { "UnusedDeclaration" } )
@javax.annotation.Generated( "Domgen" )
public abstract class <%= repository.jpa.abstract_entity_test_name %>
extends org.realityforge.guicey... | Fix code to reflect name change | Fix code to reflect name change
| HTML+ERB | apache-2.0 | realityforge/domgen,icaughley/domgen,realityforge/domgen,icaughley/domgen |
c270c6cdf7ad3eebbce382396f4731a00e6e334b | backend/app/views/spree/admin/images/new.html.erb | backend/app/views/spree/admin/images/new.html.erb | <%= render partial: 'spree/admin/shared/error_messages', locals: { target: @product } %>
<% content_for :page_title do %>
<%= Spree.t(:new_image) %>
<% end %>
<%= form_for [:admin, @product, @image], html: { multipart: true } do |f| %>
<fieldset data-hook="new_image">
<%= render partial: 'form', locals: { f: ... | <%= render partial: 'spree/admin/shared/error_messages', locals: { target: @product } %>
<% content_for :page_title do %>
<%= Spree.t(:new_image) %>
<% end %>
<%= form_for [:admin, @product, @image], html: { multipart: true } do |f| %>
<fieldset data-hook="new_image">
<%= render partial: 'form', locals: { f: ... | Remove reference to deleted file. | Remove reference to deleted file.
| HTML+ERB | bsd-3-clause | grzlus/spree,Machpowersystems/spree_mach,hoanghiep90/spree,odk211/spree,azranel/spree,imella/spree,TrialGuides/spree,jasonfb/spree,jasonfb/spree,abhishekjain16/spree,yiqing95/spree,builtbybuffalo/spree,Kagetsuki/spree,SadTreeFriends/spree,volpejoaquin/spree,camelmasa/spree,APohio/spree,sfcgeorge/spree,miyazawatomoka/sp... |
331dc37a5246a4dc26f66897804d7b34e5463474 | app/views/forem/topics/show.html.erb | app/views/forem/topics/show.html.erb | <div id='topic'>
<h2><%= @topic.subject %></h2>
<menu>
<%= link_to "Reply to Topic", new_topic_post_path(@topic) %>
<%= link_to "Delete", forum_topic_path(@forum, @topic), :method => :delete, :confirm => "Are you sure?" %>
</menu>
<div id='posts'>
<%= render :partial => "forem/posts/post", :collecti... | <div id='topic'>
<h2><%= @topic.subject %></h2>
<menu>
<%= link_to "Back to Topics", forum_path(@forum) %>
<%= link_to "Reply to Topic", new_topic_post_path(@topic) %>
<%= link_to "Delete", forum_topic_path(@forum, @topic), :method => :delete, :confirm => "Are you sure?" %>
</menu>
<div id='posts'>
... | Add 'back to topics' link on a given topic show for a forum. | [view] Add 'back to topics' link on a given topic show for a forum.
| HTML+ERB | mit | jaybrueder/forem,substantial/forem,BanzaiMan/forem,szymon-przybyl/forem,hanspolo/forem,kunalchaudhari/forem,filiptepper/forem,frankmarineau/forem,Fullscreen/forem,devleoper/forem,etjossem/Goodsmiths-Hub,mijoharas/forem,renz45/forem,bcavileer/forem,ciscou/forem,bcavileer/forem,nikolaevav/forem,andypike/forem,bvsatyaram/... |
656603b5f2eff054f14a6232099c6a2acc3a55dc | lib/generators/statesman/templates/active_record_transition_model.rb.erb | lib/generators/statesman/templates/active_record_transition_model.rb.erb | class <%= klass %> < ActiveRecord::Base
include Statesman::Adapters::ActiveRecordTransition
<% unless rails_4? %>
attr_accessible :to_state, :metadata, :sort_key
<% end %>
belongs_to :<%= parent_name %><%= class_name_option %>, inverse_of: :<%= table_name %>
end
| class <%= klass %> < ActiveRecord::Base
include Statesman::Adapters::ActiveRecordTransition
<% unless rails_4? %>
attr_accessible :to_state, :metadata, :sort_key
<% end %>
belongs_to :<%= parent_name %><%= class_name_option %>, inverse_of: :<%= table_name %>
after_destroy :update_most_recent
private
def... | Update most-recent after transition destroy | Update most-recent after transition destroy
| HTML+ERB | mit | mmontalvo/statesman,timothyp/statesman,mmontalvo/statesman,pacso/statesman,pacso/statesman,image-tester/statesman,timothyp/statesman,eljojo/statesman,eljojo/statesman,mkcode/statesmin,image-tester/statesman,gocardless/statesman,gocardless/statesman |
2a469112fb4251ef4dbbc3b73ee9137bccee2b8e | app/views/layouts/modals/_guide_corollary.html.erb | app/views/layouts/modals/_guide_corollary.html.erb | <div class="modal fade guide-corollary" id="guide-done" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&t... | <div class="modal fade guide-corollary" id="guide-done" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&t... | Move medal to bottom of guide corollary | Move medal to bottom of guide corollary
| HTML+ERB | agpl-3.0 | mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory |
967d1f7717216c41ca20fdb265750449d286446e | templates/env.erb | templates/env.erb | <% if scope.lookupvar('spark::historyserver_hostname') == @fqdn -%>
<% properties = scope.lookupvar('spark::_properties').select { |name,value| (name =~ /^spark\.history\./) and value != '::undef' } -%>
<% s = '' -%>
<% properties.keys.each do |p| -%>
<% s = s + ' -D' + p + '=' + scope.lookupvar('spark::_properties')[p... | <% if scope.lookupvar('spark::historyserver_hostname') == @fqdn -%>
<% properties = scope.lookupvar('spark::_properties').select { |name,value| (name =~ /^spark\.history\./) and value != '::undef' } -%>
<% s = '' -%>
<% properties.keys.each do |p| -%>
<% s = s + ' -D' + p + '=' + scope.lookupvar('spark::_properties')[p... | Fix syntax error when using with master: needs convert explicitly to string when using in string operation. | Fix syntax error when using with master: needs convert explicitly to string when using in string operation.
| HTML+ERB | mit | MetaCenterCloudPuppet/cesnet-spark,MetaCenterCloudPuppet/cesnet-spark |
2b5bb7138df62c3de2e048639dc01466c9b68e1c | publify_core/app/views/layouts/administration.html.erb | publify_core/app/views/layouts/administration.html.erb | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title><%= this_blog.blog_name %> – <%= controller.controller_name %></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="imagetoolbar" content="no" />
... | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title><%= this_blog.blog_name %> – <%= controller.controller_name %></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="imagetoolbar" content="no" />
... | Remove unneeded wrapping elements from admin layout | Remove unneeded wrapping elements from admin layout
| HTML+ERB | mit | publify/publify,publify/publify,publify/publify |
d3b3fccaea229d15d670263b87a18be6e51d02ee | app/views/admin/government_response/_petition_action_government_response.html.erb | app/views/admin/government_response/_petition_action_government_response.html.erb | <h2 class="petition-action-heading">Government response</h2>
<%= form_for @government_response, :url => admin_petition_government_response_path(petition), method: :put do |f| -%>
<%= form_row :for => [f.object, :summary] do %>
<%= f.label :summary, 'Summary quote', class: 'form-label' %>
<%= error_messages_fo... | <h2 class="petition-action-heading">Government response</h2>
<%= form_for @government_response, :url => admin_petition_government_response_path(petition), method: :put do |f| -%>
<%= form_row :for => [f.object, :summary] do %>
<%= f.label :summary, 'Summary quote', class: 'form-label' %>
<%= error_messages_fo... | Fix character counter on response admin | Fix character counter on response admin
The selector in the character-counter.js is looking for textareas with
a data-max-length attribute and not a data-maxlength attribute.
| HTML+ERB | mit | oskarpearson/e-petitions,joelanman/e-petitions,alphagov/e-petitions,telekomatrix/e-petitions,alphagov/e-petitions,unboxed/e-petitions,telekomatrix/e-petitions,StatesOfJersey/e-petitions,StatesOfJersey/e-petitions,unboxed/e-petitions,telekomatrix/e-petitions,StatesOfJersey/e-petitions,oskarpearson/e-petitions,StatesOfJe... |
e54b6b3d97c9c4d78435f5f101a01c568721f93e | app/views/management/budgets/investments/index.html.erb | app/views/management/budgets/investments/index.html.erb | <main>
<span class="not-print">
<%= render "admin/shared/budget_investment_search", url: management_budget_investments_path(@budget) %>
</span>
<div class="wrap row">
<div id="budget-investments" class="budget-investments-list small-12 medium-9 column">
<div class="small-12 search-results">
... | <main>
<span class="not-print">
<%= render "admin/shared/budget_investment_search", url: management_budget_investments_path(@budget) %>
</span>
<div class="wrap row">
<div id="budget-investments" class="budget-investments-list small-12 column">
<div class="small-12 search-results">
<%= tag... | Increase investments width in management section | Increase investments width in management section
I'm not sure whether it now looks worse on extra large screens, but I'm
positive it looks much better on medium and large screens, particularly
when investments have images.
| HTML+ERB | agpl-3.0 | consul/consul,consul/consul,consul/consul,consul/consul,consul/consul |
7c2bb7ea783e5ef209d57e46dcfa06094fc22b30 | app/views/survey_responses/_survey_summary.erb | app/views/survey_responses/_survey_summary.erb | <% if model_object.survey_responses.size > 0 %>
<div class="admin-section">
<h3>Survey Results</h3>
<div>Average Rating: <%= model_object.average_rating %></div>
<div>Average Instructor Rating: <%= model_object.average_instructor_rating %></div>
<div id="display-comments"><a href="javascript:Effect.BlindDown('... | <% if model_object.survey_responses.size > 0 %>
<div class="admin-section">
<h3>Survey Results</h3>
<div>Average Rating: <%= model_object.average_rating %></div>
<div>Average Instructor Rating: <%= model_object.average_instructor_rating %></div>
<div id="display-comments"><%= link_to_function "Display Comments... | Fix for comments problem in Firefox. bugid: 4239 | Fix for comments problem in Firefox. bugid: 4239
| HTML+ERB | apache-2.0 | txstate-etc/txst-signup,txstate-etc/txst-signup,txstate-etc/signup,txstate-etc/signup,txstate-etc/signup,txstate-etc/txst-signup |
80d7be9cb098c6914df76be45b25c5b05b3cbc86 | app/views/admin/admin/_petition_action_departments.html.erb | app/views/admin/admin/_petition_action_departments.html.erb | <% if @petition.is_a?(::Archived::Petition) %>
<%= link_to 'Departments', admin_archived_petition_departments_path(@petition), class: 'petition-action-heading' %>
<% else %>
<%= link_to 'Departments', admin_petition_departments_path(@petition), class: 'petition-action-heading' %>
<% end %>
| <% if @petition.is_a?(::Archived::Petition) %>
<%= link_to 'Departments', admin_archived_petition_departments_path(@petition), class: 'petition-action-heading' %>
<% elsif @petition.departments? %>
<%= link_to 'Departments', admin_petition_departments_path(@petition), class: 'petition-action-heading present' %>
<% ... | Add presence indicator to departments too | Add presence indicator to departments too
| HTML+ERB | mit | unboxed/e-petitions,alphagov/e-petitions,unboxed/e-petitions,alphagov/e-petitions,alphagov/e-petitions,joelanman/e-petitions,joelanman/e-petitions,joelanman/e-petitions,unboxed/e-petitions,alphagov/e-petitions,unboxed/e-petitions |
e15d19d182ab8127e020dc66deca4babc5c1ec30 | modules/hdo/templates/nginx-node-app-vhost.conf.erb | modules/hdo/templates/nginx-node-app-vhost.conf.erb | #
# This file is managed by Puppet. Local edits will be lost.
#
server {
listen 80;
server_name <%= @server_name %>;
root <%= @public_root %>;
try_files $uri @node;
location @node {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwa... | #
# This file is managed by Puppet. Local edits will be lost.
#
proxy_cache_path /tmp/nginx/<%= @app_name %> level=1:2 keys_zone=<%= @app_name %>:10m inactive=1d;
server {
listen 80;
server_name <%= @server_name %>;
root <%= @public_root %>;
try_files $uri @node;
location @node {
... | Add some HTTP caching to nginx-node-app-vhost | Add some HTTP caching to nginx-node-app-vhost
| HTML+ERB | bsd-3-clause | holderdeord/hdo-puppet,holderdeord/hdo-puppet,holderdeord/hdo-puppet,holderdeord/hdo-puppet,holderdeord/hdo-puppet |
c5b324bb88b560dcee52813e4f983613ba22b766 | lib/shanty/templates/providers/aws/Vagrantfile.erb | lib/shanty/templates/providers/aws/Vagrantfile.erb | # -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "dummy"
config.vm.provider :aws do |aws, override|
aws.access_key_id = "<%= @provider_config.fetch("access_key") %>"
aws.secret_access_key = "<%= @provider_config.fetch("secret_access_key") %>"
aws.keypair_name ... | # -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "dummy"
config.vm.provider :aws do |aws, override|
aws.access_key_id = "<%= @provider_config.fetch("access_key") %>"
aws.secret_access_key = "<%= @provider_config.fetch("secret_access_key") %>"
aws.keypair_name ... | Add puppet facts support to Aws provider. | Add puppet facts support to Aws provider.
| HTML+ERB | mit | justinleveck/boxci,reachlocal/boxci,codebreakdown/boxci |
8258e18f8080d9df88da54c2f9faf545bf7eedab | app/views/custom/shared/_advanced_search.html.erb | app/views/custom/shared/_advanced_search.html.erb | <div class="relative">
<%= link_to t("shared.advanced_search.title"), "#advanced_search_form", id: 'js-advanced-search-title', class: "advanced-search small" %>
</div>
<div class="row advanced-search-form">
<%= form_tag search_path, id: "advanced_search_form", method: :get do %>
<div id='js-advanced-search' da... | Remove official levels from search fields | Remove official levels from search fields
| HTML+ERB | agpl-3.0 | CDJ11/CDJ,CDJ11/CDJ,CDJ11/CDJ,CDJ11/CDJ | |
43272e0c749925a5f0d4791de7824afed0bd5cde | spec/dummy_app/app/views/layouts/application.html.erb | spec/dummy_app/app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>DummyApp</title>
<%= stylesheet_link_tag :all %>
<%= javascript_include_tag :defaults %>
<%= csrf_meta_tag %>
</head>
<body>
<%= yield %>
</body>
</html>
| <!DOCTYPE html>
<html>
<head>
<title>DummyApp</title>
<%= stylesheet_link_tag :all %>
<%= csrf_meta_tag %>
</head>
<body>
<%= yield %>
</body>
</html> | Remove linking of non-existing JS files in DummyApp's default layout (rendered in Devise specific views such as login and register) | Remove linking of non-existing JS files in DummyApp's default layout (rendered
in Devise specific views such as login and register)
| HTML+ERB | mit | patleb/admineer,sferik/rails_admin,johanneskrtek/rails_admin,sideci-sample/sideci-sample-rails_admin,impurist/rails_admin,engel/rails_admin,hut8/rails_admin,lvexiao/magic_admin,lvexiao/magic_admin,amankatoch/rails_admin,jemcode/rails_admin,bf4/rails_admin,crashlytics/rails_admin,amankatoch/rails_admin,FeipingHunag/admi... |
8850de94909b57d4e9bef2da2587dcf49f874741 | puppet/modules/role/templates/thumb_on_404/apache2.conf.erb | puppet/modules/role/templates/thumb_on_404/apache2.conf.erb | <Directory <%= @images_dir %>>
# Wrap rewrite rules in a location block so apache will apply aliases before
# testing the RewriteCond
RewriteEngine On
RewriteBase <%= @images_url %>/
# Call thumb.php for thumb images not on disk
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
Re... | <Directory <%= @images_dir %>>
# Wrap rewrite rules in a location block so apache will apply aliases before
# testing the RewriteCond
RewriteEngine On
RewriteBase <%= @images_url %>/
# Call thumb_handler.php for thumb images not on disk
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} ... | Correct thumb.php -> thumb_handler.php comments | Correct thumb.php -> thumb_handler.php comments
Change-Id: I93c097206d8a5fced028f7f2266a3de1149e69ab
| HTML+ERB | mit | HarriAlasi/wiki3dviewer,wikimedia/mediawiki-vagrant,HarriAlasi/wiki3dviewer,stuartbman/mediawiki-vagrant,stuartbman/mediawiki-vagrant,wikimedia/mediawiki-vagrant,stuartbman/mediawiki-vagrant,stuartbman/mediawiki-vagrant,wikimedia/mediawiki-vagrant,HarriAlasi/wiki3dviewer,HarriAlasi/wiki3dviewer,stuartbman/mediawiki-vag... |
80179a9c0cb0f023da4642ab8cdccd441f77b719 | lib/smart_answer_flows/calculate-your-holiday-entitlement/questions/basis_of_calculation.govspeak.erb | lib/smart_answer_flows/calculate-your-holiday-entitlement/questions/basis_of_calculation.govspeak.erb | <% content_for :title do %>
Is the holiday entitlement based on:
<% end %>
<% options(
"days-worked-per-week": "days worked per week",
"hours-worked-per-week": "hours worked per week",
"casual-or-irregular-hours": "casual or irregular hours",
"annualised-hours": "annualised hours",
"compressed-hours": "com... | <% content_for :title do %>
Is the holiday entitlement based on:
<% end %>
<% options(
"days-worked-per-week": "days worked per week",
"hours-worked-per-week": "hours worked per week",
"casual-or-irregular-hours": "casual or irregular hours",
"annualised-hours": "annualised hours (hours worked per year)",
... | Add text to holiday entitlement question | Add text to holiday entitlement question
Plain English definitions have been requested by the content team
| HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
f98649bb027ad300f353ec179f76ebcf24df97c5 | app/views/layouts/application/_navigation_links.html.erb | app/views/layouts/application/_navigation_links.html.erb | <% if user_signed_in? %>
<li><%= link_to "Place Order", new_order_path %></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
Account <b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li><%= link_to "Account", profile_path(current_user) %></li>
<... | <%# TODO: apply pundit %>
<% if user_signed_in? %>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
Services<b class="caret"></b>
</a>
<ul class="dropdown-menu">
<% Service.all.each do |service| %>
<li><%= link_to service.service_name, service_path(s... | Update links and add services | Update links and add services
| HTML+ERB | mit | Dom-Mc/fetch_it,Dom-Mc/fetch_it,Dom-Mc/fetch_it |
ddc095dfec8c52bd94a87eb13c4d2b55c9aa6885 | app/views/supporting_pages/_document_contextual.html.erb | app/views/supporting_pages/_document_contextual.html.erb | <section class="contextual_info">
<%= render partial: "policies/policy_navigation" %>
<h1>Policy definition</h1>
<nav class="policy_parts" role="navigation">
<%= link_to_with_current @policy.title, public_document_path(@policy, anchor: 'top') %>
</nav>
<% if (supporting_pages = @policy.supporting_pages)... | <section class="contextual_info">
<%= render partial: "policies/policy_navigation" %>
<% if (supporting_pages = @policy.supporting_pages).any? %>
<h2>Supporting detail</h2>
<nav class="supporting_pages" role="navigation">
<% supporting_pages.each do |supporting_page| %>
<% options = supportin... | Remove redundant link to policy. | Remove redundant link to policy.
This should've been removed in 550e3a68beba6f69daaa290ebf287c5e1fb70fa2
when I added the policy navigation partial to the template.
| HTML+ERB | mit | robinwhittleton/whitehall,YOTOV-LIMITED/whitehall,YOTOV-LIMITED/whitehall,alphagov/whitehall,robinwhittleton/whitehall,askl56/whitehall,YOTOV-LIMITED/whitehall,robinwhittleton/whitehall,askl56/whitehall,ggoral/whitehall,hotvulcan/whitehall,alphagov/whitehall,ggoral/whitehall,askl56/whitehall,robinwhittleton/whitehall,g... |
0e4940333f14cf63efd608c6c1693e9341774588 | app/views/layouts/modals/_post_modal.html.erb | app/views/layouts/modals/_post_modal.html.erb | <!-- Modal Structure -->
<div id="modal-post" class="modal">
<%= form_tag user_posts_path(current_user), method: :post do %>
<div class="modal-content">
<h4>Create a new post</h4>
<div class="row">
<div class="col s12 input-field">
<%= label_tag :text, "Write a someth... | <!-- Modal Structure -->
<div id="modal-post" class="modal">
<%= form_tag user_posts_path(current_user), method: :post do %>
<div class="modal-content form-color">
<h4>Create a new post</h4>
<div class="row">
<div class="col s12 input-field">
<%= label_tag :text, "Wri... | Add color theme to inputs and labels forms | Add color theme to inputs and labels forms
| HTML+ERB | mit | juanhenriquez/move-rails,juanhenriquez/move-rails,juanhenriquez/move-rails |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.