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 |
|---|---|---|---|---|---|---|---|---|---|
d8163895b49f8a6ad454b5fef6f1fbdac8fa2ed2 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>Feeder</title>
<%= javascript_pack_tag 'application' %>
<%= stylesheet_pack_tag 'application' %>
<%= csrf_meta_tags %>
<link rel="icon" href="data:,">
<%= re... | <!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5">
<title>Feeder</title>
<%= javascript_pack_tag 'application' %>
<%= stylesheet_pack_tag 'application' %>
<%= csrf_meta_tags %>
<link rel="icon" href="data:,">
<%= re... | Increase viewport maximum-scale to improve a11y | Increase viewport maximum-scale to improve a11y
| HTML+ERB | mit | dreikanter/feeder,dreikanter/feeder,dreikanter/feeder |
7820a6322ab794024f6191d34cac2601462acb65 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>BlogSample</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<% if user_signed_in? %>
Hello, <%= current_user.... | <!DOCTYPE html>
<html>
<head>
<title>BlogSample</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
<meta name="viewport" content="width=device-width, initial-scale... | Add Bootstrap CDN and jQuery | Add Bootstrap CDN and jQuery
| HTML+ERB | mit | Kraykin/Blog-sample,Kraykin/Blog-sample,Kraykin/Blog-sample |
41b29aaf0cadd29efa917c69a99757f25236ca52 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <% benchmark %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="noindex, nofollow" />
<title><%= full_title yield(:title) %></title>
<%= stylesheet_link_tag 'application', media: 'all',
'data-turbolin... | <% benchmark %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="noindex, nofollow" />
<title><%= full_title yield(:title) %></title>
<%= stylesheet_link_tag 'application', media: 'all',
'data-turbolin... | Fix syntax error in layouts/application (alert rendering) | Fix syntax error in layouts/application (alert rendering)
| HTML+ERB | mit | cribbles/tiktak,cribbles/tiktak,cribbles/tiktak |
69054dc78025bc6f89946c35ab483eb6afbed27b | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Base64ImageCarrierwave</title>
<%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
<%= csrf_meta_tags %>
</head>
<body>
<%= yield %>
</body>
</html>
| <!DOCTYPE html>
<html>
<head>
<title>Base64ImageCarrierwave</title>
<%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
<%= csrf_meta_tags %>
</head>
<body>
<div class="container">
<%= yield %>... | Add bs class to layout | Add bs class to layout
| HTML+ERB | apache-2.0 | hzmangel/base64_image_carrierwave,hzmangel/base64_image_carrierwave |
5cc867a43de90bb841dbf8eb913a8e4b4e13e1f9 | app/views/welcome/instruction.html.erb | app/views/welcome/instruction.html.erb | <%= render 'articles/header',
header_class: '',
header_image: 'http://demos.creative-tim.com/material-kit-pro/assets/img/bg10.jpg',
header_title: 'Instruction' %>
<%= render 'articles/layout', content_class: 'col-md-8 col-lg-offset-2' do %>
<%= @content %>
<% end %>
| <%= render 'articles/header',
header_class: '',
header_image: asset_path('library.jpg'),
header_title: 'Instruction' %>
<%= render 'articles/layout', content_class: 'col-md-8 col-lg-offset-2' do %>
<%= @content %>
<% end %>
| Update image header for instruction page | Update image header for instruction page
| HTML+ERB | mit | hckhanh/bloggrails,hckhanh/bloggrails,hckhanh/bloggrails |
5726e03586d5f7d2aef754e9dba1f76063e8b8b1 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Twist</title>
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
<link href='https://fonts.googleapis.com/css?family=Roboto:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
<meta name=... | <!DOCTYPE html>
<html>
<head>
<title>Twist</title>
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
<link href='https://fonts.googleapis.com/css?family=Roboto:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
<meta name=... | Use right method for sign out link | Use right method for sign out link
| HTML+ERB | mit | radar/twist,radar/twist,RealSilo/twist,radar/twist,RealSilo/twist,RealSilo/twist |
1d0bcb7bb20acd14c3bee743f873ea5290064df6 | app/views/layouts/constrained.html.erb | app/views/layouts/constrained.html.erb | <% content_for :main do %>
<% if content_for?(:context_bar) %>
<nav class="l-context-bar">
<div class="l-constrained">
<%= yield :context_bar %>
</div>
</nav>
<% end %>
<div class="l-constrained l-padded" id="main" tabindex="-1">
<%= yield %>
</div>
<% end %>
<%= render templa... | <% content_for :main do %>
<% if content_for?(:context_bar) %>
<nav class="l-context-bar" role="navigation" aria-label="breadcrumb">
<div class="l-constrained">
<%= yield :context_bar %>
</div>
</nav>
<% end %>
<div class="l-constrained l-padded" id="main" tabindex="-1">
<%= yiel... | Add aria role to nav element | Add aria role to nav element
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
a94918e7568cc83993f532ef1e7dd071640f454e | app/views/layouts/maintenance.html.erb | app/views/layouts/maintenance.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Maintenance</title>
<style type="text/css">
body {
width: 400px;
margin: 100px auto;
font: 300 120% "OpenSans", "Helvetica Neue", "Helvetica", Arial, Verdana, sans-serif;
}
h1 {
font-weight: 300;
}
</style>
</head>
<... | Add maintenance view for deployments | Add maintenance view for deployments
Supports #195
| HTML+ERB | agpl-3.0 | opengovernment/askthem,mapineda/askthem,opengovernment/askthem,mapineda/askthem,mapineda/askthem,mapineda/askthem,opengovernment/askthem,opengovernment/askthem | |
1ebb374dcb3cc1037bb90ae86949c964c21a2258 | app/views/projects/test_cases/_inputs.html.erb | app/views/projects/test_cases/_inputs.html.erb | <%= f.input :title %>
<%= f.input :content, input_html: { rows: 5 } %>
<%= f.input :folder_id, collection: sort_folders(@project.folders.available.ranked) %>
<%= f.input :platform_ids, collection: @project.platforms, as: :check_boxes %>
<%= ok_url_tag %>
| <%= f.input :title %>
<%= f.input :content, input_html: { class: 'markdown-field' } %>
<%= f.input :folder_id, collection: sort_folders(@project.folders.available.ranked) %>
<%= f.input :platform_ids, collection: @project.platforms, as: :check_boxes %>
<%= ok_url_tag %>
| Add markdown editor for testcase content | Add markdown editor for testcase content
| HTML+ERB | mit | ll100-cn/testpoint,ll100-cn/testpoint,ll100-cn/testpoint,ll100-cn/testpoint |
479ca35dabae3dc60336d35e5dc34f9927af7ee7 | source/partials/_sidebar.erb | source/partials/_sidebar.erb | <aside id="sidebar">
<div id="comic">
<% comic_post = newest_comic_post() %>
<% if !comic_post.nil? %>
<% link_to comic_post['url'] do %>
<%= image_tag 'pair-of-ducks.png', :alt => "Paradox" %>
<% end %>
<h5>The Pair of Ducks Paradox</h5>
<% end %>
</div>
<hr class="fractal">
<div id=... | <aside id="sidebar">
<hr class="fractal">
<div id="recent-articles">
<h5>Recent Articles</h5>
<ul class="fa-ul">
<% blog.articles[0...5].each do |article| %>
<li>
<i class="fa-li fa fa-chevron-right"></i>
<%= link_to article.title, article %>
</li>
<% end %>... | Remove the comic stuff from the sidebar | Remove the comic stuff from the sidebar
| HTML+ERB | mit | fractaledmind/fractaled_mind,fractaledmind/fractaled_mind,smargh/fractaled_mind,fractaledmind/fractaled_mind,smargh/fractaled_mind,smargh/fractaled_mind,fractaledmind/fractaled_mind,smargh/fractaled_mind |
0559e0fb44353043891f691918cb879018b2b9a4 | jobs/cephfs/templates/ctl.erb | jobs/cephfs/templates/ctl.erb | #!/bin/bash
RUN_DIR=/var/vcap/sys/run/cephfs
PIDFILE=${RUN_DIR}/pid
case $1 in
start)
mkdir -p $RUN_DIR
chown -R vcap:vcap $RUN_DIR
status=$(ceph health | grep HEALTH_OK)
while [ "$status" != "HEALTH_OK" ]; do
sleep 2
status=$(ceph health | grep HEALTH_OK)
done
echo `... | #!/bin/bash
RUN_DIR=/var/vcap/sys/run/cephfs
PIDFILE=${RUN_DIR}/pid
case $1 in
start)
mkdir -p $RUN_DIR
chown -R vcap:vcap $RUN_DIR
status=$(ceph health | grep HEALTH_OK)
while [ "$status" != "HEALTH_OK" ]; do
sleep 2
status=$(ceph health | grep HEALTH_OK)
done
echo `... | Remove hardcoded ceph monitor ip from from cephfs job. | Remove hardcoded ceph monitor ip from from cephfs job.
[#119662951](http://www.pivotaltracker.com/story/show/119662951)
Signed-off-by: Nagapramod Mandagere <459b9f2da98a4f81cc141b18707e9a2669e5cf9c@us.ibm.com>
| HTML+ERB | apache-2.0 | cloudfoundry-incubator/cephfs-bosh-release,cloudfoundry-incubator/cephfs-bosh-release |
46bc04450f33adf8e68f5f9cc2d40bf0d21e7ba3 | templates/nginx.site.conf.erb | templates/nginx.site.conf.erb | server {
server_name <%= server_name %>;
root <%= root %>;
location / {
index <%= index %>;
}
location ~ /\.ht {
deny all;
}
} | server {
server_name <%= server_name %>;
root <%= root %>;
location / {
index <%= index %>;
}
location = /favicon.ico {
log_not_found off;
access_log off;
}
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
location ~ /\. {
deny all;
... | Hide hidden files and do not log service files | Hide hidden files and do not log service files | HTML+ERB | mit | garex/puppet-module-nginx |
abc570051393f1c321ea1d638cf2b39bfd43cc67 | templates/default/gwm_apache_vhost_https.conf.erb | templates/default/gwm_apache_vhost_https.conf.erb | <VirtualHost *:<%= @params[:server_port] || node['apache']['listen_ports'].first %>>
ServerName <%= @params[:server_name] %>
ServerAlias <% @params[:server_aliases].each do |a| %><%= a %> <% end %>
SSLEngine On
SSLCertificateFile "<%= @params[:app][:certificate_file] %>"
SSLCertificateKeyFile "<%... | <VirtualHost *:<%= @params[:server_port] %>>
ServerName <%= @params[:server_name] %>
ServerAlias <% @params[:server_aliases].each do |a| %><%= a %> <% end %>
SSLEngine On
SSLCertificateFile "<%= @params[:app][:certificate_file] %>"
SSLCertificateKeyFile "<%= @params[:app][:certificate_key_file] %... | Remove option to NOT have server_port set for HTTPS | Remove option to NOT have server_port set for HTTPS
| HTML+ERB | apache-2.0 | osuosl-cookbooks/ganeti_webmgr,osuosl-cookbooks/ganeti_webmgr,osuosl-cookbooks/ganeti_webmgr |
be45da58184d9a38c42097d95151b46ddd38ea8c | app/views/letter_opener_web/letters/_item.html.erb | app/views/letter_opener_web/letters/_item.html.erb | <% classes = %w(list-group-item list-group-action message-headers) %>
<% classes << 'active' if active %>
<%= link_to(letter_path(letter, style: letter.default_style), class: classes, target: 'mail') do %>
<%= letter.headers %>
<% end %>
| <% classes = %w(list-group-item list-group-action message-headers p-2) %>
<% classes << 'active' if active %>
<%= link_to(letter_path(letter, style: letter.default_style), class: classes, target: 'mail') do %>
<%= letter.headers %>
<% end %>
| Remove some padding from emails list on the sidebar | Remove some padding from emails list on the sidebar
| HTML+ERB | mit | fgrehm/letter_opener_web,fgrehm/letter_opener_web,fgrehm/letter_opener_web,fgrehm/letter_opener_web |
95cc8249ca12360c51f30a7f99bb651245325ee1 | app/views/notifications/edition_published.text.erb | app/views/notifications/edition_published.text.erb | Hello,
The <%= @edition.format_name %> '<%= @edition.title %>' is published. It's now available at the following url: <%= @public_url %>
New content will be live immediately, changes to previously published content can take up to 15 minutes. A blog post that explains more is at the following url: https://insidegovuk.... | Hello,
The <%= @edition.format_name %> '<%= @edition.title %>' is published. It's now available at the following url: <%= @public_url %>
New content goes live immediately but changes to previously published content can take up to 15 minutes. The GOV.UK publishing manual has more detail: https://www.gov.uk/guidance/ho... | Update email for a new edition being published | Update email for a new edition being published
This blog post is 2 years old and we've written some better guidance
in a better place.
| HTML+ERB | mit | alphagov/whitehall,alphagov/whitehall,alphagov/whitehall,alphagov/whitehall |
db5b9d724a1ee508dd9da7c353fbce5c4026e4b9 | cookbooks/networking/templates/default/shorewall-zones.erb | cookbooks/networking/templates/default/shorewall-zones.erb | # DO NOT EDIT - This file is being maintained by Chef
# ZONE TYPE OPTIONS IN OPTIONS OUT OPTIONS
fw firewall
loc <%= @type %>
net <%= @type %>
osm:net <%= @type %>
ucl:osm <%= @type %>
ic:osm <%= @type %>
bm:osm <%= @type %>
ts:osm <%= @type %>
yx:osm <%= @type %>
ra:osm <%= @type %>
pa:osm <%= @type %>
... | # DO NOT EDIT - This file is being maintained by Chef
# ZONE TYPE OPTIONS IN OPTIONS OUT OPTIONS
fw firewall
loc <%= @type %>
net <%= @type %>
osm:net <%= @type %>
ucl:osm <%= @type %>
ic:osm <%= @type %>
bm:osm <%= @type %>
ts:osm <%= @type %>
yx:osm <%= @type %>
ra:osm <%= @type %>
pa:osm <%= @type %>
... | Add shorewall zone for odin | Add shorewall zone for odin
| HTML+ERB | apache-2.0 | openstreetmap/chef,gravitystorm/chef,openstreetmap/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,Firefishy/chef,tomhughes/openstreetmap-chef,gravitystorm/chef,zerebubuth/openstreetmap-chef,Firefishy/chef,Firefishy/chef,zerebubuth/openst... |
c981ef448c9a70c0036200d0a9dfa6043e9ea26b | templates/consul.systemd.erb | templates/consul.systemd.erb | [Unit]
Description=Consul Agent
After=network.target
[Service]
User=<%= scope.lookupvar('consul::user') %>
Group=<%= scope.lookupvar('consul::group') %>
ExecStart=<%= scope.lookupvar('consul::bin_dir') %>/consul agent \
-config-dir <%= scope.lookupvar('consul::config_dir') %> <%= scope.lookupvar('consul::extra_optio... | [Unit]
Description=Consul Agent
After=network.target
[Service]
User=<%= scope.lookupvar('consul::user') %>
Group=<%= scope.lookupvar('consul::group') %>
ExecStart=<%= scope.lookupvar('consul::bin_dir') %>/consul agent \
-config-dir <%= scope.lookupvar('consul::config_dir') %> <%= scope.lookupvar('consul::extra_optio... | Revert to default Systemd KillSignal of SIGTERM | Revert to default Systemd KillSignal of SIGTERM
Since Consul 0.7, client-mode agents are shutting down gracefully by
default, so no need to send them a SIGINT specially. The default for
server-mode agents is still not to leave gracefully on SIGTERM, but it
was left this way for a reason. To override this, it is better... | HTML+ERB | apache-2.0 | solarkennedy/puppet-consul,Tradeshift/puppet-consul,researchgate/puppet-consul,researchgate/puppet-consul,jaxxstorm/puppet-consul,ve-interactive/puppet-consul,ve-interactive/puppet-consul,researchgate/puppet-consul,solarkennedy/puppet-consul,solarkennedy/puppet-consul,ve-interactive/puppet-consul,Tradeshift/puppet-cons... |
1b4794a971857e9315bbe5a5fd358bd72e55e5f0 | app/views/admin/feature_lists/_search_results.html.erb | app/views/admin/feature_lists/_search_results.html.erb | <p><strong><%= @filter.page_title %>:</strong></p>
<%= render partial: 'admin/feature_lists/featurable_editions', locals: { feature_list: feature_list, featurable_editions: @filter.editions(feature_list.locale) } %> | <h3 class="add-bottom-margin">
<%= @filter.page_title %>
</h3>
<%= render partial: 'admin/feature_lists/featurable_editions', locals: { feature_list: feature_list, featurable_editions: @filter.editions(feature_list.locale) } %>
| Add heading to feature filter search results | Add heading to feature filter search results
| HTML+ERB | mit | alphagov/whitehall,robinwhittleton/whitehall,ggoral/whitehall,ggoral/whitehall,robinwhittleton/whitehall,askl56/whitehall,robinwhittleton/whitehall,askl56/whitehall,hotvulcan/whitehall,YOTOV-LIMITED/whitehall,askl56/whitehall,ggoral/whitehall,YOTOV-LIMITED/whitehall,YOTOV-LIMITED/whitehall,YOTOV-LIMITED/whitehall,hotvu... |
b1019dc608b9fd11d4fd07bd096e9cc24b6cdd05 | cookbooks/logstash/templates/default/logstash.conf.erb | cookbooks/logstash/templates/default/logstash.conf.erb | input {
lumberjack {
port => 5043
ssl_certificate => "/var/lib/logstash/lumberjack.crt"
ssl_key => "/var/lib/logstash/lumberjack.key"
}
}
filter {
if [type] == "apache" {
grok {
match => [ "message", "%{COMBINEDAPACHELOG} %{NUMBER:duration:int}us %{WORD:request_id} %{NOTSPACE:ssl_protocol} ... | input {
lumberjack {
port => 5043
ssl_certificate => "/var/lib/logstash/lumberjack.crt"
ssl_key => "/var/lib/logstash/lumberjack.key"
}
}
filter {
if [type] == "apache" {
grok {
match => [ "message", "%{COMBINEDAPACHELOG} %{NUMBER:duration:int}us %{WORD:request_id} %{NOTSPACE:ssl_protocol} ... | Remove message field from rails log after parsing it | Remove message field from rails log after parsing it
| HTML+ERB | apache-2.0 | Firefishy/chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,gravitystorm/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,Firefishy/chef,zerebubuth/openstreetmap-chef,gravitys... |
b95c443a5cde5dbd81f9cd192e895d7c47226a4b | app/views/request/_request_listing_single.html.erb | app/views/request/_request_listing_single.html.erb | <div class="request_listing">
<span class="head">
<%= link_to h(info_request.title), request_path(:url_title => info_request.url_title).html_safe %>
</span>
<span class="desc">
<%= excerpt(info_request.initial_request_text, "", 150) %>
</span>
<span class="bottomline icon_<%= info_request.calculate... | <div class="request_listing">
<span class="head">
<%= link_to h(info_request.title), request_path(info_request).html_safe %>
</span>
<span class="desc">
<%= excerpt(info_request.initial_request_text, "", 150) %>
</span>
<span class="bottomline icon_<%= info_request.calculate_status %>">
<st... | Fix syntax for calling helper post merge | Fix syntax for calling helper post merge
| HTML+ERB | agpl-3.0 | petterreinholdtsen/alaveteli,4bic/alaveteli,obshtestvo/alaveteli-bulgaria,TEDICpy/QueremoSaber,Br3nda/alaveteli,nzherald/alaveteli,Br3nda/alaveteli,andreicristianpetcu/alaveteli_old,TEDICpy/QueremoSaber,nzherald/alaveteli,obshtestvo/alaveteli-bulgaria,petterreinholdtsen/alaveteli,codeforcroatia/alaveteli,Br3nda/alavete... |
71fe8e66e3c6d81e0827fefd2be3f443d37970cb | opsworks_sidekiq/templates/default/sidekiq_monitrc.erb | opsworks_sidekiq/templates/default/sidekiq_monitrc.erb | <% @workers.each do |worker, options| %>
<% (options[:process_count] || 1).times do |n| %>
<% identifier = "#{@application}-#{worker}#{n+1}" %>
<% conf_file = "#{@deploy[:deploy_to]}/shared/config/sidekiq_#{worker}#{n+1}.yml" %>
<% pid_file = "#{@deploy[:deploy_to]}/shared/pids/sidekiq_#{identifier}.pid" %>
<... | <% env_vars = "" %>
<% @environment.each do |key, value| %>
<% env_vars << "#{key}=#{value} " %>
<% end %>
<%= @environment.
<% @workers.each do |worker, options| %>
<% (options[:process_count] || 1).times do |n| %>
<% identifier = "#{@application}-#{worker}#{n+1}" %>
<% conf_file = "#{@deploy[:deploy_to]}/sh... | Add env_vars to sidekiq monitrc | Add env_vars to sidekiq monitrc
| HTML+ERB | mit | SidePrize/opsworks-cookbooks,SidePrize/opsworks-cookbooks |
391f47464e243cf369c3dc97ce86678a96ded077 | app/views/ccla_signatures/_pending_approval.html.erb | app/views/ccla_signatures/_pending_approval.html.erb | <p>
<span class="button radius tiny active">Request to join pending approval</span>
</p>
| <p>
<span class="button radius tiny active">Your request to join is pending approval</span>
</p>
| Make copy for pending CCLA request approvals more clear | Make copy for pending CCLA request approvals more clear
| HTML+ERB | apache-2.0 | chef/supermarket,chef/supermarket,dpnl87/supermarket,leftathome/supermarket,nellshamrell/supermarket,nellshamrell/supermarket,rafaelmagu/supermarket,juliandunn/supermarket,rafaelmagu/supermarket,jzohrab/supermarket,juliandunn/supermarket,dpnl87/supermarket,chef/supermarket,jzohrab/supermarket,leftathome/supermarket,jzo... |
b6e82b1287e888cd81e1a2d3e34f4245ac20fdde | example/app/views/layouts/_flash_messages.html.erb | example/app/views/layouts/_flash_messages.html.erb | <% content_for :javascript do %>
<script type="text/javascript">
var eventName = typeof(Turbolinks) !== 'undefined' ? 'page:change' : 'DOMContentLoaded';
document.addEventListener(eventName, function() {
<% if flash[:notice] %>
ShopifyApp.flashNotice("<%= j flash[:notice].html_safe %>");
... | <% content_for :javascript do %>
<script type="text/javascript">
var eventName = typeof(Turbolinks) !== 'undefined' ? 'page:change' : 'DOMContentLoaded';
document.addEventListener(eventName, function() {
<% if flash[:notice] %>
ShopifyApp.flashNotice("<%= escape_javascript flash[:notice].html_s... | Use more obvious method name | Use more obvious method name
| HTML+ERB | mit | Shopify/shopify_app,Shopify/shopify_app,Shopify/shopify_app,Shopify/shopify_app |
3e630837a819193845b57e5adfa112945856e2b3 | app/views/boats/index.html.erb | app/views/boats/index.html.erb | <h1>Listing boats</h1>
<%= link_to 'New boat', new_boat_path(@boat) %>
<table>
<tr>
<th>Boat Name</th>
<th>Goods</th>
<th colspan="3"></th>
</tr>
<% @boats.each do |boat| %>
<tr>
<td><%= boat.name %></td>
<td><%= 'goods...' %></td>
<td><%= link_to 'Show', boat_path(boa... | <h1>Listing boats</h1>
<%= link_to 'New boat', new_boat_path(@boat) %>
<table>
<tr>
<th>Boat Name</th>
<th>Goods</th>
<th colspan="3"></th>
</tr>
<% @boats.each do |boat| %>
<tr>
<td><%= boat.name %></td>
<td><%= (boat.goods.map { |a| a.name}).to_sentence %></td>
<td><... | Fix goods display in boat index | Fix goods display in boat index
| HTML+ERB | mit | ice-blaze/OWTBoatsManager,ice-blaze/OWTBoatsManager,ice-blaze/OWTBoatsManager |
ae917a30697bb43c54ff0393d1b79788ab7289ba | app/views/songs/_song.html.erb | app/views/songs/_song.html.erb | <tr class="song-entry">
<td><%= song.artist %></td>
<td><%= song.title %></td>
<td><%= time_ago_in_words(song.last_requested_at) %> ago</td>
<td class="controls">
<%= link_to 'S', song %>
<%= link_to 'E', edit_song_path(song) %>
<%= link_to 'D', song, method: :delete, data: { confirm: 'A... | <tr class="song-entry">
<td><%= song.artist %></td>
<td><%= song.title %></td>
<% friendly_last_requested_at = if song.last_requested_at.nil?
"Never"
else
time_ago_in_words(song.last_requested_at) + " ago"
end %>
<td>friendly_last_requested_at</td>
<td class="controls">
<%= link_to 'S'... | Fix song partial to handle never-requested songs | Fix song partial to handle never-requested songs
| HTML+ERB | mit | gyng/ireul-web,gyng/ireul-web,gyng/ireul-web |
2d2dbee83c6ce361168b9b3b6d19b037ab0306e2 | app/views/tasks/index.html.erb | app/views/tasks/index.html.erb |
<ul class="list-group" id="tasks-list">
Loading tasks...
</ul>
<script>
$(function(){
loadTasksIndex('all');
});
</script>
| <div class="clearfix">
<h2 class="inline">Tasks</h2>
<select class="right" name="filter" id="filter">
<option value="all">All</option>
<option value="overdue">Overdue</option>
<option value="due_today">Due Today</option>
<option value="completed">Completed</option>
<option value="not_completed">... | Add filter dropdown to tasks index page | Add filter dropdown to tasks index page
| HTML+ERB | mit | sattelbergerp/rails-project-tracker,sattelbergerp/rails-project-tracker,sattelbergerp/rails-project-tracker |
7bc5002b9910f82c85263fddcdc30a5e2b79de31 | app/views/topics/edit.html.erb | app/views/topics/edit.html.erb | <div class="container">
<div class="row col s12">
<%= form_for @topic do |f| %>
<div class="row">
<div class="input-field col s6">
<i class="small material-icons">comment</i>
<%= f.text_field :title %><br />
<%= f.text_area :description %><br />
<%= f.submit "Update" %>
... | <div class="container">
<div class="row col s12">
<%= form_for @topic do |f| %>
<div class="row">
<div class="input-field col s6">
<i class="small material-icons">comment</i>
<%= f.text_field :title %><br />
<%= f.text_area :description %><br />
<%= f.submit "Update" %>
... | Add delete button to edit view | Add delete button to edit view
| HTML+ERB | mit | chi-dragonflies-2015/FAQrator,chi-dragonflies-2015/FAQrator,chi-dragonflies-2015/FAQrator |
ff0c522db9ce701ddf3be12725e9fc28e5553192 | app/views/users/_form.html.erb | app/views/users/_form.html.erb | <%= form_for @user, :html => {:class => 'well'} do |f| %>
<% f.label :username %>
<% f.text_field :username %>
<% f.label :email %>
<% f.text_field :email %>
<% end %> | <%= form_for @user, :html => {:class => 'well'} do |f| %>
<%= f.label :username %>
<%= f.text_field :username, :disabled => true %>
<%= f.label :email %>
<%= f.text_field :email, :disabled => true %>
<% end %> | Update form to disable the imputs | Update form to disable the imputs
| HTML+ERB | mit | joshmcarthur/inquest,joshmcarthur/inquest |
f390756bd9ed3b229dc317c44856933419ed577f | app/views/pages/home.html.erb | app/views/pages/home.html.erb | <p>Wishlist is an app intended to organize and coordinate gift shopping among a group of people. For more information, please see the <%= link_to "about page", about_path %>.</p>
<% if current_user %>
<p>To start claiming items from wantlists, check out the <%= link_to "list of users", users_path %>.</p>
<p>To st... | <p>Wishlist is an app intended to organize and coordinate gift shopping among a group of people. For more information, please see the <%= link_to "about page", about_path %>.</p>
<% if current_user %>
<p>To start claiming items from wantlists, check out the <%= link_to "list of users", users_path %>.</p>
<p>To st... | Make it link to signup more explicit. | Make it link to signup more explicit.
| HTML+ERB | mit | mhyee/wishlist,mhyee/wishlist |
79e9a0213c0c5f466e24b34620aca67f39397858 | app/views/root/video.html.erb | app/views/root/video.html.erb | <section id="content" role="main" class="group">
<header class="page-header group">
<hgroup>
<h1><span>Guide</span> <%= @video.title %></h1>
</hgroup>
</header>
<div class="article-container group">
<article role="article" class="group">
<div class="inner">
<div class="summary">
... | Add a view for the new video publication format | Add a view for the new video publication format
This is the HTML view for the video publication format. This is needed
as without it frontend will blow up with a server error.
| HTML+ERB | mit | alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend | |
8c81dac76a10ea78b3e273d4a1eb4ca1cc63647a | modules/govuk_jenkins/templates/jobs/run_rake_task.yaml.erb | modules/govuk_jenkins/templates/jobs/run_rake_task.yaml.erb | ---
- job:
name: run-rake-task
display-name: Run rake task
project-type: freestyle
description: "Run a rake task on an application."
builders:
- shell: ssh deploy@$(govuk_node_list -c $MACHINE_CLASS --single-node) "cd /var/apps/$TARGET_APPLICATION && govuk_setenv $TARGET_APPLICATION bundle exe... | ---
- job:
name: run-rake-task
display-name: Run rake task
project-type: freestyle
description: "Run a rake task on an application."
concurrent: true
builders:
- shell: ssh deploy@$(govuk_node_list -c $MACHINE_CLASS --single-node) "cd /var/apps/$TARGET_APPLICATION && govuk_setenv $TARGET_A... | Allow concurrent rake tasks in deploy-jenkins | Allow concurrent rake tasks in deploy-jenkins
Allow Jenkins to run multiple "run-rake-task" jobs in parallel. This
will prevent long-running rake tasks from blocking other tasks.
We believe this is safe to enable since we don't tend to queue up rake
tasks for the same application.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
b973f6bfbcb79c31bdc773d80e822f2f80f47722 | lib/smart_answer_flows/calculate-your-holiday-entitlement/questions/when_does_your_leave_year_start.govspeak.erb | lib/smart_answer_flows/calculate-your-holiday-entitlement/questions/when_does_your_leave_year_start.govspeak.erb | <% content_for :title do %>
When does the leave year start?
<% end %>
<% content_for :hint do %>
This is usually in the employment contract. If it isn’t and the job was started after 1 October 1998, the leave year will start on the 1st day of the job. If the job was started on or before 1 October 1998, the leave y... | <% content_for :title do %>
When does the leave year start?
<% end %>
<% content_for :hint do %>
This is usually in the employment contract. If it isn’t and the job was started after 1 October 1998, the leave year will start on the 1st day of the job. If the job was started on or before 1 October 1998, the leave y... | Correct start date error message | Correct start date error message
| HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
e89b0c3294103e3eaa22618d3abb9eff0abecdbc | lib/views/frontend/spree/shared/_user_form.html.erb | lib/views/frontend/spree/shared/_user_form.html.erb | <p>
<%= f.label :email, Spree.t(:email) %><br />
<%= f.email_field :email, :class => 'title' %>
</p>
<div id="password-credentials">
<p>
<%= f.label :password, Spree.t(:password) %><br />
<%= f.password_field :password, :class => 'title' %>
</p>
<p>
<%= f.label :password_confirmation, Spree.t(:co... | <p>
<%= f.label :email, Spree.t(:email) %><br />
<%= f.email_field :email, :class => 'title', :value => session[:login_email] %>
</p>
<div id="password-credentials">
<p>
<%= f.label :password, Spree.t(:password) %><br />
<%= f.password_field :password, :class => 'title' %>
</p>
<p>
<%= f.label :p... | Add the login_email magic pre-populate to the "create user form" | Add the login_email magic pre-populate to the "create user form"
| HTML+ERB | bsd-3-clause | watg/spree_auth_devise,watg/spree_auth_devise |
27e2872ed7b7c08cad5f8d36aeb6ce13a03d0083 | lib/resque_scheduler/server/views/requeue-params.erb | lib/resque_scheduler/server/views/requeue-params.erb | <h1><%= @job_name %></h1>
<p class='intro'>
This job requires parameters:
</p>
<form style="float:left" action="<%= u "/schedule/requeue_with_params" %>" method="post">
<table>
<% @parameters.each do |key, value| %>
<tr>
<td><%= key %>:</td>
<td><input type="text" name="<%= key %>" value="<%= v... | <h1><%= @job_name %></h1>
<p class='intro'>
This job requires parameters:
</p>
<form style="float:left" action="<%= u "/schedule/requeue_with_params" %>" method="post">
<table>
<% @parameters.each do |key, value| %>
<% value ||= {} %>
<tr>
<td>
<%= key %>
<% if value['description'] ... | Add description and default values for parameters | Add description and default values for parameters
| HTML+ERB | mit | guizmaii/resque-scheduler,resque/resque-scheduler,carsonreinke/resque-scheduler,carsonreinke/resque-scheduler,stvp/resque-scheduler,mfo/resque-scheduler,playtestcloud/resque-scheduler,kangkot/resque-scheduler,mfo/resque-scheduler,playtestcloud/resque-scheduler,ratafire/resque-scheduler,ratafire/resque-scheduler,adaptiv... |
4e39a3d9d0c17f3b91bd39d1f058fd7fdb350c4a | app/views/dashboard/_sidebar.html.erb | app/views/dashboard/_sidebar.html.erb | <div class="user-links pull-left" id="side-links">
<ul>
<li><%= link_to '', dashboard_account_path, class: 'fa fa-user'%></li>
<li><%= link_to '', dashboard_messages_path, class: 'fa fa-envelope-o'%><span>2</span></a></li>
<li><%= link_to '', dashboard_billing_path, class: 'fa fa-building-... | <div class="dashboard-nav white-bg">
<ul class="nav nav-pills nav-stacked">
<li role="presentation" class="active"><%= link_to dashboard_account_path do %>
<i class="fa fa-user"></i> Account
<% end %>
</li>
<li role="presentation"><%= link_to dashboard_messages_path ... | Replace dashboard sidebar with nav pills | Replace dashboard sidebar with nav pills
| HTML+ERB | agpl-3.0 | payloadtech/mailpenny,payloadtech/mailpenny,payloadtech/mailpenny |
91f8672532cd679c6de760c183a68aa10d01d5ee | app/views/business_support/support_options.html.erb | app/views/business_support/support_options.html.erb | <%= render :partial => 'completed_questions' %>
<div class="business-support-container group">
<div class="results">
<div class="results-wrapper">
<h2>Available support</h2>
<ul class="results-list">
<% @support_options.each do |support_option| %>
<li>
<a><%= support_opt... | <%= render :partial => 'completed_questions' %>
<div class="business-support-container group">
<div class="results">
<div class="results-wrapper">
<h2>Available support</h2>
<ul class="results-list">
<% @support_options.each do |support_option| %>
<li>
<%= link_to suppor... | Add publisher details to results list. | Add publisher details to results list.
| HTML+ERB | mit | alphagov/business-support-finder,alphagov/business-support-finder,alphagov/business-support-finder,alphagov/business-support-finder |
4759fa59e4a16d28b6ff74151160c10b74f89d09 | app/views/hyrax/permissions/confirm_access.html.erb | app/views/hyrax/permissions/confirm_access.html.erb | <div class="panel panel-default permissions-confirm">
<div class="panel-heading">
<h4>Apply changes to contents?<h4>
</div>
<div class="panel-body">
<%= I18n.t("hyrax.upload.change_access_message_html", curation_concern: curation_concern) %>
</div>
<div class="form-actions panel-footer">
<%= but... | <div class="panel panel-default permissions-confirm">
<div class="panel-heading">
<h4>Apply changes to contents?<h4>
</div>
<div class="panel-body">
<%= sanitize I18n.t("hyrax.upload.change_access_message_html", curation_concern: curation_concern) %>
</div>
<div class="form-actions panel-footer">
... | Use `sanitize` to protect formatting in `confirm_access.hmtl.erb` | Use `sanitize` to protect formatting in `confirm_access.hmtl.erb`
An `html_safe` call was removed in #3230. This fixed an outstanding
vulnerability, but broke formatting on the affected page. Using `sanitize`
reinstates the formatting while protecting against injection.
| HTML+ERB | apache-2.0 | samvera/hyrax,samvera/hyrax,samvera/hyrax,samvera/hyrax |
b67c23933965388645f2dc9063acdd426f882557 | app/views/items/edit.html.erb | app/views/items/edit.html.erb | <h1>Edit new Item</h1>
<%= form_for [@list, @item] do |f| %>
Item Name: <%= f.text_field :name %>
<%= f.submit %>
<% end %>
| <h1>Edit Item</h1>
<%= form_for [@list, @item] do |f| %>
<p>Item Name: <%= f.text_field :name %></p>
<%= fields_for @store do |store| %>
<p>Store Name: <%= store.text_field :name %></p>
<% end %>
<%= f.submit %>
<% end %>
| Add Store to Item edit form | Add Store to Item edit form
| HTML+ERB | mit | withtwoemms/stuff-i-buy,withtwoemms/stuff-i-buy,withtwoemms/stuff-i-buy |
6e1705f2ae809c72af9483be7e33b716069007a7 | app/views/backend/notas/_action_bar.html.erb | app/views/backend/notas/_action_bar.html.erb | <div id="action_bar">
<%= render 'breadcrumbs' %>
<div id="actions_buttons">
<%= link_to t('.new', :default => t("helpers.links.new")),
new_resource_path, :class => 'new_button' unless current_page?(new_resource_path) %>
<% case action_name %>
<% when "show" %>
<%= link_to t('.edit', :defau... | <div id="action_bar">
<%= render 'breadcrumbs' %>
<div id="actions_buttons">
<%= link_to t('.new', :default => t("helpers.links.new")),
new_resource_path, :class => 'new_button' unless current_page?(new_resource_path) %>
<% case action_name %>
<% when "show" %>
<%= link_to t('.edit', :defau... | Print button in action bar | Print button in action bar | HTML+ERB | agpl-3.0 | bluelemons/diputados,bluelemons/diputados |
57fd6c16ca888c9de0ffb3b16647e270ec9f0191 | app/views/devise/registrations/edit.html.erb | app/views/devise/registrations/edit.html.erb | <h2>Edit <%= resource_name.to_s.humanize %></h2>
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f| %>
<%= devise_error_messages! %>
<div><%= f.label :email %><br />
<%= f.email_field :email, :autofocus => true %></div>
<% if devise_map... | <h2>Edit <%= resource_name.to_s.humanize %></h2>
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f| %>
<%= devise_error_messages! %>
<div><%= f.label :email %><br />
<%= f.email_field :email, :autofocus => true %></div>
<% if devise_map... | Remove stray period from "cancel account" UI | Remove stray period from "cancel account" UI
| HTML+ERB | mit | localstatic/glf,localstatic/glf |
c1a6ad0a3681328704743bb4a3508cc88d594ff9 | cookbooks/tile/templates/default/update-lowzoom.erb | cookbooks/tile/templates/default/update-lowzoom.erb | #!/bin/bash
# DO NOT EDIT - This file is being maintained by Chef
# Send output to the log
exec > /var/log/tile/update-lowzoom-<%= @style %>.log 2>&1
# Update tiles from z0 to z12 for style "<%= @style %>"
render_list \
--all --force \
--tile-dir=/srv/tile.openstreetmap.org/tiles \
--socket=/var/run/renderd/re... | #!/bin/bash
# DO NOT EDIT - This file is being maintained by Chef
# Send output to the log
exec > /var/log/tile/update-lowzoom-<%= @style %>.log 2>&1
# Define function to update tiles from z0 to z12 for style "<%= @style %>"
function update_tiles
{
render_old \
--timestamp=$(stat -c %Y "/srv/tile.openstreetmap... | Make rerendering of low zoom tiles on a style change more robust | Make rerendering of low zoom tiles on a style change more robust
| HTML+ERB | apache-2.0 | zerebubuth/openstreetmap-chef,gravitystorm/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,Firefishy/chef,Firefishy/chef,Firefishy/chef,gravitystorm/chef,zerebubuth/openstreetmap-chef,gravitystorm/chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,Firefishy/chef,openstreetmap/chef,tomhughes/openstreet... |
b13813c819aaafd78a1f4c7927e5c52f75e3d9b5 | core/app/views/admin/payments/source_views/_gateway.html.erb | core/app/views/admin/payments/source_views/_gateway.html.erb | <fieldset data-hook="creditcard">
<legend><%= t('creditcard') %></legend>
<table class="index">
<tr>
<th colspan="6"><%= t('card_details') %></th>
</tr>
<tr>
<td><label><%= t("card_number") %>:</label></td>
<td>
XXXX-XXXX-XXXX-<%= payment.source.display_number %>
</td>
... | <fieldset data-hook="creditcard">
<legend><%= t('creditcard') %></legend>
<table class="index">
<tr>
<th colspan="6"><%= t('card_details') %></th>
</tr>
<tr>
<td><label><%= t("card_number") %>:</label></td>
<td>
<%= payment.source.display_number %>
</td>
<td><label... | Remove duplicate mask for credit card number | Remove duplicate mask for credit card number
[Fixes #574]
| HTML+ERB | bsd-3-clause | Hates/spree,yushine/spree,zaeznet/spree,azclick/spree,progsri/spree,Boomkat/spree,Engeltj/spree,berkes/spree,Nevensoft/spree,piousbox/spree,agient/agientstorefront,siddharth28/spree,alepore/spree,azclick/spree,vcavallo/spree,TimurTarasenko/spree,useiichi/spree,rbngzlv/spree,alvinjean/spree,dotandbo/spree,lzcabrera/spre... |
8729c25df7b35939dbfae150e84e125ef256ef10 | app/views/pages/home.html.erb | app/views/pages/home.html.erb | <div class="container full-page">
<div class="row">
<div class="col-xs-12 text-center">
<%= image_tag "logo-vertical", class: "logo" %>
<div class="intro">
<span>Two Days • Single Track</span>
<span>June 23—24, 2017</span>
<span>Singapore</span>
</div>
<%= link_to... | <div class="container full-page">
<div class="row">
<div class="col-xs-12 text-center">
<%= image_tag "logo-vertical.png", class: "logo" %>
<div class="intro">
<span>Two Days • Single Track</span>
<span>June 23—24, 2017</span>
<span>Singapore</span>
</div>
<%= lin... | Fix logo breaking on Heroku | Fix logo breaking on Heroku
| HTML+ERB | mit | reddotrubyconf/rdrc-cfp-app,reddotrubyconf/rdrc-cfp-app,reddotrubyconf/rdrc-cfp-app,reddotrubyconf/rdrc17-website,reddotrubyconf/rdrc17-website,reddotrubyconf/rdrc17-website |
e669717d967041bb5431ed5ff69b21e8f0723bf2 | app/views/pages/home.html.erb | app/views/pages/home.html.erb | <div class="column span-12 intro-text">
<p>The National Renewable Energy Laboratory's developer network helps developers access and use energy data via Web services, including renewable energy and alternative fuel data.</p>
</div>
<div class="column span-4 intro-box intro-box-doc">
<h2><%= link_to("Web Service Doc... | <div class="column span-12 intro-text">
<p>The National Renewable Energy Laboratory's developer network helps developers access and use energy data via Web services, including renewable energy and alternative fuel data.</p>
</div>
<div class="column span-4 intro-box intro-box-doc">
<h2><%= link_to("Web Service Doc... | Remove coming soon messge, since we know have several top level categories. | Remove coming soon messge, since we know have several top level categories.
| HTML+ERB | mit | apinf/api-umbrella,cmc333333/api-umbrella-web,cmc333333/api-umbrella-web,NREL/api-umbrella-web,NREL/api-umbrella,cmc333333/api-umbrella-web,NREL/api-umbrella-web,johan--/api-umbrella-web,johan--/api-umbrella-web,cmc333333/api-umbrella-web,apinf/api-umbrella,apinf/api-umbrella,NREL/api-umbrella-web,NREL/api-umbrella,joh... |
a317c4e5fb86fb8748f66e645d54c7b9c07d251f | app/views/users/edit.html.erb | app/views/users/edit.html.erb | <h1>Editing User</h1>
<%= render 'form' %>
<%= link_to 'Show', @user %> |
<%= link_to 'Back', users_path %>
| <div class='row'>
<div class='col-lg-8 col-lg-offset-2 centered'>
<h1>Editing User</h1>
<%= render 'form' %>
<%= link_to 'Show', @user %> |
<%= link_to 'Back', users_path %><br><br>
</div>
</div>
| Add elements to style user edit view | Add elements to style user edit view
| HTML+ERB | unlicense | danascheider/testrubypdx,danascheider/testrubypdx,danascheider/testrubypdx |
99235ede7b97dd3a59adfde87c04b219a17a1334 | app/views/users/show.html.erb | app/views/users/show.html.erb |
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet">
<div class="container">
<div style="padding: 1px">
<div class="col-md-4">
<%= image_tag @user.avatar_url %>
</div>
<div class="col-md-4">
<h1><%= @user.name %></h1>
</br><b>Biography :</b> <%= @use... |
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet">
<div class="container">
<div style="padding: 1px">
<div class="col-md-4">
<%= image_tag @user.avatar_url %>
</div>
<div class="col-md-4">
<h1><%= @user.name %></h1>
</br><b>Biography :</b> <%= @user... | Change the way answered questions are dislpayed | Change the way answered questions are dislpayed
| HTML+ERB | mit | chi-squirrels-2015/Yoon-Overflow,thejdavid/Yoon-Overflow,chi-squirrels-2015/Yoon-Overflow,chi-squirrels-2015/Yoon-Overflow,thejdavid/Yoon-Overflow,thejdavid/Yoon-Overflow |
84f8da47ee95e5ceb62cb8719fa0347a741c385f | app/views/volunteer_mailer/notify_volunteers.html.erb | app/views/volunteer_mailer/notify_volunteers.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.name %></h1>
<p>
You have successfully signed up to example.com,
your username is: <%= @user.login %>.<br>
</p>
<p>
To logi... | Add email body (TODO: German text) | Add email body (TODO: German text)
| HTML+ERB | agpl-3.0 | ramonh/where2help,ramonh/where2help,where2help/where2help,ramonh/where2help,where2help/where2help,where2help/where2help | |
cf556af6a421ca43b102ae02973e8640abaa57df | README.md.erb | README.md.erb | Description
===========
<%= description %>
Requirements
============
## Platform:
<% unless platforms.empty? %>
<% platforms.each do |platform| %>
* <%= platform %>
<% end %>
<% else %>
*No platforms defined*
<% end %>
## Cookbooks:
<% unless dependencies.empty? %>
<% dependencies.each do |cookbook| %>
* <%= cook... | Description
===========
<%= description %>
Requirements
============
## Platform:
<% unless platforms.empty? %>
<% platforms.each do |platform| %>
* <%= platform %>
<% end %>
<% else %>
*No platforms defined*
<% end %>
## Cookbooks:
<% unless dependencies.empty? %>
<% dependencies.each do |cookbook| %>
* <%= cook... | Remove useless space from template | Remove useless space from template
| HTML+ERB | apache-2.0 | dblessing/knife-cookbook-doc,philoserf/knife-cookbook-doc,realityforge/knife-cookbook-doc,RobertNorthard/knife-cookbook-doc,mlafeldt/knife-cookbook-readme |
c5e3645f0b70a860dedb2c5626438b9cd34515a5 | backend/app/views/spree/admin/products/new.html.erb | backend/app/views/spree/admin/products/new.html.erb | <%= render partial: 'spree/shared/error_messages', locals: { target: @product } %>
<%= form_for [:admin, @product], method: :post, url: admin_products_path, html: { multipart: true } do |f| %>
<fieldset data-hook="new_product">
<legend align="center"><%= t('spree.new_product') %></legend>
<%= render partial... | <% admin_breadcrumb link_to(plural_resource_name(Spree::Product), spree.admin_products_path) %>
<% admin_breadcrumb t('spree.new_product') %>
<%= render partial: 'spree/shared/error_messages', locals: { target: @product } %>
<%= form_for [:admin, @product], method: :post, url: admin_products_path, html: { multipart: ... | Add breadcrumbs to new product page | Add breadcrumbs to new product page
| HTML+ERB | bsd-3-clause | pervino/solidus,pervino/solidus,pervino/solidus,pervino/solidus |
8ba8b89ab6633311bae83a2711461d1873f66150 | app/views/answers/new.html.erb | app/views/answers/new.html.erb | <p><h2>Add another answer!</h2></p>
<%= form_for [question, answer] do |f| %>
<p><%= f.text_field :body, placeholder: 'add an answer' %></p>
<%= f.hidden_field :user_id, value: 1 %>
<p><%= f.submit "Submit" %></p>
<% end %> | <p><h2>Add another answer!</h2></p>
<%= form_for [@question, answer] do |f| %>
<p><%= f.text_field :body, placeholder: 'add an answer' %></p>
<%= f.hidden_field :user_id, value: current_user.id %>
<p><%= f.submit "Submit" %></p>
<% end %> | Send current_user.id when submitting new answer. | Send current_user.id when submitting new answer.
| HTML+ERB | mit | PeterJahnes/dbc-overflow,kahdojay/dbc-overflow,kahdojay/dbc-overflow,PeterJahnes/dbc-overflow,kahdojay/dbc-overflow,PeterJahnes/dbc-overflow |
4a8cf595a628506783df08425574a0e3339675cf | app/views/polls/_form.html.erb | app/views/polls/_form.html.erb | <%= simple_form_for @poll, :html => { :class => "form-horizontal"} do |f| %>
<h3>Settings</h3>
<%= f.input :title, :hint => "How we'll refer to the poll in text messages and reports" %>
<%= f.simple_fields_for :questions do |question| %>
<%= render 'question_fields', :f => question %>
<% end %>
<% unless... | <%= simple_form_for @poll, :html => { :class => "form-horizontal"} do |f| %>
<h3>Settings</h3>
<%= f.input :title, :hint => "How we'll refer to the poll in text messages and reports" %>
<%= f.simple_fields_for :questions do |question| %>
<%= render 'question_fields', :f => question %>
<% end %>
<% unless... | Fix end date picker styles | Fix end date picker styles
| HTML+ERB | bsd-3-clause | codeforamerica/textizen,codeforamerica/textizen,codeforamerica/textizen |
24c09dde3244d6b5c1b9fc7a8bf2b4d3309e6713 | modules/main/templates/nginx.conf.erb | modules/main/templates/nginx.conf.erb | server {
listen 80 default_server;
listen [::]:80 default_server;
root /opt/app/web;
index index.php;
server_name _;
client_max_body_size <%= @maxUploadSize%>M;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri /app.php$is_ar... | server {
listen 80 default_server;
listen [::]:80 default_server;
root /opt/app/web;
index index.php;
server_name _;
client_max_body_size <%= @maxUploadSize%>M;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri /index.php$is_... | Fix socket and use index.php | Fix socket and use index.php
| HTML+ERB | mit | istvan-antal/nginx-php-puppet,istvan-antal/nginx-php-puppet,istvan-antal/nginx-php-puppet |
8c6138004eee40bb1454a98768a2e8a3a801be29 | modules/ssh/templates/sshd_config.erb | modules/ssh/templates/sshd_config.erb | Port 22
Protocol 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
UsePrivilegeSeparation yes
SyslogFacility AUTH
LogLevel INFO
LoginGraceTime ... | Port 22
Protocol 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
UsePrivilegeSeparation yes
SyslogFacility AUTH
LogLevel INFO
LoginGraceTime ... | Revert "Turn on the motd in SSH" | Revert "Turn on the motd in SSH"
This reverts commit 904e910025a1e8d5ca8d783573351fc5e6c77818.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
91c89c9bfa0787cb14450fa8f9f4635ffd50dd65 | app/views/layouts/exercise_inputs/editors/_custom.html.erb | app/views/layouts/exercise_inputs/editors/_custom.html.erb | <%= render_runner_assets @exercise.language, :editor %>
<%= render_custom_editor(@exercise) %>
<%= form.hidden_field :content, id: "mu-custom-editor-value", value: @current_content %>
<%= form.hidden_field :default_content, id: "mu-custom-editor-default-value", value: @exercise.default_content %>
<%= form.hidden_field... | <%= render_runner_assets @exercise.language, :editor %>
<%= render_custom_editor(@exercise) %>
<%= form.hidden_field :content, id: "mu-custom-editor-value", value: @current_content %>
<%= form.hidden_field :content_extra, id: "mu-custom-editor-extra", value: @exercise.extra %>
| Remove second default content from response | Remove second default content from response
| HTML+ERB | agpl-3.0 | mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory |
1820a92730675bc5e9f65a4d5da86d2ffead576f | views/index.erb | views/index.erb | <!DOCTYPE html>
<meta charset="utf-8">
<html>
<head>
<script src="js/react.js"></script>
<script src="js/react-dom.js"></script>
<script src="js/babel-core-5.8.23-browser.min.js"></script>
<script src="js/jquery-2.2.0.js"></script>
<script src="js/app.js"></script>
<script src="js/vidius-ui.js... | <!DOCTYPE html>
<meta charset="utf-8">
<html>
<head>
<script src="js/react.js"></script>
<script src="js/react-dom.js"></script>
<script src="js/babel-core-5.8.23-browser.min.js"></script>
<script src="js/jquery-2.2.0.js"></script>
<script src="js/app.js"></script>
<script src="js/vidius-ui.js... | Change the heading to be more descriptive | Change the heading to be more descriptive
| HTML+ERB | mit | nhsalpha/vidius,nhsalpha/vidius,nhsalpha/vidius |
82203909e7301a90b25d3fffce7164e9cb26ff6e | backend/app/views/spree/admin/shared/_address.html.erb | backend/app/views/spree/admin/shared/_address.html.erb | <div data-hook="address">
<%= "#{address.name} " %><%= address.company unless address.company.blank? %><br />
<%= address.phone %><%= address.alternative_phone unless address.alternative_phone.blank? %><br />
<%= address.address1 %><br />
<% if address.address2.present? %><%= address.address2 %><br /><% end %>
... | <div data-hook="address">
<%= address.name %> <%= address.company unless address.company.blank? %><br>
<%= address.phone %><%= address.alternative_phone unless address.alternative_phone.blank? %><br>
<%= address.address1 %><br>
<% if address.address2.present? %><%= address.address2 %><br><% end %>
<%= "#{addr... | Fix Erb Lint violations in Address partial | Fix Erb Lint violations in Address partial
| HTML+ERB | bsd-3-clause | pervino/solidus,pervino/solidus,pervino/solidus,pervino/solidus |
9edbd54a53ddc3f004708eea940ae72a5a0e336e | templates/yum-update.bash.erb | templates/yum-update.bash.erb | #!/bin/bash
yum clean metadata > /dev/null
yum check-update 2> /dev/null > /dev/null || yum -y update --skip-broken<% @exclude.each do |x| -%> -x <%= x -%><% end -%> > /dev/null
find /etc -type f -name "*.rpmnew" -exec rm -f {} \;
| #!/bin/bash
yum clean metadata > /dev/null
yum check-update 2> /dev/null > /dev/null || yum -y update --skip-broken<% @exclude.each do |x| -%> --exclude='<%= x -%>'<% end -%> > /dev/null
find /etc -type f -name "*.rpmnew" -exec rm -f {} \;
| Tweak formatting to make it wildcard-safe | Tweak formatting to make it wildcard-safe
| HTML+ERB | apache-2.0 | uobnetops/puppet-yumupdate,uobnetops/puppet-yumupdate |
f93ad16b6040607c8f99f880d7558a2a0fc7783b | views/layout.erb | views/layout.erb | <!DOCTYPE html>
<html>
<head>
<title>Pensions Guidance</title>
<link rel="stylesheet" href="stylesheets/main.css">
</head>
<body>
<div id="wrapper" class="guide">
<main id="content" role="main" class="group">
<header class="page-header group">
<div>
<h1><%= yield_content :page_title %></h1>
... | <!DOCTYPE html>
<html>
<head>
<title><%= yield_content :page_title %>- GOV.UK</title>
<link rel="stylesheet" href="stylesheets/main.css">
</head>
<body>
<div id="wrapper" class="guide">
<main id="content" role="main" class="group">
<header class="page-header group">
<div>
<h1><%= yield_content :... | Make title tag use page title | Make title tag use page title | HTML+ERB | mit | guidance-guarantee-programme/alpha,guidance-guarantee-programme/prototypes,guidance-guarantee-programme/prototypes,guidance-guarantee-programme/alpha,guidance-guarantee-programme/alpha |
347b36f799145dc9e356f4a9ab4b3ad40b36bd50 | views/failed.erb | views/failed.erb | <h1><%= size = Resque::Failure.count %> Jobs Failed</h1>
<h2>Showing <%= start = params[:start].to_i %> to <%= start + 20 %></h2>
<table>
<tr>
<th>Queue</th>
<th>Worker</th>
<th>Failed</th>
<th>Class</th>
<th>Args</th>
<th>Error</th>
</tr>
<% for job in Resque::Failure.all(start, 20) %>
... | <h1><%= size = Resque::Failure.count %> Jobs Failed</h1>
<h2>Showing <%= start = params[:start].to_i %> to <%= start + 20 %></h2>
<table>
<tr>
<th>Queue</th>
<th>Worker</th>
<th>Failed</th>
<th>Class</th>
<th>Args</th>
<th>Error</th>
</tr>
<% for job in Resque::Failure.all(start, 20) %>
... | Revert "fixes broken failures table" | Revert "fixes broken failures table"
This reverts commit ced2cf75b9070b1752fa18bd17ad2a20d9883e8b.
| HTML+ERB | mit | defunkt/resque-web,defunkt/resque-web |
1c9142e62bc5a0b349fd26f80ee2ae3eb1b0573e | spec/test_app/app/views/addresses_demo/_form.html.erb | spec/test_app/app/views/addresses_demo/_form.html.erb | <%#
This partial takes 1-5 local variables
- name
- note (optional)
- country_options (optional)
- subdivision_options (optional)
%>
<%
note ||= ""
country_options ||= {}
subdivision_options ||= {}
%>
<%= form_for("#{name.parameterize}_address") do |f| %>
<h2> <%= name %> </h2>
<h4> <%= note... | <%#
This partial takes 1-5 local variables
- name
- note (optional)
- country_options (optional)
- subdivision_options (optional)
%>
<%
note ||= ""
country_options ||= {}
subdivision_options ||= {}
%>
<%= form_for("#{name.parameterize}_address", html: {class: name.parameterize} ) do |f| %>
<h2... | Add class to form (somehow it's not auto generating that?) | Add class to form (somehow it's not auto generating that?)
| HTML+ERB | mit | cllns/subdivision_select,cllns/subdivision_select,cllns/subdivision_select |
d1c05b5f10f019cdadfc6dfba4aa01c80bc9168d | jobs/mysql/templates/mariadb_init.erb | jobs/mysql/templates/mariadb_init.erb | GRANT ALL PRIVILEGES ON *.* TO '<%= properties.admin_username %>'@'%' WITH GRANT OPTION;
UPDATE mysql.user SET Password=PASSWORD('<%= properties.admin_password %>'), Plugin='' WHERE User='<%= properties.admin_username %>';
DELETE FROM mysql.user WHERE User='';
FLUSH PRIVILEGES;
-- For now, provide credentials from th... | GRANT ALL PRIVILEGES ON *.* TO '<%= properties.admin_username %>'@'%' WITH GRANT OPTION;
UPDATE mysql.user SET Password=PASSWORD('<%= properties.admin_password %>') WHERE User='<%= properties.admin_username %>';
UPDATE mysql.user SET Plugin='';
DELETE FROM mysql.user WHERE User='';
FLUSH PRIVILEGES;
-- For now, provi... | Change mysql.user plugin to '' for all users not just root | Change mysql.user plugin to '' for all users not just root
[#71062154]
| HTML+ERB | apache-2.0 | CloudCredo/cf-mysql-release,CloudCredo/cf-mysql-release,kbastani/cf-mysql-release,kbastani/cf-mysql-release,cloudfoundry/cf-mysql-release,kbastani/cf-mysql-release,CloudCredo/cf-mysql-release,cloudfoundry/cf-mysql-release,cloudfoundry/cf-mysql-release,ruanbinfeng/cf-mysql-release,krishna-mk/cf-mysql-release,ruanbinfeng... |
cac8fe4e6851f29110049a886008fc2964168e7a | app/views/layouts/_alert.html.erb | app/views/layouts/_alert.html.erb | <!--[if lt IE 9]>
<div class="alert alert-warning alert-ie fade in" role="alert">
<button class="close" data-dismiss="alert" type="button">
<span aria-hidden="true">×</span>
<span class="sr-only">Close</span>
</button>
<h4>This website no longer supports Internet Explorer versions 7 or 8.</h4>... | <!--[if lte IE 9]>
<div class="alert alert-warning alert-ie fade in" role="alert">
<button class="close" data-dismiss="alert" type="button">
<span aria-hidden="true">×</span>
<span class="sr-only">Close</span>
</button>
<h4>This website no longer supports Internet Explorer versions 9 or older.... | Change alert to say not supporting ie 9 | Change alert to say not supporting ie 9
| HTML+ERB | isc | schlos/homebase,schlos/homebase,codeforamerica/homebase,randy-r-masters/homebase,randy-r-masters/homebase,codeforamerica/homebase,codeforamerica/homebase,randy-r-masters/homebase,schlos/homebase |
8ebe77228054dfe87d8732521cbcb9581eac93dc | templates/default/module/dot/info.erb | templates/default/module/dot/info.erb | <%= object.type %> <%= h object.name %>
<% if options[:full] %>
|
<% object.attributes.each do |scope, list| %>
<% list.each do |name, rw| %>
<%= uml_visibility(rw.values.compact.first) %> <%= h rw.values.compact.first.name(true) %> [<%= 'R' if rw[:read] %><%= 'W' if rw[:write] %>]\l
<% end %>
<% end %>
|
<% method_lis... | <%= object.type %> <%= h object.name %>
<% if options[:full] %>
|
<% object.attributes.each do |scope, list| %>
<% list.sort_by {|name, rw| name.to_s }.each do |name, rw| %>
<%= uml_visibility(rw.values.compact.first) %> <%= h (rw[:read]||rw[:write]).name(true) %> [<%= 'R' if rw[:read] %><%= 'W' if rw[:write] %>]\l
<% ... | Fix broken dot template in Ruby1.8 (due to hash ordering) | Fix broken dot template in Ruby1.8 (due to hash ordering)
| HTML+ERB | mit | amclain/yard,herosky/yard,herosky/yard,iankronquist/yard,alexdowad/yard,travis-repos/yard,lsegal/yard,travis-repos/yard,alexdowad/yard,alexdowad/yard,ohai/yard,thomthom/yard,herosky/yard,ohai/yard,thomthom/yard,amclain/yard,jreinert/yard,lsegal/yard,iankronquist/yard,jreinert/yard,lsegal/yard,jreinert/yard,iankronquist... |
07fb2d3950ce4ae49f68f3d1227df44539b675d4 | gitconfig.erb | gitconfig.erb | [user]
name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %>
email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %>
[github]
user = <%= print("Your GitHub User: "); STDOUT.flush; STDIN.gets.chomp %>
token = <%= print("Your GitHub Token: "); STDOUT.flush; STDIN.gets.chomp %>
[color]
diff ... | [user]
name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %>
email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %>
[github]
user = <%= print("Your GitHub User: "); STDOUT.flush; STDIN.gets.chomp %>
token = <%= print("Your GitHub Token: "); STDOUT.flush; STDIN.gets.chomp %>
[color]
diff ... | Change default editor for git | Change default editor for git
| HTML+ERB | mit | matflores/dotfiles,matflores/dotfiles,matflores/dotfiles |
f7106766e26467b461c8b44bf76d9f0ba08c0889 | app/views/spree/admin/drop_ship_settings/edit.html.erb | app/views/spree/admin/drop_ship_settings/edit.html.erb | <%= render :partial => 'spree/admin/shared/configuration_menu' %>
<% content_for :page_title do %>
<%= t("spree_drop_ship.drop_ship_settings") %>
<% end %>
<%= form_tag(spree.admin_drop_ship_settings_path, :method => :put) do %>
<fieldset class="general no-border-top">
<% %w(allow_signup automatically_deliver... | <%= render :partial => 'spree/admin/shared/configuration_menu' %>
<% content_for :page_title do %>
<%= I18n.t("spree_drop_ship.drop_ship_settings") %>
<% end %>
<%= form_tag(spree.admin_drop_ship_settings_path, :method => :put) do %>
<fieldset class="general no-border-top">
<% %w(allow_signup automatically_de... | Fix I18n in settings form. | Fix I18n in settings form.
| HTML+ERB | bsd-3-clause | fiftin/spree_drop_ship,firman/spree_drop_ship,boomerdigital/solidus_marketplace,firmanm/spree_drop_ship,sunny2601/spree_drop_ship,pjar/spree_drop_ship,rohitpai-na/solidus_drop_ship,rohitpai-na/solidus_drop_ship,boomerdigital/solidus_marketplace,firman/spree_drop_ship,boomerdigital/solidus_marketplace,sunny2601/spree_dr... |
4125bb699457b2f228ae70daf8e25f52a94d34a8 | app/views/checks/new.html.erb | app/views/checks/new.html.erb | <h1 class="title">Create a check</h1>
<p>
A check define what you want to monitor. We will monitor the check URI and record the performance. Once adding check, you can define alert condition
for when we should send you notification. An alert condition can be when your site is down, or slow.
</p>
<%= render 'form', ch... | <h1 class="title">Create a check</h1>
<p>
A check define what you want to monitor. We will monitor the check URI and record the performance. Once adding check, you can define alert condition
for when we should send you notification. An alert condition can be when your site is down, or slow.
</p>
<%= render 'form', ch... | Remove back link on check | Remove back link on check
| HTML+ERB | agpl-3.0 | NotyIm/trinity,NotyIm/trinity,NotyIm/trinity |
4335f830c8278ec3f373320cac1bb38ef0556145 | app/views/home/index.html.erb | app/views/home/index.html.erb | <% title('Home') %>
<% if current_user %>
<div class="well subphez-heading-well">
<ul class="list-inline">
<li><h2>All</h2></li>
<li> </li>
</ul>
</div>
<% end %>
<% @posts.each do |post| %>
<% @post = post %>
<%= render :partial => 'posts/heading' %>
<% end %>
<%= will_paginat... | <% title('Home') %>
<% if current_user %>
<div class="well subphez-heading-well">
<ul class="list-inline">
<li><h2>All</h2></li>
<li> </li>
</ul>
</div>
<% end %>
<% @posts.each do |post| %>
<% @post = post %>
<%= render :partial => 'posts/heading' %>
<% end %>
<% content_for :... | Remove pagination from bottom of home page. | Remove pagination from bottom of home page.
| HTML+ERB | mit | tonystubblebine/majority-report,tonystubblebine/majority-report,tonystubblebine/majority-report |
2d95ec474ec58a976cdd32147b83fe0e87acaf95 | app/views/home/index.html.erb | app/views/home/index.html.erb | <div id="main-ad-image">
<%= image_tag 'main.png' %>
</div>
<div id="footer-ads">
<div class="col mini">
<div class="mini-ad">
<%= image_tag 'ring.png' %>
<% taxon = Spree::Taxonomy.find_by_name('Deals').try(:taxons).try(:second) %>
<div><%= link_to taxon.try(:name), seo_url(taxon) if taxon.pr... | <div id="main-ad-image">
<%= image_tag 'main.png' %>
</div>
<div id="footer-ads">
<div class="col mini">
<div class="mini-ad">
<%= image_tag 'ring.png' %>
<% taxon = Spree::Taxonomy.find_by_name('Deals').try(:taxons).try(:second) %>
<div>
<%= link_to taxon.try(:name), seo_url(taxon) if... | Add date next to sweetest day item link... Need to figure out later what this means... | Add date next to sweetest day item link... Need to figure out later what this means...
| HTML+ERB | mit | mgwidmann/gemador,mgwidmann/gemador |
5c6d11b0f517c7181eb3868a104607d233900105 | app/views/items/show.html.erb | app/views/items/show.html.erb | <div class="item-show">
<div class="individual-item-show">
<h2><%= @item.name %></h2>
<% if is_admin? %>
<p><%= link_to 'Edit Item', edit_item_path %> | <%= link_to 'Delete Item', @item, method: :delete %> </p>
<% end %>
<% if !@item.image.blank? %>
<img src="<%= @item.image %>" width="5... | <div class="item-show">
<div class="individual-item-show">
<h2><%= @item.name %></h2>
<% if is_admin? %>
<p><%= link_to 'Edit Item', edit_item_path %> | <%= link_to 'Delete Item', @item, method: :delete %> </p>
<% end %>
<% if !@item.image.blank? %>
<img src="<%= @item.image %>" width="5... | Add confitional that shows a disabled button if item quantity is 0 | Add confitional that shows a disabled button if item quantity is 0
| HTML+ERB | mit | benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop |
6289eb24af36aacea9c00d4d464af13bae08abfd | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Lot-Casting Atemi</title>
<%= csrf_meta_tags %>
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet">
<% stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
</head>
<body>
... | <!DOCTYPE html>
<html>
<head>
<title>Lot-Casting Atemi</title>
<%= csrf_meta_tags %>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet">
<% stylesheet_link_tag 'application', media: 'all... | Add magic meta tag to make it prettier on phones | Add magic meta tag to make it prettier on phones
| HTML+ERB | agpl-3.0 | makzu/lotcastingatemi,makzu/lotcastingatemi,makzu/lotcastingatemi,makzu/lotcastingatemi,makzu/lotcastingatemi |
df90ee0ab76abfa0a47c30ea03e38840a9d97b8a | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title><%= yield :title %> - GOV.UK</title>
<%= stylesheet_link_tag 'application' %>
<%= stylesheet_link_tag 'print', :media => :print %>
<%= yield :head %>
<%= render 'govuk_publishing_components/components/meta_tags', content_item: @content_item %>
<%= javascrip... | <!DOCTYPE html>
<html>
<head>
<title><%= yield :title %> - GOV.UK</title>
<%= stylesheet_link_tag 'application' %>
<%= stylesheet_link_tag 'print', :media => :print %>
<%= yield :head %>
<%= render 'govuk_publishing_components/components/meta_tags', content_item: @content_item %>
<%= javascrip... | Revert "Change crossorigin from 'anonymous' to 'use-credentials'" | Revert "Change crossorigin from 'anonymous' to 'use-credentials'"
| HTML+ERB | mit | alphagov/calendars,alphagov/calendars,alphagov/calendars,alphagov/calendars |
f71c31607eace1ad0ac7a1ac62d8b88a6f21c5f9 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="ROBOTS" content="NOODP" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title><%= title %></title>
<%= favicon_link_tag "favicon.ico" %>
<%= stylesheet_link_tag :application, media: "all" %>
<%= csrf_m... | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="ROBOTS" content="NOODP" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title><%= title %></title>
<%= favicon_link_tag "favicon.ico" %>
<%= stylesheet_link_tag :application, media: "all" %>
<%= csrf_m... | Use fixed width content and full length navigation | Use fixed width content and full length navigation
| HTML+ERB | mit | codecation/trailmix,codecation/trailmix,codecation/trailmix,codecation/trailmix |
c93d7e5d59f80fadc23e735e7a00d39526816f68 | app/views/votes/_vote_buttons.html.erb | app/views/votes/_vote_buttons.html.erb | <%= form_for :vote, url: '/votes/upvote' do |f| %>
<%= f.hidden_field :user_id, value: current_user.id %>
<%= f.hidden_field :votable_type, value: votable_type %>
<%= f.hidden_field :votable_id, value: votable_id %>
<%= f.hidden_field :upvote, value: true %>
<%= f.submit 'Upvote' %>
<% end %>
| <%= form_for :vote, url: '/votes/upvote' do |f| %>
<%= f.hidden_field :user_id, value: current_user.id %>
<%= f.hidden_field :votable_type, value: votable_type %>
<%= f.hidden_field :votable_id, value: votable_id %>
<%= f.hidden_field :upvote, value: true %>
<%= f.submit 'Upvote' %>
<% end %>
<%= form_for :... | Add downvote button to vote button partial. | Add downvote button to vote button partial.
| HTML+ERB | mit | PeterJahnes/dbc-overflow,PeterJahnes/dbc-overflow,kahdojay/dbc-overflow,PeterJahnes/dbc-overflow,kahdojay/dbc-overflow,kahdojay/dbc-overflow |
c7feaddad18b8e0473f7e8fa74b9b58f824e36a5 | app/views/admin/school_onboardings/email/edit.html.erb | app/views/admin/school_onboardings/email/edit.html.erb | <h1>Change email address for <%= @school_onboarding.school_name %></h1>
<%= simple_form_for([:admin, @school_onboarding], url: admin_school_onboarding_email_path(@school_onboarding)) do |f| %>
<%= render 'shared/errors', subject: @school_onboarding, subject_name: 'form' %>
<%= f.input :contact_email %>
<%= f.i... | <h1>Change email address for <%= @school_onboarding.school_name %></h1>
<%= simple_form_for([:admin, @school_onboarding], url: admin_school_onboarding_email_path(@school_onboarding)) do |f| %>
<%= f.input :contact_email %>
<%= f.input :notes %>
<div class="actions">
<%= f.submit 'Save', class: 'btn btn-pri... | Remove unused error message stuff | Remove unused error message stuff
| HTML+ERB | mit | BathHacked/energy-sparks,BathHacked/energy-sparks,BathHacked/energy-sparks,BathHacked/energy-sparks |
3a1707687569cc40f11bd78f1f73febaa8478882 | cookbooks/rails/templates/default/bluepill_upstart.erb | cookbooks/rails/templates/default/bluepill_upstart.erb | description "<%= @name %>"
start on runlevel [2345]
stop on runlevel [!2345]
expect daemon
respawn
exec su -c "<%= node["bluepill"]["bin"] %> load /etc/bluepill/intercity_development.pill" | description "<%= @name %>"
start on (started ssh)
console output
pre-start script
<%= node["bluepill"]["bin"] %> load /etc/bluepill/intercity_development.pill
end script
exec sleep 1 | Use script for starting bluepill | Use script for starting bluepill
| HTML+ERB | mit | czhc/chef-repo,czhc/chef-repo,multunus/chef-repo,intercity/chef-repo,czhc/chef-repo,dprabu17/chef-repo,czhc/chef-repo,berkes/chef-repo |
af76d53c5ff526b61496e069462aea00079051cf | app/views/admin/resources/edit.html.erb | app/views/admin/resources/edit.html.erb | <%
page_title = Typus::I18n.t("Edit %{resource} %{id}", :resource => @resource.model_name.human.titlecase, :id => @item.identifier)
admin_title(page_title)
%>
<% content_for :main_grid do %>
<%= render 'edit' %>
<% unless headless_mode? %>
<h1><%= page_title %></h1>
<% end %>
<%= admin_display_flash_... | <%
page_title = Typus::I18n.t("Edit %{resource} %{id}", :resource => @resource.model_name.human.titlecase, :id => @item.identifier)
page_title = "Edit #{@resource.model_name.human.titlecase}: #{@item.to_label}" if @resource.instance_methods(false).include?(:to_label)
admin_title(page_title)
%>
<% content_for :ma... | Use to_label method for Edit title, if it's defined on the resource | Use to_label method for Edit title, if it's defined on the resource
| HTML+ERB | mit | thirdthing/typus,thirdthing/typus,thirdthing/typus,thirdthing/typus |
80b50a37749388b54a0d6d02e2808130eb2a2fcd | lib/debot/recipes/generators/templates/stages.rb.erb | lib/debot/recipes/generators/templates/stages.rb.erb | set :domain, "<%=domain%>"
set :branch, "<%=branch%>"
set :deploy_to, "<%=deploy_to%>"
set_default(:stage, "production")
set_default(:stage_db_user, "<%=stage_db_user%>")
| set :domain, "<%=domain%>"
set :branch, "<%=branch%>"
set :deploy_to, "<%=deploy_to%>"
set_default(:stage, "<%=stage_name%>")
set_default(:stage_db_user, "<%=stage_db_user%>")
| Add template tag for production | Add template tag for production | HTML+ERB | mit | ikennaokpala/debot |
8b59b0fbb838779ca2bd74181afafec5498b00c5 | app/views/sessions/new.html.erb | app/views/sessions/new.html.erb | <% content_for :js do %>
<%= headjs_include_tag "plugins/jquery.min", "front/login" %>
<% end %>
<% content_for :head do %>
<%= stylesheet_link_tag('reset.css','front/sessions') %>
<% end %>
<div class="section">
<h1>Welcome to Carto<strong>DB</strong></h1>
<p>Enter your account information ... | <% content_for :js do %>
<%= headjs_include_tag "plugins/jquery.min", "front/login" %>
<% end %>
<% content_for :head do %>
<%= stylesheet_link_tag('reset.css','front/sessions') %>
<% end %>
<div class="section">
<h1>Welcome to Carto<strong>DB</strong></h1>
<p>Enter your account information ... | Check @login_error in login form | Check @login_error in login form
| HTML+ERB | bsd-3-clause | codeandtheory/cartodb,nyimbi/cartodb,dbirchak/cartodb,nyimbi/cartodb,thorncp/cartodb,future-analytics/cartodb,splashblot/dronedb,nuxcode/cartodb,splashblot/dronedb,splashblot/dronedb,nyimbi/cartodb,codeandtheory/cartodb,CartoDB/cartodb,raquel-ucl/cartodb,dbirchak/cartodb,CartoDB/cartodb,nuxcode/cartodb,DigitalCoder/car... |
ea99ad31eb267acb55b3a4f179973c8d1916fd6a | app/views/topics/index.html.erb | app/views/topics/index.html.erb | <div class="issues-container">
<% @topics.each do |topic| %>
<a href="/topics/<%= topic.id %>" class="subject-name">
<div class="thumbnail" style ="background: url('<%= topic.img_url %>') no-repeat" alt="<%= topic.subject_name %>" >
<%= topic.subject_name %>
</div>
</a>
<% ... | <div class="issues-container">
<% @topics.each do |topic| %>
<div class="thumbnail" style ="background: url('<%= topic.img_url %>');background-size: cover;" alt="<%= topic.subject_name %>">
<a href="/topics/<%= topic.id %>" class="subject-name">
<%= topic.subject_name %>
</div>
</a>
... | Adjust background imge for deployment | Adjust background imge for deployment
| HTML+ERB | mit | meagdoh/WDI-Project-2,meagdoh/WDI-Project-2,meagdoh/WDI-Project-2 |
4de73a63e519087788e02d513e4851f7144535b4 | app/views/organisations/_organisations_name_list.html.erb | app/views/organisations/_organisations_name_list.html.erb | <%
lead_organisations ||= []
organisations ||= []
show_hm_government = lead_organisations.length == 0
%>
<p class="js-hide-other-departments organisations-name-list">
<% if show_hm_government %>
<span>HM Government</span>
<% end %>
<%= organisations_link_sentence(lead_organisations, organisations) %>
</... | <%
lead_organisations ||= []
organisations ||= []
show_hm_government = lead_organisations.length == 0
%>
<p class="js-hide-other-departments organisations-name-list">
<% if show_hm_government %>
<span>HM Government, </span>
<% end %>
<%= organisations_link_sentence(lead_organisations, organisations) %>
... | Add comma after HM Gov | Add comma after HM Gov
There will always be orgs coming after it and otherwise they run into
each other.
| HTML+ERB | mit | robinwhittleton/whitehall,ggoral/whitehall,alphagov/whitehall,hotvulcan/whitehall,hotvulcan/whitehall,askl56/whitehall,hotvulcan/whitehall,askl56/whitehall,robinwhittleton/whitehall,alphagov/whitehall,YOTOV-LIMITED/whitehall,YOTOV-LIMITED/whitehall,askl56/whitehall,askl56/whitehall,robinwhittleton/whitehall,ggoral/whit... |
d9569e29129c6566728a38f377e32dc94dee26e2 | spec/dummy/app/views/layouts/application.html.erb | spec/dummy/app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Dummy</title>
<%= stylesheet_link_tag :all %>
<%= javascript_include_tag :defaults %>
<%= csrf_meta_tags %>
</head>
<body>
<%= yield %>
</body>
</html>
| <!DOCTYPE html>
<html>
<head>
<title>Dummy</title>
<%= stylesheet_link_tag :all %>
<%= javascript_include_tag :defaults %>
<%= csrf_meta_tags %>
</head>
<body>
<% flash.each do |key, message| %>
<div id='flash_<%= key %>'><%= message %></div>
<% end %>
<%= yield %>
</body>
</html>
| Add flash to dummy layout so we can test for it | Add flash to dummy layout so we can test for it
| HTML+ERB | mit | xenonn/forem,Fullscreen/forem,mijoharas/forem,bagusyuu/forem,bvsatyaram/forem,beefsack/forem,0xCCD/forem,kot-begemot/forem,wuwx/forem,tonic20/forem,filiptepper/forem,ajeje/forem,bagusyuu/forem,kenmazaika/forem,dmitry-ilyashevich/forem,devleoper/forem,code-mancers/forem,ciscou/forem,impact11/forem-rd,nikolaevav/forem,xe... |
1fee039f03818ab219a4c3c2c3e09830942fd721 | app/views/layouts/_analytics.html.erb | app/views/layouts/_analytics.html.erb | <script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.j... | <script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.j... | Enable Display Advertising Features for Google Analytics | Enable Display Advertising Features for Google Analytics
| HTML+ERB | mit | kbarre123/starterkits_rails4,kbarre123/starterkits_rails4,kbarre123/starterkits_rails4 |
f17686902ffadafe4a2192cb170d071cea65efcb | app/views/spree/authors/show.html.erb | app/views/spree/authors/show.html.erb | <% @body_id = 'author-page' %>
<% @body_class = 'serif-headers' %>
<% cache @author do %>
<div class="row">
<div class="alpha columns four author-photo">
<%= image_tag @author.photo.url %>
</div>
<div class="omega columns twelve readable-text">
<div>
<%= display_bookmarks(@author) if gem_available? 'spree_soc... | <% @body_id = 'author-page' %>
<% @body_class = 'serif-headers' %>
<% cache @author do %>
<div class="row">
<div class="alpha columns four author-photo">
<%= image_tag @author.photo.url %>
</div>
<div class="omega columns twelve readable-text">
<div>
<%= display_bookmarks(@author) if gem_available? 'spree_soc... | Hide video markup when none are available | Hide video markup when none are available
| HTML+ERB | bsd-3-clause | iloveitaly/spree_authors,iloveitaly/spree_authors |
15429e06a8032eb42ac2b26bf81c9adaecb4ddfd | deployment/puppet/rsyslog/templates/99-remote.conf.erb | deployment/puppet/rsyslog/templates/99-remote.conf.erb | # file is managed by puppet
#
<% if scope.lookupvar('rsyslog::client::log_remote') -%>
# Log to remote syslog server using <%= scope.lookupvar('rsyslog::client::remote_type') %>
# Templates
# Would match 'kernel:' -> 'kernel' ; 'rsyslog[12345]:' -> 'rsyslog' ; '<180>(nova.api.wsgi):' -> 'nova.api.wsgi'
$Templat... | # file is managed by puppet
#
<% if scope.lookupvar('rsyslog::client::log_remote') -%>
# Log to remote syslog server using <%= scope.lookupvar('rsyslog::client::remote_type') %>
# Templates
# Would match 'kernel:' -> 'kernel' ; 'rsyslog[12345]:' -> 'rsyslog' ; '<180>(nova.api.wsgi):' -> 'nova.api.wsgi'
$Templat... | Allow remote and local rsyslogging simultanousely | Allow remote and local rsyslogging simultanousely
Signed-off-by: Bogdan Dobrelya <62b3a3e71fe69d786a0eb2bf561b6ce08e31d2cc@mail.ru>
| HTML+ERB | apache-2.0 | eayunstack/fuel-library,zhaochao/fuel-library,zhaochao/fuel-library,huntxu/fuel-library,ddepaoli3/fuel-library-dev,slystopad/fuel-lib,slystopad/fuel-lib,slystopad/fuel-lib,huntxu/fuel-library,Metaswitch/fuel-library,slystopad/fuel-lib,zhaochao/fuel-library,SmartInfrastructures/fuel-library-dev,Metaswitch/fuel-library,h... |
04c317d63d6db4ed5f4b2bd1820f65944afb8504 | app/views/legislation/processes/proposals.html.erb | app/views/legislation/processes/proposals.html.erb | <% provide :title do %><%= @process.title %><% end %>
<%= render 'legislation/processes/header', process: @process, header: :full %>
<%= render 'key_dates', process: @process, phase: :proposals %>
<div class="row">
<div class="debate-chooser">
<div class="row">
<div class="small-12 medium-9 column">
... | <% provide :title do %><%= @process.title %><% end %>
<%= render 'legislation/processes/header', process: @process, header: :full %>
<%= render 'key_dates', process: @process, phase: :proposals %>
<div class="row">
<div class="debate-chooser">
<div class="row">
<div class="small-12 medium-9 column">
... | Create proposal button redirects to login if user is not logged in | Create proposal button redirects to login if user is not logged in
| HTML+ERB | agpl-3.0 | AyuntamientoMadrid/consul,AyuntamientoMadrid/consul,AyuntamientoMadrid/consul,AyuntamientoMadrid/consul |
ec0e60a66c3ff0c892a1e95ad5a0ca9d9b1c083f | app/views/refinery/news/admin/items/_item.html.erb | app/views/refinery/news/admin/items/_item.html.erb | <li class='clearfix record <%= cycle("on", "on-hover") %>'>
<span class='title'>
<%= item.title %>
<span class="preview">
<%= t('.published') %> <%= l(item.publish_date, :format => :short) %>
</span>
<% if defined?(::Refinery::I18n) and ::Refinery::I18n.frontend_locales.many? and
(loca... | <li class='clearfix record <%= cycle("on", "on-hover") %>'>
<span class='title'>
<%= item.title %>
<span class="preview">
<%= t('.published') %> <%= l(item.publish_date, :format => :short) %>
</span>
<% if defined?(::Refinery::I18n) and ::Refinery::I18n.frontend_locales.many? and
(loca... | Fix deprecation warnings related to :confirm option. | Fix deprecation warnings related to :confirm option.
| HTML+ERB | mit | wuboy0307/refinerycms-news,refinery/refinerycms-news,refinery/refinerycms-news,krisquigley/refinerycms-news,ipmobiletech/refinerycms-news,wuboy0307/refinerycms-news,krisquigley/refinerycms-news,ipmobiletech/refinerycms-news |
eb58da0e2d2419c7d80a3d6f635ac144ff98dcea | app/views/teaspoon/suite/_boot_require_js.html.erb | app/views/teaspoon/suite/_boot_require_js.html.erb | <%
rails_config = Rails.application.config
require_options = {baseUrl: rails_config.assets.prefix}
require_options.merge!(rails_config.requirejs.user_config) if rails_config.respond_to?(:requirejs)
specs = @suite.spec_assets(false).map{ |s| "#{s.gsub(/\.js.*$/, "")}" }
%>
<%= javascript_include_tag @suite.helper %>
<s... | <%
rails_config = Rails.application.config
require_options = {baseUrl: rails_config.assets.prefix}
require_options.merge!(rails_config.requirejs.user_config) if rails_config.respond_to?(:requirejs)
specs = @suite.spec_assets(false).map{ |s| "#{s.gsub(/\.js.*$/, "")}" }
specs.each {|s| require_options['shim'][s] = [@su... | Improve boot_require_js to load spec_help as a dependency | Improve boot_require_js to load spec_help as a dependency
| HTML+ERB | mit | beni55/teaspoon,andresbravog/teaspoon,iainbeeston/teaspoon,derby-developers/teaspoon,modeset/teaspoon,andresbravog/teaspoon,bouk/teaspoon,derby-developers/teaspoon,modeset/teaspoon,bouk/teaspoon,andresbravog/teaspoon,bouk/teaspoon,modeset/teaspoon,iainbeeston/teaspoon,Gusto/teaspoon,derby-developers/teaspoon,beni55/tea... |
e0e6c34c0837bab820c29ae14bebcbbed41332a6 | app/views/notes/_form.html.erb | app/views/notes/_form.html.erb | <%= form_for @note do |f| %>
<p>
<%= f.text_field :title, placeholder: 'Title your note', autofocus: title_autofocus?(f.object) %>
</p>
<p>
<%= f.bootsy_area :body_html, placeholder: 'Just start typing...' %>
</p>
<div class="form-actions">
<%= f.submit class: 'btn btn-default' %>
</div>
<% end ... | <%= form_for @note do |f| %>
<p>
<%= f.text_field :title, placeholder: 'Title your note', autofocus: title_autofocus?(f.object) %>
</p>
<p>
<%= f.bootsy_area :body_html, placeholder: 'Just start typing...' %>
</p>
<div class="form-actions">
<%= f.submit class: 'btn btn-default' %>
<% if @note.... | Add 'delete' button to note form. | Add 'delete' button to note form.
| HTML+ERB | mit | getfretless/elevennote,getfretless/elevennote |
477fc972327d146a708ed30a430d26f16d7d0c17 | app/views/topics/show.html.erb | app/views/topics/show.html.erb | <div class="page-header">
<h1><%= @topic.name %></h1>
</div>
<div class="well">
<% if @topic.children.any? %>
<strong><%= Topic.human_attribute_name :children %>:</strong>
<ul>
<% @topic.children.each do |subtopic| %>
<li>
<%= link_to subtopic.name, subtopic %>
</li>
<... | <div class="page-header">
<h1><%= @topic.name %></h1>
</div>
<div class="well">
<% if @topic.children.any? %>
<strong><%= Topic.human_attribute_name :children %>:</strong>
<ul>
<% @topic.children.each do |subtopic| %>
<li>
<%= link_to subtopic.name, subtopic %>
</li>
<... | Move promises to the top of the topic page. | Move promises to the top of the topic page.
| HTML+ERB | bsd-3-clause | holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site |
a5f03199973fbf2ee82a9dde3149f6e403394b8e | app/views/bills/index.html.erb | app/views/bills/index.html.erb |
<!---debug><h2>Hello, <%= if @all_bills then @all_bills else "world" end %> !</h2><--->
<div class='all-bills'>
<ul class='bill-list'>
<% @all_bills.map do |bill| %>
<li class='block-bill'>
<% y = bill[:link].match(/bills\/(.*).json/)[1] %>
<a href="/bills/<%= y %>"><%= bill[:number] %></a>
<... |
<div class='all-bills'>
<ul class='bill-list'>
<% @all_bills.map do |bill| %>
<li class='block-bill'>
<% y = bill[:link].match(/bills\/(.*).json/)[1] %>
<a href="/bills/<%= y %>"><%= bill[:number] %></a>
<p><%= bill[:title] %></p>
</li>
<% end %>
</ul>
<nav>
<a href="/">Home</a>... | Remove link to json file and debugger display in index page | Remove link to json file and debugger display in index page
| HTML+ERB | mit | omarchaeopteryx/civic-social,omarchaeopteryx/civic-social,omarchaeopteryx/civic-social |
8d3334f79d02b395cd9284f0ef3257fe70b1e283 | app/views/groups/show.html.erb | app/views/groups/show.html.erb | <p id="notice"><%= notice %></p>
<p>
<strong>Origin system:</strong>
<%= @group.origin_system %>
</p>
<p>
<strong>Name:</strong>
<%= @group.name %>
</p>
<p>
<strong>Description:</strong>
<%= @group.description %>
</p>
<p>
<strong>Summary:</strong>
<%= @group.summary %>
</p>
<p>
<strong>Browser ur... | <%= render 'application/client' %>
| Use React for Groups pages. | Use React for Groups pages.
| HTML+ERB | agpl-3.0 | advocacycommons/advocacycommons,matinieves/advocacycommons,agustinrhcp/advocacycommons,agustinrhcp/advocacycommons,agustinrhcp/advocacycommons,advocacycommons/advocacycommons,advocacycommons/advocacycommons,matinieves/advocacycommons,matinieves/advocacycommons |
2f93ec6762c820e8f156955fe61fa4623b296397 | app/views/shift/index.html.erb | app/views/shift/index.html.erb | <h1 class="page_header">Shift Dash</h1>
<p>Check out your shifts!</p>
<%= month_calendar events: @shifts do |date, shifts| %>
<%= date %>
<% shifts.each do |shift|%>
<div>
<p>Earnings: <%= shift.earnings%> [<%=link_to "Details", user_shift_path(@user.id, shift.id), method: :get %>] </p>
</di... | <h1 class="page_header">Shift Dash</h1>
<p>Check out your shifts!</p>
<%= month_calendar events: @shifts do |date, shifts| %>
<%= date %>
<% shifts.each do |shift|%>
<div>
<p>Earnings: $<%= number_with_precision(shift.earnings, :precision => 2)%> [<%=link_to "Details", user_shift_path(@user.id, sh... | Add $ symbol and 2 decimal places to earnings on Shift Index [not branch related] | Add $ symbol and 2 decimal places to earnings on Shift Index [not branch related]
| HTML+ERB | mit | JupiterLikeThePlanet/TaxAlong,JupiterLikeThePlanet/TaxAlong,JupiterLikeThePlanet/TaxAlong |
245f52b97ab852f938f5044dac7784621d9883a2 | personal_website/app/views/layouts/application.html.erb | personal_website/app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Personal Website</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag '... | <!DOCTYPE html>
<html>
<head>
<title>Personal Website</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--[if lt IE]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></scrip... | Add support for IE < 9 | Add support for IE < 9
| HTML+ERB | mit | Bigless27/Personal-Website-2.0,Bigless27/Personal-Website-2.0,Bigless27/Personal-Website-2.0 |
0bfa4ef83e1d3a9b84301782c705cf6f21f96050 | modules/govuk_crawler/templates/govuk_upload_mirror.erb | modules/govuk_crawler/templates/govuk_upload_mirror.erb | #!/bin/sh
TARGETS="<%= @targets.flatten.join(' ') -%>"
if [ -z "$TARGETS"]; then
logger -t mirrorer empty target received for govuk mirror
fi
START_UPLOAD=$(($(date +%s%N)/1000000))
for TARGET in $TARGETS; do
logger -t mirrorer Started uploading to $TARGET
rsync -rLptgoD -z --delete /var/lib/govuk_mirror/curre... | #!/bin/sh
TARGETS="<%= @targets.flatten.join(' ') -%>"
if [ -z "$TARGETS"]; then
logger -t mirrorer empty target received for govuk mirror
fi
START_UPLOAD=$(($(date +%s%N)/1000000))
for TARGET in $TARGETS; do
logger -t mirrorer Started uploading to $TARGET
rsync -rLptgoD -z /var/lib/govuk_mirror/current/. \
... | Remove the `--delete` flag for rsync | Remove the `--delete` flag for rsync
Prevent `rsync(1)` from deleting content on the remote machine when it
has been deleted locally.
This is primarily to prevent rsync from deleting the majority of the
content on the remote mirrors if the GOV.UK Crawler Worker has not yet
completed crawling the whole site.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
57eb2e5baadbc3b46faf911aeb475cfe14f104f2 | app/views/feeds/index.html.erb | app/views/feeds/index.html.erb | <% if @feeds.empty? %>
<div class="alert">
<strong>No news</strong> at the moment
</div>
<% else %>
<% @feeds.each do |feed| %>
<h2><%= feed.title %></h2>
<% feed.newsitems.where(unread: 1) \
.order("published desc").limit(3).each do |news| %>
<div class="well well-large widget widget-t... | <% if @feeds.empty? %>
<div class="alert">
<strong>No news</strong> at the moment
</div>
<% else %>
<% @feeds.each do |feed| %>
<h2><%= link_to feed.title, feed %></h2>
<% feed.newsitems.where(unread: 1) \
.order("published desc").limit(3).each do |news| %>
<div class="well well-large w... | Add link to feed's title. | Add link to feed's title.
| HTML+ERB | mit | fudanchii/shreds,fudanchii/shreds,fudanchii/shreds |
804149205419da9997677ac795a4da195d7962bd | app/views/invites/new.html.erb | app/views/invites/new.html.erb | <%
add_body_class "new_invite"
@page_title = t("invite.new_invite")
%>
<h2 class="section">
<%= link_to t("invites.invites"), invites_path %>
»
<%= link_to t("new"), new_invite_path %>
</h2>
<%= form_for @invite, builder: Sugar::FormBuilder do |f| %>
<%= f.labelled_text_field :email, size: 60 %>
<... | <%
add_body_class "new_invite"
@page_title = t("invite.new_invite")
%>
<h2 class="section">
<%= link_to t("invites.invites"), invites_path %>
»
<%= link_to t("new"), new_invite_path %>
</h2>
<%= form_for @invite, builder: Sugar::FormBuilder do |f| %>
<%= f.labelled_text_field :email, size: 60, type:... | Set invitation email field to type "email". | Set invitation email field to type "email".
| HTML+ERB | mit | elektronaut/sugar,elektronaut/sugar,elektronaut/sugar,Wevah/sugar,elektronaut/sugar,Wevah/sugar,Wevah/sugar |
87b6ec0ef95068042aed5748700e69417396f473 | app/views/lists/index.html.erb | app/views/lists/index.html.erb | <%= tag_header @tag, 'Lists' %>
<% unless @tag.draft? %>
<%= render 'publish_button', tag: @tag %>
<% end %>
<div class='row'>
<div class='col-md-6'>
<%= render 'all_list_items', lists: @lists, tag: @tag %>
</div>
<div class='col-md-6'>
<%= render 'list_editor', lists: @lists, tag: @tag %>
<h4>N... | <%= tag_header @tag, 'Lists' %>
<%= render 'publish_button', tag: @tag %>
<div class='row'>
<div class='col-md-6'>
<%= render 'all_list_items', lists: @lists, tag: @tag %>
</div>
<div class='col-md-6'>
<%= render 'list_editor', lists: @lists, tag: @tag %>
<h4>New list</h4>
<%= render 'new_list... | Allow users to publish draft tag lists | Allow users to publish draft tag lists
Draft tags are no longer different from published tags when considering
lists. We can allow the users to publish the lists of draft items.
| HTML+ERB | mit | alphagov/collections-publisher,alphagov/collections-publisher,alphagov/collections-publisher |
41b42c30b55d920cf4a5f2e730d8635945bd8893 | app/views/ranks/index.html.erb | app/views/ranks/index.html.erb |
<table>
<tr>
<th>Position</th>
<th>Namen</th>
<th>Score</th>
</tr>
<% RanksController.rankList(0,10).each do |rank, pos| %>
<tr>
<td><%= pos %>.</td>
<td><%= rank.user.username %></td>
<td><%= rank.score %></td>
</tr>
<% end %>
</table> | <table>
<tr>
<th>Position</th>
<th>Namen</th>
<th>Score</th>
</tr>
<% RanksController.rankList(0,10).each do |rank, pos| %>
<tr>
<td><%= pos %>.</td>
<td><%= link_to(rank.user.username, rank.user.username) %></td>
<td><%= rank.score %></td>
</tr>
<% end %>
</table>
| Create Link to User on RankList in RankView | Create Link to User on RankList in RankView
| HTML+ERB | mit | OsnaCS/dbp-game,fizzule/dbp-game,ChristianReinhard/dbp-game,fizzule/dbp-game,OsnaCS/dbp-game,fizzule/dbp-game,ChristianReinhard/dbp-game,OsnaCS/dbp-game,ChristianReinhard/dbp-game |
3b75c5a7d830aaa70c95721cd21e81813e3ce039 | app/views/tasks/index.html.erb | app/views/tasks/index.html.erb | <div class="row">
<div class="small-12 small-centered columns"><h1 id="page-title">Tasks!</h1></div>
</div>
<%= render "form", task: @task %>
<div class="row">
<h4 id="task-count" class="small-12 columns"><%= pluralize(@tasks.count, "task") %></h4>
<div class="small-12 columns">
<ul id="tasks" class="small-... | <div class="row">
<div class="small-12 small-centered columns"><h1 id="page-title">Tasks!</h1></div>
</div>
<%= render "form", task: @task %>
<div class="row">
<div class="small-12 columns">
<ul id="tasks" class="small-12 columns" data-update-url="<%= sort_list_tasks_url %>">
<% if !@tasks.empty? %>
... | Remove count from the task index | Remove count from the task index
| HTML+ERB | mit | thomas-holmes/todo,thomas-holmes/todo |
6e808e7debdf2ca3e9ce54e83c52ec5b2b1b4650 | app/views/users/_form.html.erb | app/views/users/_form.html.erb | <%= simple_form_for user do |form| %>
<%= form.input :first_name %>
<%= form.input :last_name %>
<%= form.input :email %>
<%= form.input :url, :label => 'Website URL' %>
<%= form.input :bio, :as => :text %>
<%= form.input :new_password, :as => :password, :label => "New password" %>
<%= form.button :submit... | <%= simple_form_for user do |form| %>
<%= form.input :first_name %>
<%= form.input :last_name %>
<%= form.input :email %>
<%= form.input :url, :label => 'Website URL' %>
<%= form.input :new_password, :as => :password, :label => "New password" %>
<%= form.button :submit %>
<% end %>
| Remove the Bio field from the user profile. | Remove the Bio field from the user profile.
| HTML+ERB | agpl-3.0 | Xelgen/awesomebits,awesomefoundation/awesomebits,Xelgen/awesomebits,awesomefoundation/awesomebits,Xelgen/awesomebits,emdaniels/awesomebits,tibbon/awesomebits,emdaniels/awesomebits,awesomefoundation/awesomebits,awesomefoundation/awesomebits,Xelgen/awesomebits,avicaplan/awesomebits,avicaplan/awesomebits,emdaniels/awesome... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.