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 |
|---|---|---|---|---|---|---|---|---|---|
eef94b3d2f0b865d12706224189ce707a9d69ad6 | app/views/topics/_new.html.erb | app/views/topics/_new.html.erb |
<div class="row">
<form class="col s6" action="/topics" method="POST">
<%= tag(:input, :type => "hidden", :name => request_forgery_protection_token.to_s, :value => form_authenticity_token) %>
<div class="input-field col s10 offset-l3 white ">
<i class="small material-icons">comment</i>
... | <div class="container">
<div class="row">
<div class="col s10 offset-s1 m6 offset-m3 l6 offset-l3">
<div class="card white darken-2">
<div class="card-content grey-text text-darken-3">
<h5><i class="small material-icons">comment</i> Create a Topic </h5>
<form action="/topics" method="POST">
... | Update style for root page | Update style for root page
| HTML+ERB | mit | chi-dragonflies-2015/FAQrator,chi-dragonflies-2015/FAQrator,chi-dragonflies-2015/FAQrator |
affdaff6c3c92c3ad70a5aaa3db046c9bdc52547 | app/views/users/_form.html.erb | app/views/users/_form.html.erb | <%= simple_form_for @user, :html => { :class => 'form-horizontal' } do |f| %>
<%= f.input :email %>
<%= error_span(@user[:email]) %>
<%= f.input :first_name %>
<%= error_span(@user[:first_name]) %>
<%= f.input :last_name %>
<%= error_span(@user[:last_name]) %>
<%= f.input :phone %>
<%= error_span(@user[... | <%= simple_form_for @user, :html => { :class => 'form-horizontal' } do |f| %>
<%= f.input :email %>
<%= error_span(@user[:email]) %>
<%= f.input :first_name %>
<%= error_span(@user[:first_name]) %>
<%= f.input :last_name %>
<%= error_span(@user[:last_name]) %>
<%= f.input :phone %>
<%= error_span(@user[... | Hide admin and NGO admin fields from non-admins | Hide admin and NGO admin fields from non-admins
| HTML+ERB | agpl-3.0 | ramonh/where2help,where2help/where2help,ramonh/where2help,where2help/where2help,where2help/where2help,ramonh/where2help |
922436c4d2af5c9a1666affc2c01d1e7525bb727 | app/views/users/index.html.erb | app/views/users/index.html.erb | <div class="btn-toolbar pull-right">
<div class="btn-group">
<%= link_to(icon_label_text('glyphicon glyphicon-plus', 'Créer un nouvel utilisateur'),
new_user_path,
:class => 'btn btn-default btn-sm') %>
</div>
</div>
<table class="table table-bordered table-striped">
<thead>
... | <p class="alert alert-warning">Les utilisateurs n'appartenant pas à un groupe ont tous les droits.</p>
<div class="btn-toolbar pull-right">
<div class="btn-group">
<%= link_to(icon_label_text('glyphicon glyphicon-plus', 'Créer un nouvel utilisateur'),
new_user_path,
:class => 'btn ... | Add info about groups on users list. | Add info about groups on users list.
| HTML+ERB | mit | osaris/sp-gestion,osaris/sp-gestion,osaris/sp-gestion |
a39fd09520c036998ab2b59b17a0ca578daa2bfe | templates/bprobe.defaults.erb | templates/bprobe.defaults.erb | PIDFILE=/var/run/bprobe.pid
TLS_KEY=/etc/bprobe/key.pem
TLS_CA=/etc/bprobe/ca.pem
TLS_CERT=/etc/bprobe/cert.pem
## WARNING: Do not modify the values below unless
## you know what you are doing!
COLLECTOR=tls://<%= collector %>:<%= collector_port %>
FLOW_MAP_SIZE=1048576
FLOW_PAUSE=0
| PIDFILE=/var/run/bprobe.pid
TLS_KEY=/etc/bprobe/key.pem
TLS_CA=/etc/bprobe/ca.pem
TLS_CERT=/etc/bprobe/cert.pem
## WARNING: Do not modify the values below unless
## you know what you are doing!
COLLECTOR=tls://<%= @collector %>:<%= @collector_port %>
FLOW_MAP_SIZE=1048576
FLOW_PAUSE=0
| Resolve DEPRECATION WARNING by using @-variables | Resolve DEPRECATION WARNING by using @-variables
Puppet 3.2 warns about this. | HTML+ERB | apache-2.0 | GabrielNicolasAvellaneda/boundary_puppet,GabrielNicolasAvellaneda/boundary_puppet,puppetlabs/puppetlabs-boundary,boundary/boundary_puppet |
7e0e004f9528555547d442c399992535c8a8fc46 | templates/docker-run-start.erb | templates/docker-run-start.erb | <% if @before_start -%>
<%= @before_start %>
<% end -%>
<% if @remove_container_on_start -%>
/usr/bin/<%= @docker_command %> rm <% if @remove_volume_on_start %>-v<% end %> <%= @sanitised_title %> >/dev/null 2>&1
<% end -%>
<% if @pull_on_start -%>
/usr/bin/<%= @docker_command %> pull <%= @image %>
<% end -... | <% if @before_start -%>
<%= @before_start %>
<% end -%>
<% if @remove_container_on_start -%>
/usr/bin/<%= @docker_command %> rm <% if @remove_volume_on_start %>-v<% end %> <%= @sanitised_title %> >/dev/null 2>&1
<% end -%>
<% if @pull_on_start -%>
/usr/bin/<%= @docker_command %> pull <%= @image %>
<% end -... | Fix misplaced backslash in start template | Fix misplaced backslash in start template
During a recent refactor a backslash intended to be an end of line
escape was inadvertantly placed into the middle of a line when a
container command is specified. This fix reinserts the newline the
slash was meant to escape.
Fixes #661
| HTML+ERB | apache-2.0 | puppetlabs/puppetlabs-docker,puppetlabs/puppetlabs-docker,puppetlabs/puppetlabs-docker |
4c36f69c5b98fc4c707a386a4060cf03d80acc62 | app/views/announcements/index.html.erb | app/views/announcements/index.html.erb | <h2>Announcements</h2>
<% @announcements.each do |announcement| %>
<p>
<% if announcement.current? %>
<span class="badge">Active</span>
<% end %>
<span class="text-muted">Created <%= announcement.created_at %>, expires <%= announcement.expiry %>.</span>
<% if announcement.current? %>
<%= ... | <h2>Announcements</h2>
<% @announcements.each do |announcement| %>
<p>
<% if announcement.current? %>
<span class="badge">Active</span>
<% end %>
<span class="text-muted">Created <%= announcement.created_at %>, expires <%= announcement.expiry %>.</span>
<% if announcement.current? && current_us... | Fix link from appearing for non-admins | Fix link from appearing for non-admins | HTML+ERB | cc0-1.0 | angussidney/metasmoke,Charcoal-SE/metasmoke,Charcoal-SE/metasmoke,angussidney/metasmoke,j-f1/forked-metasmoke,j-f1/forked-metasmoke,Charcoal-SE/metasmoke,angussidney/metasmoke,j-f1/forked-metasmoke,j-f1/forked-metasmoke,Charcoal-SE/metasmoke,angussidney/metasmoke |
dba3cb010bb48ec1e2594f41bddae3c6551d83f0 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Plusone</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="navbar navbar-default">
<div class="n... | <!DOCTYPE html>
<html>
<head>
<title>Plusone</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<%= csrf_meta_tags %>
</head>
<body>
<div class="navbar navbar-default">
<div class="navbar-header">
<button type="button" class="navbar-toggle"... | Remove turbolinks crap from HTML tags | Remove turbolinks crap from HTML tags
| HTML+ERB | mit | bbonislawski/plusone,bbonislawski/plusone |
0b51eb5d5046c7361b5d9cec969e00ce04c6c31b | app/views/admin/pages/index.html.erb | app/views/admin/pages/index.html.erb | <%
self.page_title = "Pages"
self.page_description = "All pages / " + link_to("Deleted pages", deleted_admin_pages_path(@locale))
if PagesCore.config.localizations?
self.page_description_links = 'In ' + PagesCore.config.locales.map{ |l, n| link_to_unless_current n, admin_pages_path(l) }.join(link_separator)
... | <%
self.page_title = "Pages"
self.page_description = "All pages / " + link_to("Deleted pages", deleted_admin_pages_path(@locale))
if PagesCore.config.localizations?
self.page_description_links = 'In ' + PagesCore.config.locales.map{ |l, n| link_to_unless_current n, admin_pages_path(l) }.join(link_separator)
... | Add locale to cache key for Pages index | Add locale to cache key for Pages index
| HTML+ERB | mit | anyone-oslo/pages,anyone-oslo/pages,kord-as/pages,manualdesign/pages,kord-as/pages,manualdesign/pages,anyone-oslo/pages,manualdesign/pages,kord-as/pages |
5306cc062441d6995cbec144f5dddd5b88f61606 | app/views/admin/users/index.html.erb | app/views/admin/users/index.html.erb | <table id="users_table">
<thead>
<tr>
<th><%= t('user_id') %></th>
<th><%= t('user_first_name') %></th>
<th><%= t('user_last_name') %></th>
<th><%= t('user_email') %></th>
<th><%= t('user_organisation') %></th>
<th><%= t('user_is_admin') %></th>
<th class="no-sort"></th>
... | <%= link_to 'Add user', new_admin_user_path, class: 'button' %>
<table id="users_table">
<thead>
<tr>
<th><%= t('user_id') %></th>
<th><%= t('user_first_name') %></th>
<th><%= t('user_last_name') %></th>
<th><%= t('user_email') %></th>
<th><%= t('user_organisation') %></th>
<th... | Add temporary button to add new user | Add temporary button to add new user
| HTML+ERB | mit | unepwcmc/epix,unepwcmc/epix,unepwcmc/epix |
ccaa0b1f1daa22e36708b49718cac397eb726be0 | app/views/comments/_comment.html.erb | app/views/comments/_comment.html.erb | <div id="comment-<%= comment.id %>" class="comment-box">
<p>
<strong> <%= comment.commenter %> </strong> on
<span class="twt-clr"> <%= comment.created_at.strftime("%b %d, %l:%M %p") %> </span> said:
</p>
<p>
<%= comment.body.html_safe %>
</p>
<% if admin? %>
<p>
<%= link_to 'delete', [... | <div id="comment-<%= comment.id %>" class="comment-box">
<p>
<% if admin? %>
<span class="">
<%= link_to '', [comment.post, comment],
method: :delete,
data: { confirm: 'Delete comment?' },
... | Edit delete button to be an icon in top right corner | Edit delete button to be an icon in top right corner
| HTML+ERB | mit | pratikmshah/myblog,pratikmshah/myblog,pratikmshah/myblog |
f5a3c0b222a2d3d4ab120e6807c7d6daa5f2f451 | app/views/food_trucks/index.html.erb | app/views/food_trucks/index.html.erb | <p id="notice"><%= notice %></p>
<h1>Listing Food Trucks</h1>
<% @food_trucks.each do |food_truck| %>
<h3><%= link_to food_truck.name, food_truck%></h3>
<span class="stars pull-right"><%= food_truck.rating %></span>
<p><%= food_truck.intersection %></p>
<% unless food_truck.phone == "0" %>
<a href="tel:<%... | <p id="notice"><%= notice %></p>
<h1>Listing Food Trucks</h1>
<% @food_trucks.each do |food_truck| %>
<h3><%= link_to food_truck.name, food_truck%></h3>
<span class="stars pull-right"><%= food_truck.rating %></span>
<p><%= food_truck.intersection %></p>
<% unless food_truck.phone == "0" %>
<a href="tel:<%... | Fix error when logged out | Fix error when logged out
| HTML+ERB | agpl-3.0 | adelq/pennfoodtrucks,adelq/pennfoodtrucks,adelq/pennfoodtrucks |
0e05e5a73730099ff11a6ec820e4bbe6b4276494 | app/views/confessions/_form.html.erb | app/views/confessions/_form.html.erb | <%= form_for(@confession, html: { :class => "form--confession"}) do |f| %>
<% if @confession.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@confession.errors.count, "error") %> prohibited this confession from being saved:</h2>
<ul>
<% @confession.errors.full_messages.each do |me... | <%= form_for(@confession, html: { :class => "form--confession"}) do |f| %>
<% if @confession.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@confession.errors.count, "error") %> prohibited this confession from being saved:</h2>
<ul>
<% @confession.errors.full_messages.each do |me... | Add correct form button text | Add correct form button text
| HTML+ERB | mit | kollegorna/badrumsbekannelser,kollegorna/badrumsbekannelser,kollegorna/badrumsbekannelser,kollegorna/badrumsbekannelser |
28a4c5c0ef07ff9ae872507f987a6abc6d9eb37f | app/views/mappings/_filters.html.erb | app/views/mappings/_filters.html.erb | <%= form_tag(site_mappings_path(@site), method: 'get', role: 'form', class: 'form-inline') do %>
<div class="form-group">
<%= label_tag :contains, class: 'control-label' do %>
Filter by path <% if params[:contains] and params[:contains].length > 0 %>(<%= link_to 'Remove filter', site_mappings_path(@site) %>... | <%= form_tag(site_mappings_path(@site), method: 'get', role: 'form', class: 'form') do %>
<div class="row">
<div class="col-md-6">
<%= label_tag :contains, class: 'control-label' do %>
Filter by path <% if params[:contains] and params[:contains].length > 0 %>(<%= link_to 'Remove filter', site_mappin... | Fix very short filter input in Firefox | Fix very short filter input in Firefox
* Rearrange order of wrappers, placing label in grid cell too and
removing form-group wrapper
* Convert filter from input to button for correct height, it seems
bootstrap 3 doesn’t like input type submit much,
http://stackoverflow.com/questions/18542343/is-there-a-way-a-aligning-... | HTML+ERB | mit | alphagov/transition,alphagov/transition,alphagov/transition |
7a501424094290b3bcc56adc6aaae28b636916fb | app/views/listings/edit.html.erb | app/views/listings/edit.html.erb | <%= form_for listing do |f| %>
<p>
Category: <% cat_array = categories.map {|c| c.title} %>
<%= select_tag(:category, options_for_select(cat_array) ) %>
</p>
<p>
<%= f.label "your email" %><br>
<%= f.text_field :owner_email %>
</p>
<p>
<%= f.label :title %><br>
<%= f.text_field :title ... | Add edit form with delete button. | Add edit form with delete button.
| HTML+ERB | mit | haileyR/Craigslist-Sr.,haileyR/Craigslist-Sr. | |
2e1d3186f6cd81cfd47942e809b5cdf6644ad84d | modules/unattended_upgrades/templates/50unattended-upgrades.erb | modules/unattended_upgrades/templates/50unattended-upgrades.erb | // Automatically upgrade packages from these (origin, archive) pairs
Unattended-Upgrade::Allowed-Origins {
"<%= @lsbdistid %> stable";
"<%= @lsbdistid %> <%= @lsbdistcodename %>-security";
// "<%= @lsbdistid %> <%= @lsbdistcodename %>-updates";
// "<%= @lsbdistid %> <%= @lsbdistcodename %>-pro... | // Automatically upgrade packages from these (origin, archive) pairs
Unattended-Upgrade::Allowed-Origins {
"<%= @lsbdistid %> stable";
"<%= @lsbdistid %> <%= @lsbdistcodename %>-security";
// "<%= @lsbdistid %> <%= @lsbdistcodename %>-updates";
// "<%= @lsbdistid %> <%= @lsbdistcodename %>-pro... | Upgrade emails should not go to 2nd-line list | Upgrade emails should not go to 2nd-line list
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
99427864b022c984948a3e17838e6bb3dd407cec | app/views/recipe/pickup.html.erb | app/views/recipe/pickup.html.erb |
<div class="container-narrow">
<div class="masthead">
<ul class="nav nav-pills pull-right">
<li class="active"><%= link_to '買い物リスト', 'shopping_list'%></li>
</ul>
<h3 class="muted"><%= @menu['recipeTitle'] %></h3>
</div>
<hr>
<h1>
<img src="<%= @menu['foodImageUrl'] %>" width="600px" hei... |
<div class="container-narrow">
<div class="masthead">
<ul class="nav nav-pills pull-right">
<li class="active"><%= link_to 'チェンジ!', 'shopping_list'%></li>
<li class="active"><%= link_to '買い物リスト', 'shopping_list'%></li>
</ul>
<h3 class="muted"><%= @menu['recipeTitle'] %></h3>
</div>
<hr>
... | Add button (link href is dummy) | Add button (link href is dummy)
| HTML+ERB | mit | terra-yucco/ruthenium,terra-yucco/ruthenium,terra-yucco/ruthenium |
737e46e4662f8a99a27d786bbd13944ac18c16f4 | app/views/trails/_river.html.erb | app/views/trails/_river.html.erb | <% @comments.each do |comment| %>
<div class="vote-container">
<% if current_user %>
<%= link_to image_tag("snowflake.png", class: "snowflake"), {:controller => "votes",
:action => "create",
:comment_id => comment.id,
:user_id => current_user.id,
:value => "1"},
... | <% @comments.each do |comment| %>
<div class="vote-container">
<% if current_user %>
<%= link_to image_tag("snowflake.png", class: "snowflake"), {:controller => "votes",
:action => "create",
:comment_id => comment.id,
:user_id => current_user.id,
:value => "1"},
... | Include logic to show Delete link | Include logic to show Delete link
| HTML+ERB | mit | zlschatz/Mountain-Chat-Rails-App,zlschatz/Mountain-Chat-Rails-App,zlschatz/Mountain-Chat-Rails-App |
fc77f08ddd34f4d511b7985ae4087396099d6445 | app/views/trails/_river.html.erb | app/views/trails/_river.html.erb | <% @comments.each do |comment| %>
<div class="vote-container">
<% if current_user %>
<%= link_to image_tag("snowflake.png", class: "snowflake"), {:controller => "votes",
:action => "create",
:comment_id => comment.id,
:user_id => current_user.id,
:value => "1"},
... | <% @comments.each do |comment| %>
<div class="vote-container">
<% if current_user %>
<%= link_to image_tag("snowflake.png", class: "snowflake"), {:controller => "votes",
:action => "create",
:comment_id => comment.id,
:user_id => current_user.id,
:value => "1"},
... | Include statement for no trail posts | Include statement for no trail posts
| HTML+ERB | mit | zlschatz/Mountain-Chat-Rails-App,zlschatz/Mountain-Chat-Rails-App,zlschatz/Mountain-Chat-Rails-App |
3a14e27aa04d8173dd9e0b61400f404bf20fee97 | partials/_about.html.erb | partials/_about.html.erb | <div class="inner">
<div class="overlay cg"></div>
<div id="about-description">
<div class="container">
<div class="description">
<p>學生的身分,對你而言代表著什麼?</p>
<p>
在日常生活中,你可曾有對資訊科學的憧憬,希望能認識更多同好、吸收新知?
或是已經憑藉自身技藝遨遊於天際,在尋找展現自己的舞台、分享實務經驗?
學生計算機年會能夠滿足你的一切!以學生為本、由學生自發舉辦,... | <div class="inner">
<div class="overlay cg"></div>
<div id="about-description">
<div class="container">
<div class="description">
<p>
「知行合一,學以致用」對求學階段的我們而言並不陌生;
然而跨出課業範疇,面對業界千奇百怪的問題與需求,又有多少人能真正發揮自己所學?
學校傳授的知識,又有多少能夠實際應用於生活中呢?
</p>
<p>
... | Update SITCON description with more friendly one | Update SITCON description with more friendly one | HTML+ERB | mit | sitcon-tw/2014 |
ff96362aaef3442ea9620885d5d8f12ed20356a4 | app/views/kaminari/blacklight_compact/_paginator.html.erb | app/views/kaminari/blacklight_compact/_paginator.html.erb | <%# This is copied from blacklight-5.5.3/app/views/kaminari/blacklight_compact/_paginator.html.erb
so we can add a aria-hidden="true" attribute around it. If that gets added into
Blacklight, this file can be removed -%>
<% if total_pages > 1 -%>
<%# #render checks if total_pages > 1, so we can't put our fallback
in... | <%# This is copied from blacklight-5.5.3/app/views/kaminari/blacklight_compact/_paginator.html.erb
so we can add a aria-hidden="true" attribute around it. If that gets added into
Blacklight, this file can be removed -%>
<% if total_pages > 1 -%>
<%# #render checks if total_pages > 1, so we can't put our fallback
in... | Remove aria-hidden from Previous, Page Count and Next pagination | Remove aria-hidden from Previous, Page Count and Next pagination
These `aria-hidden` flags were added explictly from the generated paginator. Per
our accessibility report, the elements should be readded. Likely this file can
be simply removed, in line with the comment at the top. I'm confirming that and
will follow up... | HTML+ERB | apache-2.0 | samvera/hyrax,samvera/hyrax,samvera/hyrax,samvera/hyrax |
12c60da355563ea34136cc36d5962c91dd114bb5 | app/views/request/_outgoing_correspondence.html.erb | app/views/request/_outgoing_correspondence.html.erb | <div class="outgoing correspondence box" id="outgoing-<%= outgoing_message.id.to_s %>">
<%- if not outgoing_message.user_can_view?(@user) %>
<%= render :partial => 'request/hidden_correspondence', :locals => { :message => outgoing_message }%>
<%- else %>
<%= render :partial => 'request/restricted_correspond... | <div class="outgoing correspondence box" id="outgoing-<%= outgoing_message.id.to_s %>">
<%- if not outgoing_message.user_can_view?(@user) %>
<%= render :partial => 'request/hidden_correspondence', :locals => { :message => outgoing_message }%>
<%- else %>
<%= render :partial => 'request/restricted_correspond... | Add link to mail logs from correspondence bubble | Add link to mail logs from correspondence bubble
Only allow site admins to view the link for now. The actual URL is
available to anyone, but shouldn't be readily found. This gives us a
little chance to check everything looks okay before we make public.
| HTML+ERB | agpl-3.0 | andreicristianpetcu/alaveteli,andreicristianpetcu/alaveteli,andreicristianpetcu/alaveteli,andreicristianpetcu/alaveteli,andreicristianpetcu/alaveteli_old,andreicristianpetcu/alaveteli_old,andreicristianpetcu/alaveteli_old,andreicristianpetcu/alaveteli_old,andreicristianpetcu/alaveteli,andreicristianpetcu/alaveteli_old |
9165ee64931d14532e1066549aad0c627d391c51 | data/export/bluepill/master.pill.erb | data/export/bluepill/master.pill.erb | Bluepill.application("<%= app %>", :foreground => false, :log_file => "/var/log/bluepill.log") do |app|
app.uid = "<%= user %>"
app.gid = "<%= user %>"
<% engine.each_process do |name, process| %>
<% 1.upto(engine.formation[name]) do |num| %>
<% port = engine.port_for(process, num) %>
app.process("<%= name %>... | Bluepill.application("<%= app %>", :foreground => false, :log_file => "/var/log/bluepill.log") do |app|
app.uid = "<%= user %>"
app.gid = "<%= user %>"
<% engine.each_process do |name, process| %>
<% 1.upto(engine.formation[name]) do |num| %>
<% port = engine.port_for(process, num) %>
app.process("<%= name %>... | Use %Q{} to allow commands with quotes | Use %Q{} to allow commands with quotes
I have this command in my Procfile: `sidekiq: bundle exec sidekiq -r "$(pwd)/app.rb"`. This generates an invalid ruby file. This commit uses %Q{} which allows for any combination of double quotes and single quotes. | HTML+ERB | mit | ariejan/foreman,sideci-sample/sideci-sample-foreman,rkachowski/foreman,ddollar/foreman,moreati/foreman,kyrylo/foreman,ddollar/foreman,addendumauto/foreman,addendumauto/foreman,kyrylo/foreman,yakovenkodenis/foreman,mfpiccolo/foreman,rkachowski/foreman,matschaffer/foreman,ariejan/foreman,mfpiccolo/foreman,sideci-sample/s... |
e0e160e59e02f875c8a72d5a8d0e7ef1eb0da3e1 | app/views/helpers/admin/resources/_sidebar.html.erb | app/views/helpers/admin/resources/_sidebar.html.erb | <div class="well" style="padding: 8px 0;">
<ul class="nav nav-list">
<% if params[:_from_parent] && @resource.typus_options_for(:hide_from_sidebar) %>
<li class="back_link">
<%= link_to params[:_from_parent] do %>
<i class="icon-arrow-left"></i>Back
<% end %>
</li>
<% else %>
... | <div class="well" style="padding: 8px 0;">
<ul class="nav nav-list">
<% if params[:_from_parent] && @resource.typus_options_for(:hide_from_sidebar) %>
<li class="back_link">
<%= link_to params[:_from_parent] do %>
<i class="icon-arrow-left"></i>Back
<% end %>
</li>
<% else %>
... | Remove 'active' class from custom actions in sidebar | Remove 'active' class from custom actions in sidebar
| HTML+ERB | mit | thirdthing/typus,thirdthing/typus,thirdthing/typus,thirdthing/typus |
ab671eafd58ed83c295966496e7cd8f9744d7a4b | app/views/questions/show.erb | app/views/questions/show.erb | <h1><%= @question.title %></h1>
<p><%= @question.body %></p>
<br>
<h2>Answers:</h2>
<% if @question.answers %>
<ul>
<% @question.answers.each do |answer| %>
<li><%= answer.text %></li>
<% end %>
</ul>
<% end %>
<% if @errors %>
<h4>Errors:</h4>
<ul>
<% @errors.each do |error| %>
<li style="colo... | <h1><%= @question.title %></h1>
<p><%= @question.body %></p>
<br>
<a href="/questions/<%= @question.id %>/edit">Edit Question</a>
<h2>Answers:</h2>
<% if @question.answers %>
<ul>
<% @question.answers.each do |answer| %>
<li><%= answer.text %></li>
<% end %>
</ul>
<% end %>
<% if @errors %>
<h4>Errors:</... | Add link to edit question | Add link to edit question
| HTML+ERB | mit | nyc-bumblebees-2017/therealbumblebees-stackoverflow,nyc-bumblebees-2017/therealbumblebees-stackoverflow,nyc-bumblebees-2017/therealbumblebees-stackoverflow |
22178a48685312f39a31d52432e62e18b28b1b2e | app/views/users/new.html.erb | app/views/users/new.html.erb | <div id="sign_up_form">
<%= form_for(:user, url: signup_path) do |f| %>
<%= f.label :username %>
<%= f.text_field :username %>
<%= f.label :password %>
<%= f.password_field :password %>
<%= f.label :password_confirmation %>
<%= f.password_field :password_confirmation %>
<%= f.label :first_name %>... | Create skeletal signup page for user | Create skeletal signup page for user
| HTML+ERB | mit | mxngyn/StoryVine,mxngyn/StoryVine,SputterPuttRedux/storyvine_clone,mxngyn/StoryVine,SputterPuttRedux/storyvine_clone,pearlshin/StoryVine,pearlshin/StoryVine,SputterPuttRedux/storyvine_clone,pearlshin/StoryVine | |
be948fcb3e71cdaae80112efa3d2352635f4c7e3 | app/views/users/new.html.erb | app/views/users/new.html.erb | <% content_for :title, "Create an Account" %>
<div class="user_new small-12 medium-6 large-6 columns">
<h2>Create an Account</h2>
<%= form_for :user, url: users_path do |f| %>
<%= render "shared/errors" %>
<%= f.label :username %>
<%= f.text_field :username %>
<%= f.label :email %>
<%= f.email_field... | <% content_for :title, "Create an Account" %>
<div class="user_new">
<div class="row">
<span class="small-12 medium-12 large-4 large-centered columns">
<h2>Create an Account</h2>
<%= form_for :user, url: users_path do |f| %>
<%= render "shared/errors" %>
<%= f.label :username %>
<%= f.text_field :username %... | Fix sign up page so div is centered with gray background filling width | Fix sign up page so div is centered with gray background filling width
| HTML+ERB | mit | chi-fiddler-crabs-2015/Photo-Plop,chi-fiddler-crabs-2015/Photo-Plop,chi-fiddler-crabs-2015/Photo-Plop |
f7a1331493b3a3df20b93e2a7d05ca644d16ceb4 | templates/list.html.erb | templates/list.html.erb | <html>
<head>
<title>Project '<%= project_name %>'</title>
</head>
<body>
<h1>Dependencies and licensing for project '<%= project_name %>' %>
</h1>
<table>
<tr>
<th>Gem</th>
<th>Version</th>
<th>Author</th>
<th>Summary</th>
<th>Description</th>
... | <html>
<head>
<title>Project '<%= project_name %>'</title>
</head>
<body>
<h1>Dependencies and licensing for project '<%= project_name %>'</h1>
<table>
<tr>
<th>Gem</th>
<th>Version</th>
<th>Author</th>
<th>Summary</th>
<th>Description</th>
<th>Li... | Remove the homepage column and just do it as a link | Remove the homepage column and just do it as a link
| HTML+ERB | mit | copyhacker/diligent |
ecd4585198ae22e9a02775ac2a7a27e13b02fa59 | source/blog/tag.html.erb | source/blog/tag.html.erb | ---
pageable: true
per_page: 12
---
<h1>Articles tagged '<%= tagname %>'</h1>
<% if paginate && num_pages > 1 %>
<p>Page <%= page_number %> of <%= num_pages %></p>
<% if prev_page %>
<p><%= link_to 'Previous page', prev_page %></p>
<% end %>
<% end %>
<ul>
<% page_articles.each_with_index do |article, i|... | ---
pageable: true
per_page: 12
---
<h1>Articles tagged “<%= tagname %>”</h1>
<% if paginate && num_pages > 1 %>
<p>Page <%= page_number %> of <%= num_pages %></p>
<% if prev_page %>
<p><%= link_to 'Previous page', prev_page %></p>
<% end %>
<% end %>
<ul>
<% page_articles.each_with_index do... | Use special quotes in Blog tag page | Use special quotes in Blog tag page
| HTML+ERB | mit | VoxelDavid/voxeldavid-website,vocksel/my-website,VoxelDavid/voxeldavid-website,vocksel/my-website |
e0cd189beac5d33d52f72722e3d87876920277ae | app/views/thredded/shared/nav/_notification_preferences.html.erb | app/views/thredded/shared/nav/_notification_preferences.html.erb | <% current = current_page_preferences? %>
<li class="thredded--user-navigation--settings thredded--user-navigation--item<%= ' thredded--is-current' if current %>">
<%= link_to current ? (messageboard ? messageboard_topics_path(messageboard) : messageboards_path)
: edit_preferences_path(messagebo... | <% current = current_page_preferences? %>
<li class="thredded--user-navigation--settings thredded--user-navigation--item<%= ' thredded--is-current' if current %>">
<%= link_to current ? (messageboard ? messageboard_topics_path(messageboard) : messageboards_path)
: edit_preferences_path(messagebo... | Add rel=nofollow to the preferences link | Add rel=nofollow to the preferences link
| HTML+ERB | mit | jayroh/thredded,thredded/thredded,thredded/thredded,thredded/thredded,jayroh/thredded,thredded/thredded,jayroh/thredded,jayroh/thredded |
a0ea190414a9515d41c33455254f75b7f4a05337 | exercises/space-age/.meta/generator/test_template.erb | exercises/space-age/.meta/generator/test_template.erb | require 'minitest/autorun'
require_relative '<%= exercise_name %>'
# Common test data version: <%= canonical_data_version %> <%= abbreviated_commit_hash %>
class <%= exercise_name_camel %>Test < Minitest::Test
# assert_in_delta will pass if the difference
# between the values being compared is less
# than the al... | require 'minitest/autorun'
require_relative '<%= exercise_name %>'
# Common test data version: <%= canonical_data_version %> <%= abbreviated_commit_hash %>
class <%= exercise_test_classname %> < Minitest::Test
# assert_in_delta will pass if the difference
# between the values being compared is less
# than the al... | Update template for class name | Update template for class name
| HTML+ERB | mit | Insti/xruby,NeimadTL/ruby,Insti/exercism-ruby,NeimadTL/ruby,exercism/xruby,Insti/exercism-ruby,NeimadTL/ruby,Insti/exercism-ruby,Insti/xruby,exercism/xruby |
0e1e7c3d825a7523550dc9744c38cf53717519d7 | app/views/my_modules/_state_button_uncomplete.html.erb | app/views/my_modules/_state_button_uncomplete.html.erb | <button class="btn btn-default">
<span class="fas fa-times"></span>
<%= t("my_modules.buttons.uncomplete") %>
</button> | <button class="btn btn-default">
<span class="fas fa-undo-alt"></span>
<%= t("my_modules.buttons.uncomplete") %>
</button> | Fix button icon for uncomplete task | Fix button icon for uncomplete task
| HTML+ERB | mpl-2.0 | Ducz0r/scinote-web,mlorb/scinote-web,Ducz0r/scinote-web,Ducz0r/scinote-web,mlorb/scinote-web,mlorb/scinote-web |
ecc2a444f4c6d1364b147967dc0bb74c29a42258 | app/views/admin/index.html.erb | app/views/admin/index.html.erb | <h1>Admininstrative Menu</h1>
<div><%= link_to 'Manage Events', events_path %></div>
<div><%= link_to 'Manage Scenarios', scenarios_path %></div>
<div><%= link_to 'Manage Users', users_path %></div>
<% if user_signed_in? && current_user.email = 'silbeg@gmail.com' %>
<%= debug ENV.to_h.to_yaml %>
<% end %>
| <h1>Admininstrative Menu</h1>
<div><%= link_to 'Manage Events', events_path %></div>
<div><%= link_to 'Manage Scenarios', scenarios_path %></div>
<div><%= link_to 'Manage Users', users_path %></div>
<% if user_signed_in? && current_user.email == 'silbeg@gmail.com' && params['show-env'] %>
<%= debug ENV.to_h.to... | Add param `show-env` to keep page cleaner | Add param `show-env` to keep page cleaner
| HTML+ERB | mit | Acerak2/registration,Acerak2/registration,Acerak2/registration,10000-Lakes-Gaming/registration,10000-Lakes-Gaming/registration,Acerak2/registration,10000-Lakes-Gaming/registration,10000-Lakes-Gaming/registration |
1525b32dd55e81894411494ba976053d35b615ea | app/views/albums/show.html.erb | app/views/albums/show.html.erb | <p>
<strong>Title:</strong>
<%= @album.title %>
</p>
<%= link_to 'Edit', edit_album_path(@album) %> |
<%= link_to 'Back', albums_path %>
| <div class="l-box">
<p>
<strong>Title:</strong>
<%= @album.title %>
</p>
<%#= link_to 'Edit', edit_album_path(@album) %> |
<%#= link_to 'Back', albums_path %>
</div>
| Add padding, do not show edit and back paths for now | Add padding, do not show edit and back paths for now
| HTML+ERB | mit | Margatroid/uploadstuffto.me,Margatroid/uploadstuffto.me |
c637937a57c8e47f9e12de6ade89ec4da7df030a | app/views/sessions/new.html.erb | app/views/sessions/new.html.erb | <div class="container">
<div class="row row-grid">
<div class="col-xs-12 col-md-6 offset-md-3">
<div class="page-title">
<h3>Log in</h3>
</div>
</div>
</div>
<div class="row row-grid">
<div class="col-xs-12 col-md-6 offset-md-3">
... | Create the sign up view template for the sessions controller | Create the sign up view template for the sessions controller
| HTML+ERB | mit | juanhenriquez/blog-app,juanhenriquez/blog-app,juanhenriquez/blog-app | |
6ad9ce777f3295ac2461db6dd1559b84b75ed29e | app/views/trails/index.html.erb | app/views/trails/index.html.erb | <div>
<h2>List of Trails</h2>
</div>
<% @trails.each do |trail| %>
<div>
<h3><%= link_to trail.name, trail_path(trail) %></h3>
</div>
<% end %>
<div class="go-back">
<h4><%= link_to '← Mountain List'.html_safe, root_path %></h4>
</div> | <div>
<h3><%= @mountain.name %> Trails</h3>
</div>
<% @trails.each do |trail| %>
<div>
<h3><%= link_to trail.name, trail_path(trail) %></h3>
</div>
<% end %>
<div class="go-back">
<h4><%= link_to '← Mountain List'.html_safe, root_path %></h4>
</div> | Include Mountain name on trail index | Include Mountain name on trail index
| HTML+ERB | mit | zlschatz/Mountain-Chat-Rails-App,zlschatz/Mountain-Chat-Rails-App,zlschatz/Mountain-Chat-Rails-App |
862701adfbd725c676875218f0aadde62fc9c264 | cookbooks/networking/templates/default/shorewall-rules.erb | cookbooks/networking/templates/default/shorewall-rules.erb | # DO NOT EDIT - This file is being maintained by Chef
SECTION NEW
# ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL RATE
# PORTS PORTS DEST LIMIT
<% @rules.each do |r| -%>
<%= r[:action] %> <%= r[:source] %> <%= r[:dest] %> <%= r[:proto] %> <%= r[:dest_ports] %> <%= r[:source_ports] %> - <%= r[:rate_limit] %... | # DO NOT EDIT - This file is being maintained by Chef
?SECTION NEW
# ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL RATE
# PORTS PORTS DEST LIMIT
<% @rules.each do |r| -%>
<%= r[:action] %> <%= r[:source] %> <%= r[:dest] %> <%= r[:proto] %> <%= r[:dest_ports] %> <%= r[:source_ports] %> - <%= r[:rate_limit] ... | Add leading ? to SECTION line in shorewall rules | Add leading ? to SECTION line in shorewall rules
| HTML+ERB | apache-2.0 | zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,Firefishy/chef,gravitystorm/chef,gravitystorm/chef,Firefishy/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,Firefishy/chef,Firefishy/chef,Firefishy/chef,gravitystorm/chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-... |
473e3ac5cefe1a10ae4ab79f03a6f539e1ed2aa1 | lib/smart_answer_flows/marriage-abroad/outcomes/outcome_same_sex_marriage_and_civil_partnership_not_possible.govspeak.erb | lib/smart_answer_flows/marriage-abroad/outcomes/outcome_same_sex_marriage_and_civil_partnership_not_possible.govspeak.erb | <% content_for :title do %>
Same-sex marriage and civil partnership in <%= calculator.country_name_lowercase_prefix %>
<% end %>
<% content_for :body do %>
<% if calculator.ceremony_country == 'gibraltar' %>
Gibraltar is a British overseas territory.
Contact the Gibraltar Government to find out about gett... | <% content_for :title do %>
Same-sex marriage and civil partnership in <%= calculator.country_name_lowercase_prefix %>
<% end %>
<% content_for :body do %>
It’s not possible to get legal recognition for your same-sex relationship in <%= calculator.country_name_lowercase_prefix %>.
<% end %>
| Update same sex not possible outcome | Update same sex not possible outcome
I've removed the logic and content related to ceremonies in Gibraltar.
This diff is best viewed using the `--ignore-all-space` option.
| HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,stwalsh/smart-answers,stwalsh/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,stwalsh/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,stwalsh/smart-answers,aledelcueto/smart-answers |
6e960c9cf0152ac87dd75fb9bab6bd0266133ca9 | app/views/development/index.html.erb | app/views/development/index.html.erb | <% content_for :title, "Finder Frontend" %>
<%= render "govuk_publishing_components/components/title", title: "Finder Frontend" %>
<%= render "govuk_publishing_components/components/govspeak" do %>
<p>This page is only visible in development and Heroku.</p>
<p>The following pages are rendered by this application... | <% content_for :title, "Finder Frontend" %>
<%= render "govuk_publishing_components/components/title", title: "Finder Frontend" %>
<%= render "govuk_publishing_components/components/govspeak" do %>
<p>This page is only visible in development and Heroku.</p>
<p>The following pages are rendered by this application... | Add "Get ready for Brexit questions" to development index | Add "Get ready for Brexit questions" to development index
This page was previously not showing as it is a special route and not on
the whitelist [1] for search-api.
As this page is likely the most frequently reviewed page of Finder
Frontend I've put it to the top of the list for convenience.
[1]: https://github.com/... | HTML+ERB | mit | alphagov/finder-frontend,alphagov/finder-frontend,alphagov/finder-frontend,alphagov/finder-frontend |
c58ae2b825ce39cf6491af0d94bb0398d6f4fee6 | frontend/app/views/spree/shared/_main_nav_bar.html.erb | frontend/app/views/spree/shared/_main_nav_bar.html.erb | <nav id="main-nav-bar" class="navbar">
<ul class="nav" data-hook>
<li id="home-link" class="nav-item" data-hook>
<%= link_to Spree.t(:home), spree.root_path, class: 'nav-link' %>
</li>
</ul>
<ul class="nav" data-hook>
<li id="link-to-cart" class="nav-item" data-hook>
<noscript>
<%=... | <nav id="main-nav-bar" class="navbar">
<ul class="nav" data-hook>
<li id="home-link" class="nav-item" data-hook>
<%= link_to Spree.t(:home), spree.root_path, class: 'nav-link' %>
</li>
</ul>
<ul class="nav navbar-right" data-hook>
<li id="link-to-cart" class="nav-item" data-hook>
<noscript... | Bring back .navbar-right class for deface overrides from spree_i18n. | Bring back .navbar-right class for deface overrides from spree_i18n.
| HTML+ERB | bsd-3-clause | ayb/spree,imella/spree,imella/spree,ayb/spree,ayb/spree,imella/spree,ayb/spree |
d974aee0a9112d3411f8ef02f6c75dd9e31c9fae | source/partials/_members.erb | source/partials/_members.erb | <section id="members" class="anchor">
<div class="content">
<p><%= t("members.text", :link => link_to(t("members.link"), i18n_path('/supporters.html'))) %> </p>
</div>
</section>
| <section id="members" class="anchor" aria-label="foo">
<h2 class="sr-only"><%= t("supporters.title") %></h2>
<div class="content">
<p><%= t("members.text", :link => link_to(t("members.link"), i18n_path('/supporters.html'))) %> </p>
</div>
</section>
| Add hidden heading to the members section | Add hidden heading to the members section
| HTML+ERB | mit | support-antoine/support-antoine.github.io,support-antoine/support-antoine.github.io,support-antoine/support-antoine.github.io |
0984baf7d73fd6802b3dbf2a5e7ac0007e574082 | docker/monitrc.erb | docker/monitrc.erb | set daemon 120
set logfile /var/log/monit.log
set idfile /var/lib/monit/id
set statefile /var/lib/monit/state
set eventqueue
basedir /var/lib/monit/events
slots 100
check process puma
with pidfile /var/run/puma.pid
start program = "/usr/local/bundle/bin/puma --config /app/docker/puma_config.rb"
stop program ... | set daemon 120
set logfile /var/log/monit.log
set idfile /var/lib/monit/id
set statefile /var/lib/monit/state
set eventqueue
basedir /var/lib/monit/events
slots 100
<%= ENV['MONIT_MAILSERVER'] %>
check process puma
with pidfile /var/run/puma.pid
start program = "/usr/local/bundle/bin/puma --config /app/docker... | Set monit mailserver from environment variable. | Set monit mailserver from environment variable.
| HTML+ERB | mit | mmb/meme_captain_web,mmb/meme_captain_web,mmb/meme_captain_web,mmb/meme_captain_web |
e6fdd138d096ff2361c357247096e4946246df55 | cookbooks/web/templates/default/logrotate.web.erb | cookbooks/web/templates/default/logrotate.web.erb | # DO NOT EDIT - This file is being maintained by Chef
<%= node[:web][:log_directory] %>/*.log {
daily
missingok
rotate 7
compress
delaycompress
notifempty
create 0660 rails rails
sharedscripts
postrotate
<% if File.directory?("#{node[:web][:base_directory]}/rails") -%>
PASSENGER_INSTANCE_REGISTRY... | # DO NOT EDIT - This file is being maintained by Chef
<%= node[:web][:log_directory] %>/*.log {
daily
missingok
rotate 7
compress
delaycompress
notifempty
create 0660 rails rails
sharedscripts
postrotate
<% if File.directory?("#{node[:web][:base_directory]}/rails") -%>
/bin/sleep 30
PASSENGER... | Add a short delay when rotating passenger logs | Add a short delay when rotating passenger logs
If the machine is idle then we may try and rotate the passenger
logs very quickly after the apache logs, in which case apache can
still be reloading which breaks the passenger log rotation.
| HTML+ERB | apache-2.0 | tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,tomhug... |
d83c007db8ada4e444d94b1dd5fc2a222f4ce3a3 | app/views/devise/registrations/new.html.erb | app/views/devise/registrations/new.html.erb | <form class="form-horizontal">
<fieldset>
<legend>Sign up</legend>
<div class="control-group">
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %>
<%= devise_error_messages! %>
<div>
... | <legend>Sign up</legend>
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %>
<%= devise_error_messages! %>
<div>
<div><%= f.label :email %>*<br />
<%= f.email_field :email %>
</div>
<div>
<%= f.label :phone %><br />
... | Remove form within a form on new user reg page | Remove form within a form on new user reg page
| HTML+ERB | bsd-3-clause | codeforamerica/prepared.ly,aaron-wagner/preparedly,aaron-wagner/preparedly,codeforamerica/prepared.ly,cityofaustin/preparedly,cityofaustin/preparedly,cityofaustin/preparedly,aaron-wagner/preparedly |
f705fe10eb81dbfde49d6be49c2a1369b30db884 | app/views/petitions/create/_your_details_ui.html.erb | app/views/petitions/create/_your_details_ui.html.erb | <%= f.submit raw('◀ Back'), :name => 'move:back', :class => 'back-page' %>
<h1 class="page-title">Sign your petition</h1>
<h2 class="page-subtitle"><%= petition.action %></h2>
<%= render 'petitions/create/error_summary', f: f %>
<%= f.fields_for :creator_signature, petition.creator_signature do |csf| %>
<%= ... | <%= f.submit raw('◀ Back'), :name => 'move:back', :class => 'back-page' %>
<h1 class="page-title">Sign your petition</h1>
<h2 class="page-subtitle"><%= petition.action %></h2>
<%= render 'petitions/create/error_summary', f: f %>
<%= f.fields_for :creator_signature, petition.creator_signature do |csf| %>
<%= ... | Create petition -- use div instead of section | Create petition -- use div instead of section
section must have a heading
| HTML+ERB | mit | unboxed/e-petitions,StatesOfJersey/e-petitions,alphagov/e-petitions,alphagov/e-petitions,unboxed/e-petitions,oskarpearson/e-petitions,unboxed/e-petitions,joelanman/e-petitions,joelanman/e-petitions,joelanman/e-petitions,unboxed/e-petitions,StatesOfJersey/e-petitions,StatesOfJersey/e-petitions,StatesOfJersey/e-petitions... |
7fe9335cff89546af3089c62ba1abf47747ba003 | lib/irust/template.rs.erb | lib/irust/template.rs.erb | #[feature(globs, macro_rules, struct_variant)];
extern mod extra;
fn main() {
fn type_of<T>(_: &T) -> &'static str {
unsafe {
(*std::unstable::intrinsics::get_tydesc::<T>()).name
}
} struct Foo<T>(T);
<%= history %>;
<% if let_var %>
<%= rust_code %>;
println!("<%= let_var%> = {:?} : {:s}... | #[feature(globs, macro_rules, struct_variant)];
extern mod extra;
fn type_of<T>(_: &T) -> &'static str {
unsafe { (*std::unstable::intrinsics::get_tydesc::<T>()).name }
}
fn main() {
<%= history %>;
<% if let_var %>
<%= rust_code %>;
println!("<%= let_var%> = {:?} : {:s}", <%= let_var %>, type_of(&<%= le... | Clean up Rust code template | Clean up Rust code template
Derp, what the crap was going on in there? o_O
| HTML+ERB | mit | tarcieri/irust,tarcieri/irust |
43eb921ae5f7236ec622dee806585417d6194594 | source/layouts/blog-layout.erb | source/layouts/blog-layout.erb | <% wrap_layout :layout do %>
<article class='article-detail'>
<h2 class='detail-post-title'><%= current_article.title %></h2>
<h3 class='detail-post-date'><%= current_article.date.strftime('%b %e') %></h3>
<% if current_page.data.soundcloud_id %>
<section class='soundcloud-player-big'>
... | <% wrap_layout :layout do %>
<article class='article-detail'>
<h4 class='detail-post-date'><%= current_article.date.strftime('%b %e') %></h3>
<h2 class='detail-post-title'><%= current_article.title %></h2>
<h3 class='detail-post-topic-list'><%= current_article.data.topic_list %></h3>
<% if curren... | Add topic list to details blog layout | Add topic list to details blog layout
| HTML+ERB | mit | vis-kid/betweenscreens,vis-kid/betweenscreens,vis-kid/betweenscreens |
df0e53d33cacdd0df9c8bea2e141ab32b0b6368a | templates/default/uwsgi/config.ini.erb | templates/default/uwsgi/config.ini.erb | [uwsgi]
# Bind to the specified UNIX/TCP socket using default protocol
<% if @use_tcp -%>
socket = <%= @tcp_socket %>
<% else -%>
socket = <%= @unix_socket %>
# Change socket permissions so Nginx can talk with uWSGI
chmod-socket = 666
<% end -%>
# chdir to specified directory before apps loading
chd... | [uwsgi]
# Bind to the specified UNIX/TCP socket using default protocol
<% if @use_tcp -%>
socket = <%= @tcp_socket %>
<% else -%>
socket = <%= @unix_socket %>
# Change socket permissions so Nginx can talk with uWSGI
chmod-socket = 666
<% ... | Update tabulation of key/value columns | Update tabulation of key/value columns
| HTML+ERB | apache-2.0 | tandiljuan/cookbook-ngxmgdbpy,tandiljuan/cookbook-ngxmgdbpy,tandiljuan/cookbook-ngxmgdbpy,tandiljuan/cookbook-ngxmgdbpy |
2fa49633a1c1a13bcd5be5edc0699bc257d7b6f1 | cookbooks/bcpc/templates/default/checks/nova.yml.erb | cookbooks/bcpc/templates/default/checks/nova.yml.erb | ---
tenant: <%=@node['bcpc']['admin_tenant']%>
user: '<%="#{get_config('keystone-test-user')}"%>'
password: '<%="#{get_config('keystone-test-password')}"%>'
auth_url: https://<%="#{node[:bcpc][:management][:vip]}"%>:5000/v2.0/
| ---
tenant: <%=@node['bcpc']['admin_tenant']%>
user: '<%="#{get_config('keystone-test-user')}"%>'
password: '<%="#{get_config('keystone-test-password')}"%>'
auth_url: https://<%="#{node[:bcpc][:management][:vip]}"%>:5000/v2.0/
timeout: 300 | Extend timeout on nova functional test | Extend timeout on nova functional test
| HTML+ERB | apache-2.0 | leochen4891/chef-bach,bloomberg/chef-bcpc,kelvk/chef-bcpc,cloudm2/chef-bcpc,DrRayWang/chef-bach,semenovroman/chef-bcpc,DrRayWang/Chef-Base,DrRayWang/Chef-Base,NinjaLabib/chef-bach,mihalis68/chef-bcpc,http-418/chef-bach,bijugs/chef-bach,kiiranh/chef-bach,cbaenziger/chef-bach,jrossi/chef-bcpc,bijugs/chef-bach,caiush/bos,... |
eaafc71507c603f77d5698256604480d217032ee | app/views/mail_conversations/_sentboxList.html.erb | app/views/mail_conversations/_sentboxList.html.erb | <div id="outboxTitle">
<h2>Outbox</h2>
</div>
<br>
<br>
<div class = "mailList" >
<ul>
<% @mailbox_conversations.each do |email| %>
<div class = "mailItem">
<li>
<%= check_box_tag 'email_ids[]', email.id -%>
<%= link_to email.subject, mail_conversation_path(email)%>
<%= email.... | <div id="outboxTitle">
<h2>Outbox</h2>
</div>
<br>
<br>
<div class = "mailList" >
<% if @mailbox_conversations.count <= 0 %>
<p>
"Empty Outbox"
</p>
<% else %>
<ul>
<form action="/mail_conversations/trashing" method="post">
<% @mailbox_conversations.each do |email| %>
<div class = "mailItem">... | Create trashing route for checkboxes in the outbox folder. | Create trashing route for checkboxes in the outbox folder.
| HTML+ERB | mit | erinc35/GuideMe,erinc35/GuideMe,erinc35/GuideMe |
0562ea8ffe594d30673aef64d96c5be82ad8aa1c | modules/ci_environment/templates/etc/fail2ban/jail.local.erb | modules/ci_environment/templates/etc/fail2ban/jail.local.erb | # This file is managed by Puppet
# Fail2Ban configuration file, overrides options set in jail.conf
[DEFAULT]
# "ignoreip" can be an IP address, a CIDR mask or a DNS host. Fail2ban
# will not ban a host which matches an address in this list. Several
# addresses can be defined using space separator.
ignoreip = <%= white... | # This file is managed by Puppet
# Fail2Ban configuration file, overrides options set in jail.conf
[DEFAULT]
# "ignoreip" can be an IP address, a CIDR mask or a DNS host. Fail2ban
# will not ban a host which matches an address in this list. Several
# addresses can be defined using space separator.
ignoreip = <%= @whit... | Fix warning from template not using @ variable. | Fix warning from template not using @ variable.
This was causing the following warning when running:
Variable access via 'whitelist_ips' is deprecated. Use '@whitelist_ips' instead.
template[/tmp/vagrant-puppet/modules-23039c89beb50fcef185f61334e7b97e/ci_environment/templates/etc/fail2ban/jail.local.erb]:8
| HTML+ERB | mit | alphagov/ci-puppet,alphagov/ci-puppet,alphagov/ci-puppet,alphagov/ci-puppet |
c73cb780cfb76e9ebd115524203820326b6eadf7 | backend/app/views/spree/admin/promotions/rules/_item_total.html.erb | backend/app/views/spree/admin/promotions/rules/_item_total.html.erb | <div class="card-body">
<div class="row mb-0">
<div class="form-group col-6 mb-3">
<%= select_tag "#{param_prefix}[preferred_operator_min]", options_for_select(Spree::Promotion::Rules::ItemTotal::OPERATORS_MIN.map{|o| [Spree.t("item_total_rule.operators.#{o}"),o]}, promotion_rule.preferred_operator_min), { ... | <div class="card-body">
<div class="row mb-0">
<div class="form-group col-6 mb-3">
<%= select_tag "#{param_prefix}[preferred_operator_min]", options_for_select(Spree::Promotion::Rules::ItemTotal::OPERATORS_MIN.map{|o| [Spree.t("item_total_rule.operators.#{o}"),o]}, promotion_rule.preferred_operator_min), { ... | Swap select2 for bootstrap custom-select. | Swap select2 for bootstrap custom-select.
| HTML+ERB | bsd-3-clause | imella/spree,imella/spree,imella/spree |
e788b693803d11fc2c0ad86a0060eca9ca5e1bb7 | TestApp/app/views/users/show.html.erb | TestApp/app/views/users/show.html.erb | <p id="notice"><%= notice %></p>
<p>
<strong>Name:</strong>
<span class="rest-in-place"
data-url=<%= url_for(@user) %>
data-object="user"
data-attribute="name">
<%= @user.name %>
</span>
</p>
<p class="rest-in-place-slider">
<strong>Age:</strong>
<%= @user.age %>
</p>
<%= link_t... | <p id="notice"><%= notice %></p>
<p>
<strong>Name:</strong>
<span class="rest-in-place"
data-url=<%= url_for(@user) %>
data-object="user"
data-attribute="name">
<%= @user.name %>
</span>
</p>
<p class="rest-in-place-slider">
<strong>Age:</strong>
<span class="rest-in-place"
... | Fix rip slider markup in test app. | Fix rip slider markup in test app.
| HTML+ERB | mit | bsingr/rest_in_place_bootstrap_slider,bsingr/rest_in_place_bootstrap_slider |
9fda3e1862d998bb000ce2a4972ad79cfe18dbd8 | source/_header.html.erb | source/_header.html.erb | <header id="header">
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
... | <header id="header">
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
... | Remove hidden link and add back to dialog | Remove hidden link and add back to dialog
| HTML+ERB | mit | dialoganalytics/dialog-docs,dialoganalytics/dialog-docs,dialoganalytics/dialog-docs |
2c4a4ec5ac020a52e0ec2c0da262ff4969515652 | app/assets/javascripts/refinery/subregion-select.js.coffee.erb | app/assets/javascripts/refinery/subregion-select.js.coffee.erb | $ ->
$('select#retailer_country_code').change (event) ->
select_wrapper = $('#retailer_state_code_wrapper')
$('select', select_wrapper).attr('disabled', true)
country_code = $(this).val()
url = "/<%= Refinery::Core.backend_route %>/retailers/subregion_options?parent_region=#{country_code}"
sele... | Fix subregion-select path for ajax : add missing file | Fix subregion-select path for ajax : add missing file
| HTML+ERB | mit | bisscomm/refinerycms-retailers,bisscomm/refinerycms-retailers | |
2e270dde1366aca12a89c3e8d703224c437badf7 | app/views/application/_links.html.erb | app/views/application/_links.html.erb |
<%- if current_user %>
<%= link_to "Sign out", :destroy_user_session, class: "btn btn-default btn-links", role: "button" %>
<%- if controller_name != 'registrations' %>
<%= link_to "Update account", :edit_user_registration, class: "btn btn-default btn-links", role: "button" %>
<% end %>
<% end -%>
<% if def... | Add missing erb partial for rendering buttons for links to other account service actions. | 5829: Add missing erb partial for rendering buttons for links to other account
service actions.
| HTML+ERB | mit | curoverse/sso-devise-omniauth-provider,wtsi-hgi/sso-devise-omniauth-provider,wtsi-hgi/sso-devise-omniauth-provider,curoverse/sso-devise-omniauth-provider,wtsi-hgi/sso-devise-omniauth-provider,wtsi-hgi/sso-devise-omniauth-provider,curoverse/sso-devise-omniauth-provider,curoverse/sso-devise-omniauth-provider | |
542181b06299662cba83e013bee55e50d8c9fb4c | app/views/expensesheets/edit.html.erb | app/views/expensesheets/edit.html.erb | <h3>Update your expenses!</h3>
<div class="large-4 columns">
<%= form_tag(expensesheet_path(current_user), method: "PATCH") do %>
<span data-tooltip aria-haspopup="true" class="has-tip" title="ie: rent, money to grandma for putting a roof over your head">Housing</span>
<%= text_field_tag 'expense[Housing]', @expe... | <h3>Update your expenses!</h3>
<div class="large-4 columns">
<%= form_tag(expensesheet_path(current_user), method: "PATCH") do %>
<span data-tooltip aria-haspopup="true" class="has-tip" title="ie: rent, money to grandma for putting a roof over your head">Housing</span>
<%= text_field_tag 'expense[Housing]', @expe... | Edit submit button for working edit expenses | Edit submit button for working edit expenses
| HTML+ERB | mit | nyc-cicadas-2015/Can-I-Afford-This,nyc-cicadas-2015/Can-I-Afford-This,nyc-cicadas-2015/Can-I-Afford-This |
f5151923f7b14cd9ccdf3be78ec5e9a9d5d5fa32 | app/views/spree/shared/_head.html.erb | app/views/spree/shared/_head.html.erb | <meta charset="utf-8">
<title><%= title %></title>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<meta name="viewport" content="initial-scale=1, minimal-ui, user-scalable=no">
<%== meta_data_tags %>
<%= canonical_tag %>
<%= favicon_link_tag image_path('favicon.ico') %>
<%= stylesheet_link_tag 's... | <meta charset="utf-8">
<title><%= title %></title>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<meta name="viewport" content="initial-scale=1, minimal-ui, user-scalable=no">
<%== meta_data_tags %>
<%= canonical_tag %>
<%= favicon_link_tag image_path('favicon.ico') %>
<%= stylesheet_link_tag 's... | Move js up a line in head | Move js up a line in head
| HTML+ERB | bsd-3-clause | human-nyc/spree_newyorksunshine,dhiraj28691/spree_newyorksunshine,michaelburtonray/spree_newyorksunshine,michaelburtonray/spree_newyorksunshine,human-nyc/spree_newyorksunshine,dhiraj28691/spree_newyorksunshine,michaelburtonray/spree_newyorksunshine,human-nyc/spree_newyorksunshine,dhiraj28691/spree_newyorksunshine |
43f0740e10e7352ad871664ebdbaebfc5425dbee | app/views/articles/index.html.erb | app/views/articles/index.html.erb | <h1>All Articles</h1>
<ul id="articles">
<% @articles.each do |article| %>
<li>
<%= link_to article.title, article_path(article), class: "article_title" %>
</li>
<% end %>
</ul>
<%= link_to "Create a New Article", new_article_path, class: "new_article"%>
| <h1>All Articles</h1>
<ul id="articles">
<% @articles.each do |article| %>
<li>
<%= link_to article.title, article_path(article), class: "article_title" %>
</li>
<% end %>
</ul>
<%= link_to "Create a New Article", new_article_path, class: "new_article"%> | Remove newline as a frivolous commit to clean working directory | Remove newline as a frivolous commit to clean working directory
| HTML+ERB | mit | xenochrysalis/shippers_bay_fandom_blogger,eksmith/shippers_bay_fandom_blogger,xenochrysalis/shippers_bay_fandom_blogger,eksmith/shippers_bay_fandom_blogger,xenochrysalis/shippers_bay_fandom_blogger,eksmith/shippers_bay_fandom_blogger |
c514c3601e68313cc013caf500a2c8f370d7835d | app/views/projects/index.html.erb | app/views/projects/index.html.erb | <%= navigation true %>
<ul class="navigation">
<li><%= link_to "Witchifier", witchifier_path %></li>
<li><a target="_blank" href="http://void-server.herokuapp.com/">Void</a></li>
</ul> | <%= navigation true %>
<ul class="navigation">
<li><%= link_to "Witchifier", witchifier_path %></li>
<li><a target="_blank" href="http://void-server.herokuapp.com/">Void</a></li>
<li><a target="_blank" href="http://linkedin365.morgan.io">A Year At LinkedIn</a></li>
</ul> | Add link to A Year at Linkedin in projects page | Add link to A Year at Linkedin in projects page | HTML+ERB | mit | mhgbrown/website,mhgbrown/website,mhgbrown/website |
ac01c0706d0a7b92b0544735b7b28a02aeee20b8 | app/views/shared/_search.html.erb | app/views/shared/_search.html.erb | <form action="<%= main_app.search_results_path %>" method="get" role="search" class="search">
<label class="visually-hidden"><%= t('search_box.label') %></label>
<input class="search__input" type="search" name="query" value="<%= params[:query] %>" placeholder="<%= t('search_box.placeholder') %>"/>
<button class="... | <form action="<%= main_app.search_results_path %>" method="get" role="search" class="search">
<label class="visually-hidden" for="search"><%= t('search_box.label') %></label>
<input class="search__input" id="search" type="search" name="query" value="<%= params[:query] %>" placeholder="<%= t('search_box.placeholder'... | Add missing for/id to search box | Add missing for/id to search box | HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
b076ef53e0d99ed2b741d58ec5d6b6302e57e0ec | cookbooks/backup/templates/default/expire.cron.erb | cookbooks/backup/templates/default/expire.cron.erb | #!/bin/sh
# DO NOT EDIT - This file is being maintained by Chef
for prefix in chef-server chef-repository chef-git forum git lists munin osm-blog osm-donate osmf-crm osmf-ledgersmb wiki-wiki.osmfoundation.org osqa otrs sotm svn switch2osm trac wiki-board.osmfoundation.org wiki-dwg.osmfoundation.org wiki-wiki.openstre... | #!/bin/sh
# DO NOT EDIT - This file is being maintained by Chef
for prefix in chef-server chef-repository chef-git forum git lists munin osm-blog osm-donate osmf-crm osmf-ledgersmb wiki-wiki.osmfoundation.org osqa otrs sotm svn switch2osm trac wiki-board.osmfoundation.org wiki-dwg.osmfoundation.org wiki-wiki.openstre... | Expire archived logs after 180 days | Expire archived logs after 180 days
| HTML+ERB | apache-2.0 | Firefishy/chef,zerebubuth/openstreetmap-chef,Firefishy/chef,tomhughes/openstreetmap-chef,Firefishy/chef,zerebubuth/openstreetmap-chef,Firefishy/chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,Firefishy/chef,Firefishy/chef,tomhughes/openstreetmap-chef,tomh... |
3476dc207ee261eeea9013f62fcfd55be56b1a14 | cookbooks/tile/templates/default/logrotate.apache.erb | cookbooks/tile/templates/default/logrotate.apache.erb | # DO NOT EDIT - This file is being maintained by Chef
/var/log/apache2/*.log {
daily
size 1G
missingok
rotate 52
compress
delaycompress
notifempty
create 640 root adm
sharedscripts
postrotate
/usr/bin/service apache2 reload > /dev/null 2>&1
endscript
}
| # DO NOT EDIT - This file is being maintained by Chef
/var/log/apache2/*.log {
daily
size 1G
missingok
rotate 52
compress
delaycompress
notifempty
create 640 root adm
sharedscripts
postrotate
/bin/systemctl reload apache2
endscript
}
| Fix tile server log rotation | Fix tile server log rotation
| HTML+ERB | apache-2.0 | openstreetmap/chef,gravitystorm/chef,Firefishy/chef,Firefishy/chef,gravitystorm/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,Firefishy/chef,Firefishy/chef,gravitystorm/chef,Firefishy/chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,Fire... |
c445d0dc1f922193ac8b97793a03ffd622339d18 | cli-tunnel.html.md.erb | cli-tunnel.html.md.erb | ---
title: CLI Tunneling
---
<p class="note">Note: Applies to CLI v2.</p>
CLI supports tunneling all of its traffic (HTTP and SSH) through a SOCKS 5 proxy specified via `BOSH_ALL_PROXY` environment variable. (Custom environment variable was chosen instead of using `all_proxy` environment variable to avoid accidently ... | ---
title: CLI Tunneling
---
<p class="note">Note: Applies to CLI v2.</p>
CLI supports tunneling all of its traffic (HTTP and SSH) through a SOCKS 5 proxy specified via `BOSH_ALL_PROXY` environment variable. (Custom environment variable was chosen instead of using `all_proxy` environment variable to avoid accidently ... | Add -4 option to fix IPv6 problems | Add -4 option to fix IPv6 problems
Added the `-4` option to the SSH command to avoid the `bind: Cannot assign requested address` on modern systems that try to listen on the IPv6 address `::1` | HTML+ERB | apache-2.0 | cloudfoundry/docs-bosh |
6dcbcad6242b29b4b47e747e9ea988a8449edf34 | app/views/projects/_project.erb | app/views/projects/_project.erb | <div class="project-teaser card col s12 m4 l3">
<div class="card-content">
<span class="title card-title"><%= link_to project.title, project_path(project)%></span>
<p><%= project.description %></p>
<p>Project Lead: <%= project.creator.username %></p>
<p>City: <%= project.creator.location %></p>
<div ... | <div class="project-teaser card col s12 m4 l3">
<div class="card-content">
<span class="title card-title"><%= link_to project.title, project_path(project)%> </span>
(<p>Location: <%= project.creator.city %>, <%= project.creator.state %></p>)
<p><%= project.description %></p>
<p>Project Lead: <%= proje... | Add city and state to view | Add city and state to view
| HTML+ERB | mit | nyc-bumblebees-2015/the-hive,Jguzik83/the-hive,AlinaJahnes/the-hive,AlinaJahnes/the-hive,nyc-bumblebees-2015/the-hive,ChristineSchatz/the-hive,nyc-bumblebees-2015/the-hive,ChristineSchatz/the-hive,Jguzik83/the-hive,AlinaJahnes/the-hive,ChristineSchatz/the-hive,Jguzik83/the-hive |
a9dde6309659ec22a1e1dc7ea132587f4e58164f | app/views/shared/_head.html.erb | app/views/shared/_head.html.erb | <title>Student Insights</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,300' rel='stylesheet' type='text/css'>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => false %>
<link rel="apple-touch-icon" href="/icon.png"/>
<%= content_tag('div', '', id: 'env-for-js... | <title>Student Insights: <%= PerDistrict.new.district_name %></title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,300' rel='stylesheet' type='text/css'>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => false %>
<link rel="apple-touch-icon" href="/icon.png"/>
<%= ... | Add district name to HTML head tag | Add district name to HTML head tag
| HTML+ERB | mit | studentinsights/studentinsights,studentinsights/studentinsights,studentinsights/studentinsights,studentinsights/studentinsights |
cab52c63cb642cb13e586eab357a88a24b11122e | app/views/posts/show.html.erb | app/views/posts/show.html.erb | <h2><%= @post.title %> - <%= @post.address %></h2>
<h4><%= @post.content %></h4>
<h3>Comments</h3>
<ul>
<% @post.comments.each do |comment| %>
<li><strong><%= comment.user.user_name %></strong> says <%= comment.content %></li>
<% end %>
</ul>
<%= link_to "Add Comment", new_post_comment_path(@post) %> | <h2><%= @post.title %> - <%= @post.address %></h2>
<h4><%= @post.content %></h4>
<h3>Comments</h3>
<ul>
<% @post.comments.each do |comment| %>
<li><strong><%= comment.user.user_name %></strong> says <%= comment.content %></li>
<%= link_to 'upvote', upvote_comment_path(comment), method: :put%>
<%= link_... | Add links to vote on comments | Add links to vote on comments
| HTML+ERB | mit | rock-doves-2014/LunchOverflow,rock-doves-2014/LunchOverflow |
702f719558b5995a61a167822e9b31313a018394 | app/views/users/show.html.erb | app/views/users/show.html.erb | <h1><p><%= @user.first_name %>'s Profile</p></h1>
<img class="profpic" width="200" height="200" src="<%= @user.picture %>" alt="<%= @user.first_name %>">
<h3><p><%= @user.first_name %>'s Good Nghbor Points: <%= @user.vote_count %></p></h3>
<h3><p><%= @user.first_name %>'s Recent Activity:</p></h3>
<div id='river'>
... | <div class='row'>
<div class='small-12 small-centered text-center columns'>
<h1><p><%= @user.first_name %>'s Profile</p></h1>
<img class="profpic" width="150" height="150" src="<%= @user.picture %>" alt="<%= @user.first_name %>">
<h3><p><%= @user.first_name %>'s Good Nghbor Points: <%= @user.vote_count %></p></h3>
<... | Add page formatting for foundations | Add page formatting for foundations
| HTML+ERB | mit | kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly,nyc-mud-turtles-2015/nghborly,nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly,kimchanyoung/nghborly |
22ccc0440394cdec40dc1c0c05dec5ed95f7bae6 | app/apps/themes/hub_theme/views/partials/_newsclipping.html.erb | app/apps/themes/hub_theme/views/partials/_newsclipping.html.erb | <div class="sidebar">
<h2>Newsletters</h2>
<ul>
<% (current_site.the_post_type("newsclippings").the_posts.decorate rescue {}).each_with_index do |clipping, index| %>
<li><div><a rel="bookmark" href="<%= clipping.the_field("new-clipping-link") %>"><%= clipping.the_title %></a></div>
<div>... | <div class="sidebar">
<h2>Newsletters</h2>
<ul>
<% (current_site.the_post_type("newsclippings").the_posts.decorate rescue {}).each_with_index do |clipping, index| %>
<li><div><a href="<%= clipping.the_field("news-clipping-link") %>"><%= clipping.the_title %></a></div>
<div><%= clipping.t... | Correct link to news clippings | Correct link to news clippings
| HTML+ERB | mit | jdollete/trenton-business-portal,jdollete/trenton-business-portal,jdollete/trenton-business-portal |
6cccd197a90fe440848173e8e21e2b8df0074a69 | app/views/pointless_feedback/feedbacks/new.html.erb | app/views/pointless_feedback/feedbacks/new.html.erb | <%= form_for @feedback do |f| %>
<fieldset class="user-fields">
<legend>About You</legend>
<div class="field">
<%= f.label :name %>
<%= f.text_field :name %>
</div>
<div class="field">
<%= f.label :email_address %>
<%= f.text_field :email_address %>
</div>
</fieldset>
... | <%= form_for @feedback do |f| %>
<% if @feedback.errors.any? %>
<div class="error_messages">
<h2>
<%= I18n.t('activerecord.errors.header', :default => 'Invalid Fields') %>
</h2>
<p>
<%= I18n.t('activerecord.errors.message', :default => 'Correct the following errors and try again... | Add error messages to feedback form | Add error messages to feedback form
| HTML+ERB | mit | vigetlabs/pointless-feedback,vigetlabs/pointless-feedback,vigetlabs/pointless-feedback |
cac4fa481639508e82415aa3460c5dc0efb382c0 | app/views/spree/admin/variants/_autocomplete.js.erb | app/views/spree/admin/variants/_autocomplete.js.erb | <script type='text/template' id='variant_autocomplete_template'>
<div class='variant-autocomplete-item'>
<figure class='variant-image'>
{{#if variant.image }}
<img src='{{variant.image}}' />
{{ else }}
<img src='/assets/noimage/mini.png' />
{{/if}}
</figure>
<div class='... | <script type='text/template' id='variant_autocomplete_template'>
<div class='variant-autocomplete-item'>
<figure class='variant-image'>
{{#if variant.image }}
<img src='{{variant.image}}' />
{{ else }}
<img src='/assets/noimage/mini.png' />
{{/if}}
</figure>
<div class='... | Use I18n.t instead of Spree's JS `t` function | Use I18n.t instead of Spree's JS `t` function
| HTML+ERB | agpl-3.0 | lin-d-hop/openfoodnetwork,lin-d-hop/openfoodnetwork,mkllnk/openfoodnetwork,openfoodfoundation/openfoodnetwork,lin-d-hop/openfoodnetwork,lin-d-hop/openfoodnetwork,Matt-Yorkley/openfoodnetwork,openfoodfoundation/openfoodnetwork,mkllnk/openfoodnetwork,Matt-Yorkley/openfoodnetwork,openfoodfoundation/openfoodnetwork,Matt-Yo... |
a7874b25457bcc0581baf96e36f9c2eefe6e5fd9 | app/views/appointments/index.html.erb | app/views/appointments/index.html.erb | Appointment Index Page
<div id="right-sidebar">
<ul>
<li>Show by mentor phase:</li>
<% 5.times do |i| %>
<li><%=link_to i, appointments_path(phase: i)%></li>
<% end %>
</ul>
</div>
<div id="appointment_roll">
<ol>
<%@appointments.each do |appt|%>
<li><h1><%= appt.start_time%></h1></li>
<% end... | Appointment Index Page
<div id="right-sidebar">
<ul>
<li>Show by mentor phase:</li>
<% 5.times do |i| %>
<li><%=link_to i, appointments_path(phase: i)%></li>
<% end %>
</ul>
</div>
<div id="appointment_roll">
<ol>
<%@appointments.each do |appt|%>
<li><h1><%= appt.start_time%></h1></li... | Make appointments clickable from appt index page | Make appointments clickable from appt index page
| HTML+ERB | mit | nyc-rock-doves-2016/Theres-A-Board,nyc-rock-doves-2016/Theres-A-Board,nyc-rock-doves-2016/Theres-A-Board |
f5cf7107126d480e156e26d23802a3e9c2126179 | app/views/writers/my_stories.html.erb | app/views/writers/my_stories.html.erb | <%= render :partial => "stories/stories_grid", locals: { stories: @stories } %>
<h3>Chapters Currently Writing:</h3>
<%= render :partial => "chapters/chapter", collection: @current_chapters %> | <% if !@stories.empty? %>
<h3>My Stories:</h3>
<%= render partial: "stories/story", collection: @stories %>
<% else %>
<h3>You have no stories. <%= link_to "Create one now.", new_story_path %></h3>
<% end %>
<% if !@current_chapters.empty? %>
<h3>Chapters Currently Writing:</h3>
<%= render partial: "chapters/chapter",... | Change My Stories page to use Bootstrap 4 | Change My Stories page to use Bootstrap 4
| HTML+ERB | mit | MitulMistry/rails-storyplan,MitulMistry/rails-storyplan,MitulMistry/rails-storyplan |
555ea1a0b3102657fe09c6cdaa02dcb9168c1ea2 | source/partials/_header.erb | source/partials/_header.erb | <header>
<div id="logo">
<% link_to '/' do %><%= image_tag 'bytepushers_black.png', alt: 'Logo cube' %><% end %>
</div>
<nav class="navigation">
<ul class="nav-list">
<!--<li><%= link_to 'fork!', 'https://github.com/vis-kid/betweenscreens' %></li>-->
<li><%= link_to 'about', '/pages/about.html... | <header>
<div id="logo">
<% link_to '/' do %><%= image_tag 'bytepushers_black.png', alt: 'Logo cube' %><% end %>
</div>
<nav class="navigation">
<ul class="nav-list">
<!--<li><%= link_to 'fork!', 'https://github.com/vis-kid/betweenscreens' %></li>-->
<li><%= link_to 'about', '/pages/about.html... | Add Startup Category link in navbar | Add Startup Category link in navbar
| HTML+ERB | mit | vis-kid/bytepushers,vis-kid/bytepushers,vis-kid/bytepushers |
4e584f5084433f187ff291e5f0f7e13762519ad8 | app/views/votes/_vote.erb | app/views/votes/_vote.erb | <form method="post" action='/voteable_type/<%= .id %>/upvote' class="inline">
<button type="submit" name="submit_param" value="submit_value" class="fa fa-sort-desc vote-button upvote-button"></button>
</form>
<p>
<span class='votes'><%= .votes %></span>
</p>
<form method="post" action='/voteable_type/<%= .id %>/dow... | <div class="vote-form" id='vote-form'>
<form method="post" action='/<%= voteable.class.name.downcase %>s/<%= voteable.id %>/upvote' class="inline">
<button type="submit" name="upvote" value="upvote" class="vote-button" id="upvote-button"></button>
</form>
<p>
<span class='votes'><%= answer.votes.count %... | Create partial for vote buttons and score | Create partial for vote buttons and score
| HTML+ERB | mit | katekourbatova/helium-overflow,katekourbatova/helium-overflow,katekourbatova/helium-overflow |
5e1df257d404955b8d50c5095e760d930194508b | app/views/personal_blog/posts/index.html.erb | app/views/personal_blog/posts/index.html.erb | <p id="notice"><%= notice %></p>
<h1>Listing Posts</h1>
<table>
<thead>
<tr>
<th>Title</th>
<th>Body</th>
<th colspan="3"></th>
</tr>
</thead>
<tbody>
<% @posts.each do |post| %>
<tr>
<td><%= post.title %></td>
<td><%= post.body %></td>
<td><%= link_t... | <p id="notice"><%= notice %></p>
<% @posts.each do |post| %>
<div>
<h3><%= link_to "#{post.title}", post %></h3>
<p><%= post.body %></p>
</div>
<% end %>
<br>
<%= link_to 'New Post', new_post_path %>
| Remove table index page for a simpler list of posts | Remove table index page for a simpler list of posts
| HTML+ERB | mit | nakulpathak3/personal-blog-gem,nakulpathak3/personal-blog-gem,nakulpathak3/personal-blog-gem |
2b0fb2dda8df036472b5574669f10d6989f01df3 | app/views/spree/static_content/show.html.erb | app/views/spree/static_content/show.html.erb | <% if @page.layout.present? and @page.render_layout_as_partial? %>
<%= render partial: @page.layout %>
<% else %>
<% content_for :head do -%>
<%- if @page.meta_title.present? -%>
<meta name="title" content="<%= @page.meta_title %>">
<%- else -%>
<meta name="title" content="<%= @page.title %>">
... | <% if @page.layout.present? and @page.render_layout_as_partial? %>
<%= render partial: @page.layout %>
<% else %>
<% content_for :head do -%>
<%- if @page.meta_title.present? -%>
<meta name="title" content="<%= @page.meta_title %>">
<%- else -%>
<meta name="title" content="<%= @page.title %>">
... | Update template for Spree 4.1+ | Update template for Spree 4.1+ | HTML+ERB | bsd-3-clause | spree-contrib/spree_static_content,spree-contrib/spree_static_content,spree-contrib/spree_static_content |
b40763b22b6c869a0b0aaa42b0a09ad4105565c7 | app/views/student_quizzes/take_quiz.html.erb | app/views/student_quizzes/take_quiz.html.erb | <h2>Questions</h2>
<% @map = ResponseMap.find(params[:map_id]) %>
<% @questionnaire = Questionnaire.find(@map.reviewed_object_id) %>
<% @reviewee_participant=AssignmentTeam.find(@map.reviewee_id).participants.first%>
<%= render :partial => 'submitted_content/hyperlink', :locals => {:participant => @reviewee_participan... | <h2>Questions</h2>
<% @map = ResponseMap.find(params[:map_id]) %>
<% @questionnaire = Questionnaire.find(@map.reviewed_object_id) %>
<% @reviewee_participant=AssignmentTeam.find(@map.reviewee_id).participants.first%>
<% @assignment = Assignment.find(params[:assignment_id])%>
<%= render :partial => 'submitted_content/... | Fix the view for taking quizzes. | Fix the view for taking quizzes.
| HTML+ERB | mit | expertiza/expertiza,joshio1/expertiza,mhhassan/expertiza,mhhassan/expertiza,KunmiaoYang/expertiza,ApertureScienceInnovators/expertiza,michaelamoran/expertiza,rmmaily/expertiza,arpitashekhar/expertiza,kira0992/expertiza,rmmaily/expertiza,expertiza/expertiza,ApertureScienceInnovators/expertiza,expertiza/expertiza,sid5788... |
0b46808567f37882c4b9da18d198fd9187b6fb36 | modules/log_storage/templates/logstash-filter-syslog.conf.erb | modules/log_storage/templates/logstash-filter-syslog.conf.erb | filter {
if [type] == "syslog" {
grok {
match => { "message" => "%{SYSLOGTIMESTAMP:syslog_timestamp} %{SYSLOGHOST:syslog_hostname} %{DATA:syslog_program}(?:\[%{POSINT:syslog_pid}\])?: %{GREEDYDATA:syslog_message}" }
add_field => [ "received_at", "%{@timestamp}" ]
add_field => [ "received_from", ... | filter {
if [type] == "syslog" {
# Do not log passwords when they came from puppet-agent. Be case insensitive
# about it.
# Watch for mysql "access denied for user " logs, as these do not contain
# passwords - could be logged.
if [message] =~ "(?i)puppet-agent"
and [message] =~ "(?i)password"... | Update syslog filter in logstash | Update syslog filter in logstash
By filtering the messages in syslog part we might
not storage these messages which have password in it.
Look for puppet-agent, password string within string message
and be case insensitive about it.
Change-Id: I09b750d4126eda075922957e8c338c6ac2a385b6
| HTML+ERB | apache-2.0 | fuel-infra/puppet-manifests,fuel-infra/puppet-manifests,fuel-infra/puppet-manifests,fuel-infra/puppet-manifests |
1ac797476473d708b834c434723d50256a12f556 | app/views/coronavirus_local_restrictions/results.html.erb | app/views/coronavirus_local_restrictions/results.html.erb | <% content_for :title, t("coronavirus_local_restrictions.lookup.title") %>
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<% if !@location_lookup.data.first.england? %>
<%= render partial: "coronavirus_local_restrictions/devolved_nation" %>
<% elsif @restriction.present? && @re... | <% content_for :title, t("coronavirus_local_restrictions.lookup.title") %>
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<% if !@location_lookup.data.first.england? %>
<%= render partial: "coronavirus_local_restrictions/devolved_nation" %>
<% elsif @restriction.present? && @re... | Update the results view to use the current alert level | Update the results view to use the current alert level
| HTML+ERB | mit | alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections |
ee9bd78b76549a8682cb4f23ea0087dc07c9ea96 | templates/saga/document.erb | templates/saga/document.erb | Requirements <%= title %>
<% unless authors.empty? %>
<% authors.each do |author| -%>
- <%= format_author(author) %>
<% end -%>
<% end -%>
<% introduction.each do |paragraph| %>
<%= paragraph %>
<% end %>
USER STORIES
<% stories.each do |header, stories| -%>
<% if header.strip == '' %>
<% else -%>
<%= "\n#{header}\n\n"... | Requirements <%= title %>
<% unless authors.empty? %>
<% authors.each do |author| -%>
- <%= format_author(author) %>
<% end -%>
<% end -%>
<% introduction.each do |paragraph| %>
<%= paragraph %>
<% end %>
USER STORIES
<% stories.each do |header, stories| -%>
<% if header.strip == '' %>
<% else -%>
<%= "\n#{header}\n\n"... | Remove extraneous newlines from the saga template. | Remove extraneous newlines from the saga template.
Allows the autofill feature to be used without adding blank lines.
| HTML+ERB | mit | Fingertips/saga,Fingertips/saga |
a3d5acd493ea03753f3364c34dabf130d8c4ed74 | app/views/expenses/_form.html.erb | app/views/expenses/_form.html.erb | <%= form_for @expense do |f| %>
<%= f.text_field :amount, placeholder: "$ Housing" %><br>
<%= f.hidden_field :expense_type_id, :value => 1 %>
<%= f.submit "Add Expense" %>
<% end %>
| <%= form_for @expense do |f| %>
<%= f.text_field :amount, placeholder: "$ Housing" %><br>
<%= f.hidden_field :expense_type_id, :value => 1 %>
<br>
<%= f.text_field :amount, placeholder: "$ Transportation" %><br>
<%= f.hidden_field :expense_type_id, :value => 2 %>
<br>
<%= f.text_field :amount, placeholder... | Add more fields to new expense form | Add more fields to new expense form
| HTML+ERB | mit | nyc-cicadas-2015/Can-I-Afford-This,nyc-cicadas-2015/Can-I-Afford-This,nyc-cicadas-2015/Can-I-Afford-This |
f69a3b2e0d1df3b6bbcaab28d88b2cf1b3fd78d5 | app/views/projects/index.html.erb | app/views/projects/index.html.erb | <div class="search">
<span class="material-icons search-icon">search</span>
<input type="text" name="" placeholder="search companies">
<button>Search</button>
</div>
<div class="card-container" id="container">
<%= render '/projects/project_card' %>
</div> | <div class="search">
<span class="material-icons search-icon">search</span>
<input type="text" name="" placeholder="search projects">
<button>Search</button>
</div>
<div class="card-container" id="container">
<%= render '/projects/project_card' %>
</div> | Change placeholder to say projects instead of companies on project page | Change placeholder to say projects instead of companies on project page
| HTML+ERB | mit | iand11/boot-on-the-ground,iand11/boot-on-the-ground,iand11/boot-on-the-ground |
365343fa017dce71bfced42374c0b54ad6efe443 | modules/govuk_jenkins/templates/jobs/enhanced_ecommerce.yaml.erb | modules/govuk_jenkins/templates/jobs/enhanced_ecommerce.yaml.erb | ---
- job:
name: <%= @job_name %>
display-name: <%= @job_name %>
project-type: freestyle
properties:
- build-discarder:
days-to-keep: 30
artifact-num-to-keep: 5
builders:
- trigger-builds:
- project: run-rake-task
block: true
predefi... | ---
- job:
name: <%= @job_name %>
display-name: <%= @job_name %>
project-type: freestyle
properties:
- build-discarder:
days-to-keep: 30
artifact-num-to-keep: 5
builders:
- trigger-builds:
- project: run-rake-task
block: true
predefi... | Fix exporting enhanced ecommerce data | Fix exporting enhanced ecommerce data
This task uses the Jenkins run-rake-task task. The analytics:create_data_import_csv
and analytics:create_data_import_csv have been modified to accept
parameters instead of environment variables.
See: git:
- https://github.com/alphagov/rummager/pull/1317,
- https://github.com/al... | HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
977be0043c272263c64448c7947ee1bc39d793e5 | views/editor_layout.erb | views/editor_layout.erb | <!DOCTYPE HTML>
<html>
<head>
<title>The Tangent</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="/stylesheets/bootstrap.min.css">
</head>
<body>
<nav class="navbar navbar-default" role="navigation">
<div class="container-fluid">... | <!DOCTYPE HTML>
<html>
<head>
<title>The Tangent</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="/stylesheets/bootstrap.min.css">
</head>
<body>
<nav class="navbar navbar-default" role="navigation">
<div class="container-fluid">... | Add bottom padding to editor layout | Add bottom padding to editor layout
| HTML+ERB | mit | the-tangent/tangent,the-tangent/tangent |
65c84e22f67b2aa7f36cb8a8555b98af5e5137d8 | lib/generators/starter/resource/templates/index.html.erb | lib/generators/starter/resource/templates/index.html.erb | <h1><%= plural_table_name.humanize %></h1>
<table>
<tr>
<% attributes.each do |attribute| -%>
<th><%= attribute.human_name %></th>
<% end -%>
<th></th>
<th></th>
<th></th>
</tr>
<%% @<%= plural_table_name %>.each do |<%= singular_table_name %>| %>
<tr>
<% attributes.each do |attribute| -%>
<... | <h1><%= plural_table_name.humanize %></h1>
<%%= link_to 'Add a New <%= human_name.titleize %>', "/<%= plural_name %>/new" %>
<table class="table table-hover">
<thead>
<tr>
<% attributes.each do |attribute| -%>
<th><%= attribute.human_name %></th>
<% end -%>
<th></th>
<th></th>
<th></th>
... | Apply bootstrap css class to the table, and customize the delete confirmation message. | Apply bootstrap css class to the table, and customize the delete confirmation message.
| HTML+ERB | mit | starterleague/starter_generators,raghubetina/starter_generators,raghubetina/starter_generators,starterleague/starter_generators,rbetina/starter_generators,rbetina/starter_generators |
882469b8cd52baa0af724ee4b5b7ddd826d224f2 | app/views/clocks/_form.html.erb | app/views/clocks/_form.html.erb | <%= simple_form_for(@clock) do |f| %>
<%= f.error_notification %>
<div class="form-inputs">
<%= f.association :users %>
<%= f.association :statuses %>
</div>
<div class="form-actions">
<%= f.button :submit %>
</div>
<% end %>
| <%= simple_form_for(@clock) do |f| %>
<%= f.error_notification %>
<div class="form-inputs">
<%= f.association :users %>
<% @clock.statuses.each do |status| %>
<%= render partial: 'statuses/form', locals: { '@status'.to_sym => status } %>
<% end %>
</div>
<div class="form-actions">
<%= f... | Embed the status form partial in clock's edit | Embed the status form partial in clock's edit
| HTML+ERB | agpl-3.0 | evaryont/status-clock,evaryont/status-clock |
cfdba90ef81187b70c59bf3ae6429bb5fdf05078 | app/views/members/show.html.erb | app/views/members/show.html.erb |
<div class="member_info_block">
<h1> <%= @member.full_name %> </h1>
<h2> with <%= @posts.total_count %> <%= "post".pluralize(@posts.total_count) %> </h2>
<h2> since <%= @member.created_at.to_s :month_year %> </h2>
<% if @member.id == session[:member_id] %>
<%= link_to "New Post", new_post_path, class: "bu... |
<div class="member_info_block">
<h1> <%= @member.full_name %> </h1>
<h2> with <%= @posts.total_count %> <%= "post".pluralize(@posts.total_count) %> </h2>
<h2> since <%= @member.created_at.to_s :month_year %> </h2>
<% if @member.id == session[:member_id] %>
<%= link_to "New Post", new_post_path, class: "bu... | Add Bit from Member Town | Add Bit from Member Town
| HTML+ERB | apache-2.0 | cpimhoff/DogGoat,cpimhoff/DogGoat,cpimhoff/DogGoat |
39b3036dd26bedc4a8a71fef91e3fcc1ee500bf1 | modules/govuk_jenkins/templates/jobs/content_data_api.yaml.erb | modules/govuk_jenkins/templates/jobs/content_data_api.yaml.erb | ---
- job:
name: content_data_api_import_etl_master_process
display-name: Content Data API - ETL master
project-type: freestyle
description: "<p>Run the etl:master rake task.</p>"
builders:
- trigger-builds:
- project: run-rake-task
block: true
predefined-para... | ---
- job:
name: content_data_api_import_etl_master_process
display-name: Content Data API - ETL master
project-type: freestyle
description: "<p>Run the etl:master rake task.</p>"
builders:
- trigger-builds:
- project: run-rake-task
block: true
predefined-para... | Extend retention on the Content Data API ETL master job | Extend retention on the Content Data API ETL master job
As it's useful to see builds going back further than ~10 days.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
c64b919400f7f49085d7d74af1d5d6732b0191d7 | source/siteabout.html.erb | source/siteabout.html.erb | <h2>About This Site</h2> | <h2>About This Site</h2>
<h3>Redesign</h3>
<p>
Over the past year, Portland Code School has experienced an extraordinary rate of change and growth. To celebrate and encapsulate the new experience PCS provides, a complete website redesign was in order!
</p>
<h4>Tools:</h4>
<p>
This site is built using <%= link_to ... | Add content to 'About this site' page | Add content to 'About this site' page
| HTML+ERB | mit | portlandcodeschool/portlandcodeschool,portlandcodeschool/portlandcodeschool,portlandcodeschool/portlandcodeschool,portlandcodeschool/portlandcodeschool,portlandcodeschool/portlandcodeschool,criskelly/pcsredesign,portlandcodeschool/portlandcodeschool,criskelly/pcsredesign,portlandcodeschool/portlandcodeschool,portlandco... |
2f7a95f390c4769a646ebfb8a22867e452239eb2 | app/views/calculators/guaranteed_income/_form.html.erb | app/views/calculators/guaranteed_income/_form.html.erb | <%
form = local_assigns[:form]
errors = form&.errors
%>
<h2 id="calculator">Estimate how much your guaranteed income could be</h2>
<%= render 'calculators/error_summary', messages: errors&.messages if form&.invalid? %>
<form action="/guaranteed-income/estimate#form" method="get">
<%= render 'calculators/form_i... | <%
form = local_assigns[:form]
errors = form&.errors
%>
<h2 id="calculator">Estimate how much your guaranteed income could be</h2>
<%= render 'calculators/error_summary', messages: errors&.messages if form&.invalid? %>
<form action="/guaranteed-income/estimate#form" method="get">
<%= render 'calculators/form_i... | Use question style for annuity calculator labels | Use question style for annuity calculator labels
| HTML+ERB | mit | guidance-guarantee-programme/pension_guidance,guidance-guarantee-programme/pension_guidance,guidance-guarantee-programme/pension_guidance |
c5d215b9140116f5e21aa718608188f66a6eac37 | app/views/collections/_form.html.erb | app/views/collections/_form.html.erb | <%= form.label :title, :Title, {:class => 'big'} %><br />
<%= form.text_field :title, {:class => 'big'} %><br />
<%= form.label :description %><br />
<%= form.text_area :description %><br />
<% unless @collection.albums.empty? %>
<%= form.label :albums %><br />
<div id="collection_albums">
<% for album in @collection... | <%= form.label :title, :Title, {:class => 'big'} %><br />
<%= form.text_field :title, {:class => 'big'} %><br />
<%= form.label :description %><br />
<%= form.text_area :description %><br />
<% unless @collection.albums.empty? %>
<%= form.label :albums %><br />
<div id="collection_albums">
<% for album in @collection... | Use image_path for local image, for asset hosts and such. | Use image_path for local image, for asset hosts and such.
| HTML+ERB | mit | espen/balder,tshifflett/balder,asgora/balder1,sonphamhong/photo_gallery,mathieujobin/balder,dvictory/balder,mathieujobin/balder,7EHR4F/my_photo_booth,dvictory/balder,sonphamhong/photo_gallery,espen/balder,dvictory/balder,tshifflett/balder,asgora/balder1,samuels410/vision-on,sadfuzzy/balder,tshifflett/balder,7EHR4F/my_p... |
bfae7d386a0c9fa111313c6f2c36b9abf22a5a4e | app/views/versions/_chooser.html.erb | app/views/versions/_chooser.html.erb | <%
# USAGE: Displays a version picker for the given object.
#
# VARIABLES:
# * record: The record to show a version picker for.
# * target: The DOM id to update when refreshing the version.
%>
<% if record.versions.present? %>
<form class="version_chooser">
<div>
Version <%= select_tag("version", options_f... | <%
# USAGE: Displays a version picker for the given object.
#
# VARIABLES:
# * record: The record to show a version picker for.
# * target: The DOM id to update when refreshing the version.
%>
<% if record.versions.present? %>
<form class="version_chooser">
<div>
Version <%= select_tag("version", options_f... | Fix typo in view, introduced when switching to asset pipeline | Fix typo in view, introduced when switching to asset pipeline
| HTML+ERB | mit | CorainChicago/ActivateHub,CorainChicago/ActivateHub,CorainChicago/ActivateHub,CorainChicago/ActivateHub |
e095979468ef45129cb06286f4bce3c6d2dba3a0 | app/views/workout_types/_exercise_fields_table_desktop.html.erb | app/views/workout_types/_exercise_fields_table_desktop.html.erb | <tr>
<td><%= f.input :name, label: false %></td>
<td><%= f.input :sets, label: false %></td>
<td><%= f.input :reps, label: false %></td>
<td><%= f.input :load, label: false %></td>
<td><%= f.input :url, label: false %></td>
</tr> | Add new routine large screen form | Add new routine large screen form
| HTML+ERB | mit | yvoloshin/Strength-tracker,yvoloshin/Strength-tracker,yvoloshin/Strength-tracker | |
e929c93669dbc1bbbeefa0b6b728d8caa3311827 | app/views/lists/show.html.erb | app/views/lists/show.html.erb | <h1>List#show</h1>
<p>Find me in app/views/list/show.html.erb</p>
| <h1><%= @list.name.capitalize %></h1>
<hr>
<p></p>
| Make show pg refer to list | Make show pg refer to list
| HTML+ERB | mit | withtwoemms/stuff-i-buy,withtwoemms/stuff-i-buy,withtwoemms/stuff-i-buy |
dac37eef2dcc8d8a3a6eda460161f1a47ede1adc | app/views/plants/new.html.erb | app/views/plants/new.html.erb | <div class="container">
<header class="page-header">
<h1>New Plant</h1>
</header>
<div>
<%= button_to 'Back to my plants', [:plants] %>
</div>
<div class="row">
<div class="col-sm-6 col-sm-offset-1">
<%= form_for @plant, url: plants_path do |form| %>
<% if form.object.errors.... | <div class="container">
<header class="page-header">
<h1>New Plant</h1>
</header>
<div>
<%= link_to 'Back', :plants, class: 'button' %>
</div>
<div class="row">
<div class="col-sm-6 col-sm-offset-1">
<%= form_for @plant, url: plants_path do |form| %>
<% if form.object.errors.... | Fix back button on Create Plant page | Fix back button on Create Plant page
| HTML+ERB | mit | Plantia/app,Plantia/app,Plantia/app |
f7fafbb0e2e952e38f24c7d03d27d99848e9462a | app/views/users/edit.html.erb | app/views/users/edit.html.erb | <%= error_messages_for 'user' %>
<%= form_tag :action => 'update', :id => @user do %>
<%= render :partial => "form" %>
<%= submit_tag _("Save"), :class => 'nolabel' %>
<% end %>
<% if current_user.admin? %>
<fieldset class="basic">
<legend><%=_ 'Project access control' %></legend>
<div id="permission_list"... | <%= error_messages_for 'user' %>
<%= form_tag :action => 'update', :id => @user do %>
<%= render :partial => "form" %>
<%= submit_tag _("Save"), :class => 'nolabel' %>
<% end %>
<% if current_user.admin? %>
<fieldset class="basic">
<legend><%=_ 'Project access control' %></legend>
<div id="permission_list"... | Fix render partial notes for Rails 3. | Fix render partial notes for Rails 3.
| HTML+ERB | agpl-3.0 | webstream-io/jobsworth,webstream-io/jobsworth,evinoca/clockingit,webstream-io/jobsworth,rafaspinola/jobsworth,xuewenfei/jobsworth,arunagw/clockingit,arunagw/clockingit,ari/jobsworth,rafaspinola/jobsworth,arunagw/clockingit,digitalnatives/jobsworth,digitalnatives/jobsworth,evinoca/clockingit,rafaspinola/jobsworth,digita... |
124f4168cd0473e32f9c9114247a68f0f4abc38e | app/views/contacts/show.html.erb | app/views/contacts/show.html.erb | <% content_for :page_class, 'contacts-show' %>
<% content_for :breadcrumbs do %>
<li>
<%= link_to organisation.title, "/government/organisations/#{organisation.slug}" %>
</li>
<li>
<%= link_to "Contact #{organisation.abbreviation}", calculate_contacts_index_path(organisation) %>
</li>
<% end %>
<header... | <% content_for :page_class, 'contact-show' %>
<% content_for :breadcrumbs do %>
<li>
<%= link_to organisation.title, "/government/organisations/#{organisation.slug}" %>
</li>
<li>
<%= link_to "Contact #{organisation.abbreviation}", calculate_contacts_index_path(organisation) %>
</li>
<% end %>
<header ... | Fix typo in CSS class name. | Fix typo in CSS class name.
I made a boo-boo, and introduced a typo in c68f8d9. This resulted in
most of the CSS not applying.
| HTML+ERB | mit | alphagov/contacts-frontend,alphagov/contacts-frontend,alphagov/contacts-frontend,alphagov/contacts-frontend |
2799824f80817abe0a335bf72a4fbbf87096c999 | app/views/kalibro_configurations/_metric_configurations.html.erb | app/views/kalibro_configurations/_metric_configurations.html.erb | <tr>
<td><%= metric_configuration.metric.name %></td>
<td><%= metric_configuration.metric.code %></td>
<% unless metric_configuration.metric.is_a? KalibroClient::Entities::Miscellaneous::HotspotMetric %>
<td><%= metric_configuration.weight %></td>
<% end %>
<td>
<%= link_to_show_page(metric_configurat... | <tr>
<td><%= metric_configuration.metric.name %></td>
<td><%= metric_configuration.metric.code %></td>
<% unless metric_configuration.metric.is_a? KalibroClient::Entities::Miscellaneous::HotspotMetric %>
<td><%= metric_configuration.weight %></td>
<% end %>
<td>
<%= link_to_show_page(metric_configurat... | Remove edit button from metric configuration list | Remove edit button from metric configuration list
There are no attributes to be edited on a hotspot metric configuration
Signed off by: Diego Araújo <diegoamc90@gmail.com>
| HTML+ERB | agpl-3.0 | mezuro/prezento,mezuro/prezento,mezuro/prezento |
7ef36f283151ad864d42d5d13482f4a3c50377b4 | lib/views/number.erb | lib/views/number.erb | <div id='number'></div>
<script>
$.getJSON(document.URL, function (json) {
var values = json['values']
var last = values[values.length - 1]
var title = extractTitle(document.URL)
var date = moment(last['time']).format('YYYY-DD-MM HH:mm')
var number = extractNumber(last)
var content = '<h1>' + title + '</... | <div id='number'></div>
<script>
$.getJSON(document.URL, function (json) {
var values = json['values']
var last = values[values.length - 1]
var title = extractTitle(document.URL)
var date = moment(last['time']).format('YYYY-DD-MM HH:mm')
var number = extractNumber(last)
var content = '<h1>' + title + '</... | Append 'last updated' to datetime | Append 'last updated' to datetime
| HTML+ERB | mit | theodi/bothan,theodi/metrics-api,theodi/metrics-api,theodi/bothan,theodi/bothan,theodi/metrics-api,theodi/bothan |
449bbfb49b86c3b020b36d403f65187b95d81aa5 | worker_host/travis_worker/templates/default/worker-bluebox.yml.erb | worker_host/travis_worker/templates/default/worker-bluebox.yml.erb | env: <%= @worker[:env] %>
linux:
host: <%= @hostname %>
log_level: <%= @worker[:log_level] %>
amqp:
<% @amqp.each do |key, value| -%>
<%= key %>: <%= value %>
<% end -%>
vms:
provider: <%= @worker[:provider] %>
count: <%= @worker[:vms] %>
blue_box:
customer_id: <%= @bluebox[:customer_id] %... | env: <%= @worker[:env] %>
linux:
host: <%= @hostname %>
log_level: <%= @worker[:log_level] %>
amqp:
<% @amqp.each do |key, value| -%>
<%= key %>: <%= value %>
<% end -%>
vms:
provider: <%= @worker[:provider] %>
count: <%= @worker[:vms] %>
blue_box:
customer_id: <%= @bluebox[:customer_id] %... | Add more language mappings for the jvm image. | Add more language mappings for the jvm image.
| HTML+ERB | mit | gavioto/travis-cookbooks,Zarthus/travis-cookbooks,Distelli/travis-cookbooks,bd808/travis-cookbooks,ardock/travis-cookbooks,dstufft/travis-cookbooks,Distelli/travis-cookbooks,alex/travis-cookbooks,ardock/travis-cookbooks,dracos/travis-cookbooks,bd808/travis-cookbooks,johanneswuerbach/travis-cookbooks,DanielG/travis-cook... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.