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 |
|---|---|---|---|---|---|---|---|---|---|
d624dba4d5acc16aaa185e19d4102ebd8335a23b | app/views/map_notes/show.html.erb | app/views/map_notes/show.html.erb | <div id="xmap">
</div>
<div id="formControl" class="leaflet-control-layers leaflet-control hide">
<h1 class="text-center">Comments</h1>
<p>
<textarea id="comments" class="form-control" rows="10" readonly="readonly"><%= @map_note.comment %></textarea>
</p>
<p class="buttons">
<button class="pull-left b... | <div id="xmap">
</div>
<div id="formControl" class="leaflet-control-layers leaflet-control hide">
<h1 class="text-center">Comments</h1>
<p>
<textarea id="comments" class="form-control" rows="10" readonly="readonly"><%= @map_note.comment %></textarea>
</p>
<p class="buttons">
<button class="pull-left b... | Add extra parsing step for safety | Add extra parsing step for safety
| HTML+ERB | mit | GeoSensorWebLab/arctic-portal,GeoSensorWebLab/arctic-portal,GeoSensorWebLab/arctic-portal |
a789074549b0c336532ce2825fb267822c623430 | app/views/gm_list/index.html.erb | app/views/gm_list/index.html.erb | <p id="notice"><%= notice %></p>
<h1><%= @event.name %></h1>
<h2><%= @event.location %></h2>
<h2><%= @event.start.to_formatted_s(:long) %> to <%= @event.end.to_formatted_s(:long) %></h2>
<!-- for now, first pass, list all the GMs -->
<table class="table table-striped">
<tr>
<th>GM Name</th>
<th>GM Email</th... | <p id="notice"><%= notice %></p>
<h1><%= @event.name %></h1>
<h2><%= @event.location %></h2>
<h2><%= @event.start.to_formatted_s(:long) %> to <%= @event.end.to_formatted_s(:long) %></h2>
<!-- for now, first pass, list all the GMs -->
<table class="table table-striped">
<tr>
<th>GM Name</th>
<th>GM Email</th... | Add table type to gm_list | Add table type to gm_list
| HTML+ERB | mit | 10000-Lakes-Gaming/registration,10000-Lakes-Gaming/registration,10000-Lakes-Gaming/registration,10000-Lakes-Gaming/registration |
b8843788b4f38a396dbbfaefc54ababf0b68164f | app/views/reviews/index.html.erb | app/views/reviews/index.html.erb | <h1><%= @title -%></h1>
<% unless parent_object %>
<p>crantastic users have written <%= pluralize Review.count, "review" %>. These are the most recent reviews:</p>
<% end %>
<ul>
<% for review in @reviews %>
<li><%= link_to review.user.login, review.user %>
<% if review.rating %>gave
<%= package_version(revi... | <h1><%= @title -%></h1>
<% unless parent_object %>
<p>crantastic users have written <%= pluralize Review.count, "review" %>.
These are the most recent reviews:</p>
<% end %>
<ul>
<% for review in @reviews %>
<li><%= link_to review.user.login, review.user -%>
<% if review.rating %>
gave <%= pa... | Package link was missing from the review index if no vote was given. Fixed. | Package link was missing from the review index if no vote was given. Fixed.
| HTML+ERB | mit | hadley/crantastic,tenforwardconsulting/crantastic,hadley/crantastic,hadley/crantastic,tenforwardconsulting/crantastic,tenforwardconsulting/crantastic,tenforwardconsulting/crantastic |
f492eff36ac6c33fdf3441e651d9c1c521ce825e | trails-log/app/views/users/_index.html.erb | trails-log/app/views/users/_index.html.erb | <% @users.each do |user| %>
<a class="item other-hiker" id="hikers<%= user.id %>" href="/users/<%= user.id %>">
<div class="content">
<div class="ui header">
<%= user.firstname %> <%= user.lastname %>
</div>
<div class="description">
<%= user.city %>, <%= user.state %>
</... | <% @users.each do |user| %>
<a class="item other-hiker" id="hikers<%= user.id %>" href="/users/<%= user.id %>">
<img class="ui avatar image" src="<%= avatar_url(user)%>">
<div class="content">
<div class="ui header">
<%= user.firstname %> <%= user.lastname %>
</div>
<div class="descri... | Add gravatar to other hikers on all hikers page | Add gravatar to other hikers on all hikers page
| HTML+ERB | mit | team-artemis/hike-logger,team-artemis/hike-logger,team-artemis/hike-logger-be,team-artemis/hike-logger-be,team-artemis/hike-logger-be,team-artemis/hike-logger |
6733b63c00339935808a7eecb9315d8a7de522d4 | app/views/properties/new.html.erb | app/views/properties/new.html.erb | <% provide(:title, 'Propiedades::Registrar') %>
<% Cities.data_path = Rails.root.join('config', 'extras', 'cities') %>
<h1>Registro de Propiedad</h1>
<div class="row">
<div class="col-md-6 col-md-offset-3">
<%= form_for @property, url: {action: "create"} do |f| %>
<%@countries = CountriesWithCitiesGrou... | <% provide(:title, 'Propiedades::Registrar') %>
<% Cities.data_path = Rails.root.join('config', 'extras', 'cities') %>
<h1>Registro de Propiedad</h1>
<div class="row">
<div class="col-md-6 col-md-offset-3">
<%= form_for @property, url: {action: "create"} do |f| %>
<%@countries = CountriesWithCitiesGrou... | Add location field to new property form. | Add location field to new property form.
| HTML+ERB | apache-2.0 | gtrujillop/RealEstateWeb,gtrujillop/RealEstateWeb,gtrujillop/RealEstateWeb |
33a7b4e876775fecf075c567758c5c2388eeaca3 | app/views/runs/livesplit.html.erb | app/views/runs/livesplit.html.erb | <% require 'ext/float' %>
<?xml version="1.0" encoding="UTF-8"?>
<Run>
<GameIcon />
<GameName>
</GameName>
<CategoryName><%= @run.name %></CategoryName>
<Offset><%= Time.at(@run.offset || 0).utc.strftime("%H:%M:%S").strip %></Offset>
<AttemptCount><%= @run.attempts || 0 %></AttemptCount>
<RunHistory />
... | <?xml version="1.0" encoding="UTF-8"?>
<Run>
<GameIcon />
<GameName>
</GameName>
<CategoryName><%= @run.name %></CategoryName>
<Offset><%= Time.at(@run.offset || 0).utc.strftime("%H:%M:%S").strip %></Offset>
<AttemptCount><%= @run.attempts || 0 %></AttemptCount>
<RunHistory />
<Segments>
<% @run.split... | Fix a 500 when downloading encoded LiveSplit files | Fix a 500 when downloading encoded LiveSplit files
| HTML+ERB | agpl-3.0 | BatedUrGonnaDie/splits-io,glacials/splits-io,BatedUrGonnaDie/splits-io,glacials/splits-io,BatedUrGonnaDie/splits-io,glacials/splits-io,BatedUrGonnaDie/splits-io,glacials/splits-io |
12499cff8a7efc4a2d43b879830b345cc818fd12 | app/views/sequences/edit.html.erb | app/views/sequences/edit.html.erb | <%
@title = :sequence_edit_title.t(name: @sequence.unique_format_name)
tabs = [
link_with_query(:cancel_and_show.t(type: @back_object.type_tag),
@back_object.show_link_args)
]
@tabsets = { right: draw_tab_set(tabs) }
%>
<%= render(partial: "observation_title",
locals: { obs... | <%
@title = :sequence_edit_title.t(name: @sequence.unique_format_name)
tabs = [
link_with_query(:cancel_and_show.t(type: @back_object.type_tag),
@back_object.show_link_args)
]
@tabsets = { right: draw_tab_set(tabs) }
%>
<%= render(partial: "observation_title",
locals: { obs... | Make edit form submit to update action | Make edit form submit to update action
Fixes bug exposed by test_edit_redirect
| HTML+ERB | mit | MushroomObserver/mushroom-observer,MushroomObserver/mushroom-observer,MushroomObserver/mushroom-observer,MushroomObserver/mushroom-observer,MushroomObserver/mushroom-observer,MushroomObserver/mushroom-observer,MushroomObserver/mushroom-observer |
9bdf4bc3d40e3f259df2b0e8d6e48616ba3e13e9 | app/views/skills/_skills.html.erb | app/views/skills/_skills.html.erb | <% skills_by_cat.each_slice(3) do |slice| %>
<div class="row">
<% slice.each_with_index do |skill_cat, index| %>
<div class="col-sm-4">
<h4><%= skill_cat.name %></h4>
<ul>
<% skill_cat.skills.each do |skill| %>
<li><%= skill.name %></li>
<% end %>
</ul>
</div>
... | <% skills_by_cat.each_slice(3) do |slice| %>
<div class="row">
<% slice.each_with_index do |skill_cat, index| %>
<div class="col-xs-4">
<h4><%= skill_cat.name %></h4>
<ul>
<% skill_cat.skills.each do |skill| %>
<li><%= skill.name %></li>
<% end %>
</ul>
</div>
... | Use xs instead of sm columns in skills partial | Use xs instead of sm columns in skills partial
Signed-off-by: Max Fierke <0706025b2bbcec1ed8d64822f4eccd96314938d0@maxfierke.com>
| HTML+ERB | apache-2.0 | maxfierke/resumis,maxfierke/resumis,maxfierke/resumis,maxfierke/resumis |
ac98893e2cf9e2a423d5585814039d9c51b8bc5b | ubuntu/templates/default/cron/fr2_data.erb | ubuntu/templates/default/cron/fr2_data.erb | # /etc/cron.d/fr2_data: crontab fragment for
# retrieving the xml data, etc from the gpo
00 11 * * 1-5 <%=@run_user%> cd <%=@apache_web_dir%>/apps/<%=@app_name%>/current && /usr/local/bin/rake RAILS_ENV=<%=@rails_env%> PATH=/opt/ruby-enterprise/bin:$PATH data:daily >> <%=@apache_web_dir%>/apps/<%=@app_name%>/shared/l... | # /etc/cron.d/fr2_data: crontab fragment for
# retrieving the xml data, etc from the gpo
0,5,10,15,20,25,30,35,40,45,50,55 8-23 * * 1-5 <%=@run_user%> cd <%=@apache_web_dir%>/apps/<%=@app_name%>/current && /usr/bin/rake RAILS_ENV=<%=@rails_env%> PATH=/opt/ruby-enterprise/bin:$PATH data:daily >> <%=@apache_web_dir%>/a... | Update crontab for retrying data download when updating fr2 data each morning if data is not present. | Update crontab for retrying data download when updating fr2 data each morning if data is not present. | HTML+ERB | apache-2.0 | criticaljuncture/cookbooks,criticaljuncture/cookbooks,criticaljuncture/cookbooks |
a1863068e2ff93796d0b764a302299f34d5747ea | app/flows/inherits_someone_dies_without_will_flow/outcomes/outcome_4.erb | app/flows/inherits_someone_dies_without_will_flow/outcomes/outcome_4.erb | <% text_for :title do %>
The estate is shared equally between the brothers or sisters.
<% end %>
<% govspeak_for :body do %>
If a brother or sister has already died, their children (nieces and nephews of the deceased) inherit in their place.
<% end %>
<% govspeak_for :next_steps do %>
<%= render partial: 'next_... | <% text_for :title do %>
The estate is shared equally between the brothers or sisters.
<% end %>
<% govspeak_for :body do %>
If a brother or sister has died before the deceased died, their children (nieces and nephews of the deceased) inherit in their place.
<% end %>
<% govspeak_for :next_steps do %>
<%= rende... | Update to inheritance sentence - outcome 4 | Update to inheritance sentence - outcome 4 | HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
c14af63e59861482d9aaef57fdbcd5af639f30a3 | jobs/kubernetes-master/templates/apiserver_ctl.erb | jobs/kubernetes-master/templates/apiserver_ctl.erb | #!/bin/bash
RUN_DIR=/var/vcap/sys/run/apiserver
PIDFILE=$RUN_DIR/apiserver.pid
JOB_DIR=/var/vcap/jobs/apiserver
source /var/vcap/packages/common/utils.sh
case $1 in
start)
pid_guard $PIDFILE "apiserver"
mkdir -p $RUN_DIR
chown -R vcap:vcap $RUN_DIR
echo $$ > $PIDFILE
exec chpst -u vcap:vcap... | #!/bin/bash
RUN_DIR=/var/vcap/sys/run/apiserver
PIDFILE=$RUN_DIR/apiserver.pid
JOB_DIR=/var/vcap/jobs/apiserver
source /var/vcap/packages/common/utils.sh
case $1 in
start)
pid_guard $PIDFILE "apiserver"
mkdir -p $RUN_DIR
chown -R vcap:vcap $RUN_DIR
echo $$ > $PIDFILE
exec chpst -u vcap:vcap... | Change apiserver portal_net to 10.100.0.0/16 | Change apiserver portal_net to 10.100.0.0/16
| HTML+ERB | apache-2.0 | wulonghui/kubernetes-release,wulonghui/kubernetes-release,wulonghui/kubernetes-release,wulonghui/kubernetes-release,wulonghui/kubernetes-release,wulonghui/kubernetes-release,wulonghui/kubernetes-release,wulonghui/kubernetes-release,wulonghui/kubernetes-release |
a2242c0e5f9cd01b41a1143fa0354bec040bad9e | app/views/articles/show.html.erb | app/views/articles/show.html.erb |
<section class="title-and-bookmark">
<div><h2 class="article-title"><%= @article.title %></h2></div>
<div class="bookmark-container"><%= render partial:'favorites/favorite_form' %></div>
</section>
<%= link_to 'Back to Group',
@group %>
<br/>
<div><%= @article.body %></div>
<div id="article-author">Added b... |
<section class="title-and-bookmark">
<div><h2 class="article-title"><%= @article.title %></h2></div>
<div class="bookmark-container"><%= render partial:'favorites/favorite_form' %></div>
</section>
<%= link_to 'Back to Group',
@group %>
<br/>
<div><%= @article.body %></div>
<div id="article-author">Added b... | Add missing logged in method | Add missing logged in method
| HTML+ERB | mit | yisusans/wiki-ly,yisusans/wiki-ly,yisusans/wiki-ly |
7abf736b7db60372154dd8eab118c719090f139f | app/views/widgets/issue.html.erb | app/views/widgets/issue.html.erb | <header>
<h1>
<%= @issue.title %>
</h1>
<p>
<%= @issue.description %>
</p>
</header>
<article>
<figure class="positions">
<div class="issue-graph">
<div class="issue-graph-logos">
<% @issue.position_groups.each do |label, parties| %>
<div class="position">
<d... | <header>
<h1>
<%= @issue.title %>
</h1>
<p>
<%= @issue.description %>
</p>
</header>
<article>
<figure class="positions">
<div class="issue-graph">
<div class="issue-graph-logos">
<% @issue.position_groups.each do |label, parties| %>
<div class="position">
<d... | Replace party link with anchored issue link. | Widgets: Replace party link with anchored issue link.
| HTML+ERB | bsd-3-clause | holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site |
c52ec265d3fa8308c1d88cdf7aec73bddc604ae2 | source/calendar.html.erb | source/calendar.html.erb | ---
pageable: true
---
<h1>Archive for
<% case page_type
when 'day' %>
<%= Date.new(year, month, day).strftime('%b %e %Y') %>
<% when 'month' %>
<%= Date.new(year, month, 1).strftime('%b %Y') %>
<% when 'year' %>
<%= year %>
<% end %>
</h1>
<% if paginate && num_pages > 1 %>
<p>Page <%= page... | ---
pageable: true
---
<h1>Archive for
<% case page_type
when 'day' %>
<%= Date.new(year, month, day).strftime('%e %B %Y') %>
<% when 'month' %>
<%= Date.new(year, month, 1).strftime('%B %Y') %>
<% when 'year' %>
<%= year %>
<% end %>
</h1>
<% if paginate && num_pages > 1 %>
<p>Page <%= page... | Update date formats for calendar pages. | Update date formats for calendar pages.
| HTML+ERB | mit | martincostello/blog,martincostello/blog,martincostello/blog |
01814af286921c2c959893a1ce1e501b6b49cf24 | app/views/questions/new.html.erb | app/views/questions/new.html.erb | <%= flash.alert %>
<%= form_for :question, url: {action: "create"} do |f| %>
<%= label :title, "Title: " %>
<%= f.text_field :title %><br><br>
<%= f.hidden_field :user_id, value: current_user.id %><br><br>
<%= f.label :tags %>
<%= f.text_field :tags %><br><br>
<%= f.text_area :body %><br><br>
<%= f.submit "Submit ... | <%= form_for :question, url: {action: "create"} do |f| %>
<%= label :title, "Title: " %>
<%= f.text_field :title %><br><br>
<%= f.hidden_field :user_id, value: current_user.id %><br><br>
<%= f.label :tags %>
<%= f.text_field :tags %><br><br>
<%= f.text_area :body %><br><br>
<%= f.submit "Submit Question" %>
<% e... | Remove flash alert from new question view. | Remove flash alert from new question view.
| HTML+ERB | mit | PeterJahnes/dbc-overflow,kahdojay/dbc-overflow,kahdojay/dbc-overflow,PeterJahnes/dbc-overflow,kahdojay/dbc-overflow,PeterJahnes/dbc-overflow |
285648ed1bf824881fbb1dcc4efb7f9e2b140971 | app/views/schools/index.html.erb | app/views/schools/index.html.erb | <div id="map-canvas"></div>
<!-- <div id="chart_div"> -->
<!--<script type="text/javascript">
// var schoolDataAry = new Array(); //not a very protected way to do this!
// function prepareDataforMap(schoolData) {
// schoolDataAry.push(['Lat', 'Long', 'Name']);
// for (i = 0; i < schoolData.length... | <div id="map-container">
<div id="map-canvas"></div>
</div>
<!-- <div id="chart_div"> -->
<!--<script type="text/javascript">
// var schoolDataAry = new Array(); //not a very protected way to do this!
// function prepareDataforMap(schoolData) {
// schoolDataAry.push(['Lat', 'Long', 'Name']);
//... | Add div map-container to surround map-canvas in index view | Add div map-container to surround map-canvas in index view
| HTML+ERB | mit | fma2/nyc-high-school-programs,fma2/nyc-high-school-programs |
386977f8f8b5b219f5fd6a99079feff553fc2700 | app/views/users/_parcel.html.erb | app/views/users/_parcel.html.erb | <div class="row">
<div class="col-md-1"><%= button_to 'match' %></div>
<div class="col-md-3"><%= parcel.description %></div>
<div class="col-md-3"><%= parcel.destination_address.city %></div>
<div class="col-md-3">
<%= parcel.deliver_by %> <br>
<%= form_for parcel, :method => :delete do %>
<... | <div class="row">
<div class="col-md-1"><%= button_to 'match' %></div>
<div class="col-md-3"><%= parcel.description %></div>
<div class="col-md-3"><%= parcel.destination_address.city %></div>
<div class="col-md-3">
<%= parcel.deliver_by %> <br>
<%= form_for parcel, :method => :delete do %>
<%= submit_t... | Fix indents in parcel partial | Fix indents in parcel partial
| HTML+ERB | mit | nyc-rock-doves-2015/caravan,bicyclethief/caravan,grantziolkowski/caravan,bicyclethief/caravan,grantziolkowski/caravan,grantziolkowski/caravan,bicyclethief/caravan,nyc-rock-doves-2015/caravan,nyc-rock-doves-2015/caravan |
22d09ba60d355ac5dea79bb0eccbc23f47c0a2db | app/views/user_mailer/team_invite.html.erb | app/views/user_mailer/team_invite.html.erb | <h1><%= @inviter.display_name %> has invited you to join the <%= @team.name %> team on Open HQ</h1>
<a href="/invites/accept/<%= @team_invite.invitation_code %>">Join <%= @team.name %></a>
| <h1><%= @inviter.display_name %> has invited you to join the <%= @team.name %> team on Open HQ</h1>
<%= link_to "Join #{@team.name}", edit_team_invite_url(id: @team_invite.invitation_code) %>
| Update invite URL in email | Update invite URL in email
| HTML+ERB | mit | openhq/openhq,openhq/openhq,openhq/openhq,openhq/openhq |
077f6d370b3d0eff325a3de0509aeaa21b47b632 | lib/generators/administrate/dashboard/templates/controller.rb.erb | lib/generators/administrate/dashboard/templates/controller.rb.erb | module Admin
class <%= class_name.pluralize %>Controller < Admin::ApplicationController
# To customize the behavior of this controller,
# simply overwrite any of the RESTful actions. For example:
#
# def index
# super
# @resources = <%= class_name %>.all.paginate(10, params[:page])
# e... | module Admin
class <%= class_name.pluralize %>Controller < Admin::ApplicationController
# To customize the behavior of this controller,
# simply overwrite any of the RESTful actions. For example:
#
# def index
# super
# @resources = <%= class_name %>.
# page(params[:page]).
# ... | Use Kaminari syntax in controller's comment hint | Use Kaminari syntax in controller's comment hint
Wrap the method chain onto multiple lines because it's likely
the developer will want to add some `order` details or other scopes
to the chain.
| HTML+ERB | mit | dminchev/administrate,joshua5201/administrate,thoughtbot/administrate,vgsantoniazzi/administrate,nando/administrate,vgsantoniazzi/administrate,joshua5201/administrate,TheHumanEffort/administrate,nando/administrate,joshua5201/administrate,vgsantoniazzi/administrate,dminchev/administrate,thoughtbot/administrate,TheHumanE... |
709d653575d193d4829d6696c974ff5bfeec8b97 | lib/libra2/app/views/records/edit_fields/_related_url.html.erb | lib/libra2/app/views/records/edit_fields/_related_url.html.erb | <% if f.object.class.multiple? key %>
<%= f.input key, as: :multi_value, disabled: f.object.readonly?(key), input_html: { class: 'form-control' }, required: f.object.required?(key), label: "Related Link(s)" %>
<% else %>
<%= f.input key, required: f.object.required?(key), disabled: f.object.readonly?(key), label: "Re... | Change label "related URL" to "related links" | Change label "related URL" to "related links"
| HTML+ERB | apache-2.0 | uvalib/Libra2,uvalib/Libra2,uvalib/Libra2,uvalib/Libra2,uvalib/Libra2 | |
69ffbc81cd6cddd5c62983bbfb188bc151469138 | cookbooks/scheduler/templates/windows/default_schedule.erb | cookbooks/scheduler/templates/windows/default_schedule.erb | for /f %%script IN ('dir <%= node[:scheduler][:script_dir] %>\<%= @frequency %> *.bat') DO call %%script | for /f %%a IN ('dir /b <%= node[:scheduler][:script_dir] %>\<%= @frequency %>\*.bat') DO call <%= node[:scheduler][:script_dir] %>\<%= @frequency %>\%%a | Correct batch file for syntax | Correct batch file for syntax
| HTML+ERB | apache-2.0 | rgeyer/cookbooks |
1deaa672b1afd61fdae37ef964e5ca36346c0e2f | cookbooks/bcpc/templates/default/network-interface-pre-up.sh.erb | cookbooks/bcpc/templates/default/network-interface-pre-up.sh.erb | #!/bin/bash
# -*- mode: shell-script -*-
#
# Pre-up script to manually configure bonding on <%= @interface %>
# (ifenslave is too buggy to use.)
#
MASTERS_PATH=/sys/class/net/bonding_masters
if ! grep <%= @interface %> $MASTERS_PATH; then
echo +<%= @interface %> > $MASTERS_PATH
fi
MODE_PATH=/sys/class/net/<%= @in... | #!/bin/bash
# -*- mode: shell-script -*-
#
# Pre-up script to manually configure bonding on <%= @interface %>
# (ifenslave is too buggy to use.)
#
MASTERS_PATH=/sys/class/net/bonding_masters
if ! grep <%= @interface %> $MASTERS_PATH; then
echo +<%= @interface %> > $MASTERS_PATH
fi
MODE_PATH=/sys/class/net/<%= @in... | Use fast LACPDUs by default (1s vs 30s) | Use fast LACPDUs by default (1s vs 30s)
| HTML+ERB | apache-2.0 | amithkanand/chef-bach,leochen4891/chef-bach,bloomberg/chef-bach,amithkanand/chef-bach,cbaenziger/chef-bach,cbaenziger/chef-bach,pu239ppy/chef-bach,leochen4891/chef-bach,bijugs/chef-bach,amithkanand/chef-bach,leochen4891/chef-bach,pu239ppy/chef-bach,cbaenziger/chef-bach,http-418/chef-bach,bijugs/chef-bach,kiiranh/chef-b... |
86dbe799ba7a9fe0f88e5960d24080db76c65420 | app/views/admin/widget/cards/_form.html.erb | app/views/admin/widget/cards/_form.html.erb | <%= render "admin/shared/globalize_locales", resource: @card %>
<%= translatable_form_for [:admin, @card] do |f| %>
<div class="small-12 medium-6">
<%= f.translatable_text_field :label %>
</div>
<%= f.translatable_text_field :title %>
<%= f.translatable_text_area :description, rows: 5 %>
<div class="... | <%= render "admin/shared/globalize_locales", resource: @card %>
<%= translatable_form_for [:admin, @card] do |f| %>
<div class="small-12 medium-6">
<%= f.translatable_text_field :label %>
</div>
<%= f.translatable_text_field :title %>
<%= f.translatable_text_area :description, rows: 5 %>
<div class="... | Remove extra tag element from cards form | Remove extra tag element from cards form
| HTML+ERB | agpl-3.0 | CDJ11/CDJ,AyuntamientoPuertoReal/decidePuertoReal,consul/consul,CDJ11/CDJ,consul/consul,AyuntamientoPuertoReal/decidePuertoReal,usabi/consul_san_borondon,consul/consul,CDJ11/CDJ,CDJ11/CDJ,AyuntamientoMadrid/participacion,AyuntamientoMadrid/participacion,AjuntamentdeCastello/consul,AjuntamentdeCastello/consul,Ayuntamien... |
27a1584a0fd528c78c1f20848316a017fa444a11 | app/views/polls/questions/_answers.html.erb | app/views/polls/questions/_answers.html.erb | <div class="poll-question-answers">
<% if can? :answer, question %>
<% question.question_answers.each do |answer| %>
<% if @answers_by_question_id[question.id] == answer.title && !voted_before_sign_in(question) %>
<span class="button answered"
title="<%= t("poll_questions.show.voted", ... | <div class="poll-question-answers">
<% if can?(:answer, question) && question.poll.voted_in_booth?(current_user) %>
<% question.question_answers.each do |answer| %>
<% if @answers_by_question_id[question.id] == answer.title && !voted_before_sign_in(question) %>
<span class="button answered"
... | Check if user has already voted in a booth on this poll | Check if user has already voted in a booth on this poll
| HTML+ERB | agpl-3.0 | deivid-rodriguez/participacion,AyuntamientoPuertoReal/decidePuertoReal,AjuntamentdeCastello/consul,AyuntamientoMadrid/consul,lalibertad/consul,deivid-rodriguez/participacion,AyuntamientoPuertoReal/decidePuertoReal,CDJ11/CDJ,lalibertad/consul,usabi/consul_san_borondon,deivid-rodriguez/participacion,AyuntamientoMadrid/pa... |
8507157ba0ff37f156b40a2b1f9faef40df0c7d7 | app/views/question/detailed_answer.json.erb | app/views/question/detailed_answer.json.erb | <%= params[:callback]+'(' if params[:callback] -%>{"answer" : <%= (@pi ? @pi.total_amount : 'null') %>, "item" : <%= (@pi ? ('"'+@item.label+'"').html_safe : 'null') %>}<%= ');' if params[:callback] -%>
| <%= params[:callback]+'(' if params[:callback] -%>{"answer" : <%= (@pi ? @pi.total_amount : 'null') %>, "item" : <%= (@pi ? ('"'+@item.label+'"').html_safe : 'null') %>, "item_uid" : <%= (@pi ? ('"'+@item.uid+'"').html_safe : 'null') %>}<%= ');' if params[:callback] -%>
| Add item UID to JSON API. | Add item UID to JSON API.
| HTML+ERB | bsd-3-clause | OpenAMEE/askamee,OpenAMEE/askamee |
1326cd32ea263d2a5fc7c474b04001aae51a9be0 | lib/domgen/timerstatus/templates/integration_test.java.erb | lib/domgen/timerstatus/templates/integration_test.java.erb | /* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.timerstatus.qualified_integration_test_name) %>;
public class <%= repository.timerstatus.integration_test_name %>
extends <%= repository.ee.qualified_base_integration_test_name %>
{
@org.testng.annotations.Test
public void checkTimersExp... | /* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.timerstatus.qualified_integration_test_name) %>;
public class <%= repository.timerstatus.integration_test_name %>
extends <%= repository.ee.qualified_base_integration_test_name %>
{
@org.testng.annotations.Test
public void checkTimersExp... | Update test so it is tolerant of the timers firing during the test | Update test so it is tolerant of the timers firing during the test
| HTML+ERB | apache-2.0 | realityforge/domgen,icaughley/domgen,icaughley/domgen,realityforge/domgen |
37f64c35be76eb937cb9705cc0516a972a9dd673 | app/views/redirect_to_idp/index.html.erb | app/views/redirect_to_idp/index.html.erb | <% content_for :page_title, 'Loading' %>
<script>
function init(){document.forms[0].submit();}
window.onload=init;
</script>
<div class="content">
<div class="grid-section">
<div class="grid-2-3"><h1 class="heading-xlarge">Continue to next step</h1>
<div class="application-notice info-notice">
... | <% content_for :page_title, 'Loading' %>
<script>
function init(){document.forms[0].submit();}
window.onload=init;
</script>
<div class="content">
<div class="grid-row">
<div class="column-two-thirds"><h1 class="heading-xlarge">Continue to next step</h1>
<div class="application-notice info-notice">
... | Fix class names on redirect to IDP | bau: Fix class names on redirect to IDP
Ensures text wraps in column correctly.
Authors: 78ba85360bda86c19bfe5404debc7fa7b36f8e68@richardtowers
| HTML+ERB | mit | alphagov/verify-frontend,alphagov/verify-frontend,alphagov/verify-frontend,alphagov/verify-frontend |
d2f5c87b4eeb9236ce775e437aee3f568630fc73 | lib/smart_answer_flows/marriage-abroad/outcomes/_required_supporting_documents_egypt.govspeak.erb | lib/smart_answer_flows/marriage-abroad/outcomes/_required_supporting_documents_egypt.govspeak.erb | You’ll need to provide supporting documents, including:
- your passport
- a valid Egyptian visa
- your [full birth certificate](/order-copy-birth-death-marriage-certificate/) or [naturalisation certificate](/get-replacement-citizenship-certificate) which states both of your parents’ names
- equivalent documents for yo... | You’ll need to provide supporting documents, including:
- your passport
- a valid Egyptian visa
- equivalent documents for your partner
| Remove bullet point starting with "your [full birth certificate]" | Remove bullet point starting with "your [full birth certificate]"
In this commit the bullet point starting with "your [full birth certificate]" is remove from the page.
This was made based on a request from the content team.
| HTML+ERB | mit | alphagov/smart-answers,stwalsh/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,stwalsh/smart-answers,stwalsh/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,stwalsh/smart-answers,aledelcueto/smart-answers |
9d4d27fd513d8f05a516d53031476a5eceb683b5 | core/app/views/spree/checkout/edit.html.erb | core/app/views/spree/checkout/edit.html.erb | <% content_for :head do %>
<%= javascript_include_tag '/states' %>
<% end %>
<div id="checkout" data-hook>
<h1><%= t(:checkout) %></h1>
<%= checkout_progress %>
<br clear="left" />
<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @order } %>
<% if @order.state != 'confirm' %>
... | <% content_for :head do %>
<%= javascript_include_tag states_path %>
<% end %>
<div id="checkout" data-hook>
<h1><%= t(:checkout) %></h1>
<%= checkout_progress %>
<br clear="left" />
<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @order } %>
<% if @order.state != 'confirm' %>
... | Fix invalid states.js path for Spree mounted at non-root. | Fix invalid states.js path for Spree mounted at non-root.
Fixes #929
| HTML+ERB | bsd-3-clause | xuewenfei/solidus,KMikhaylovCTG/spree,vmatekole/spree,AgilTec/spree,vinsol/spree,patdec/spree,Machpowersystems/spree_mach,grzlus/spree,TrialGuides/spree,vmatekole/spree,Senjai/spree,FadliKun/spree,gautamsawhney/spree,pjmj777/spree,mleglise/spree,trigrass2/spree,TimurTarasenko/spree,azclick/spree,lsirivong/solidus,reina... |
82a6df1c25baa91a52d3fac74e6f2db436312ae7 | cookbooks/bcpc/templates/default/network-interface-pre-up.sh.erb | cookbooks/bcpc/templates/default/network-interface-pre-up.sh.erb | #!/bin/bash
# -*- mode: shell-script -*-
#
# Pre-up script to manually configure bonding on <%= @interface %>
# (ifenslave is too buggy to use.)
#
MASTERS_PATH=/sys/class/net/bonding_masters
if ! grep <%= @interface %> $MASTERS_PATH; then
echo +<%= @interface %> > $MASTERS_PATH
fi
MODE_PATH=/sys/class/net/<%= @in... | #!/bin/bash
# -*- mode: shell-script -*-
#
# Pre-up script to manually configure bonding on <%= @interface %>
# (ifenslave is too buggy to use.)
#
MASTERS_PATH=/sys/class/net/bonding_masters
if ! grep <%= @interface %> $MASTERS_PATH; then
echo +<%= @interface %> > $MASTERS_PATH
fi
MODE_PATH=/sys/class/net/<%= @in... | Enable link status monitoring for bond slaves | Enable link status monitoring for bond slaves
| HTML+ERB | apache-2.0 | amithkanand/chef-bach,bijugs/chef-bach,kiiranh/chef-bach,http-418/chef-bach,cbaenziger/chef-bach,leochen4891/chef-bach,kiiranh/chef-bach,pu239ppy/chef-bach,leochen4891/chef-bach,NinjaLabib/chef-bach,bloomberg/chef-bach,bloomberg/chef-bach,pu239ppy/chef-bach,pu239ppy/chef-bach,amithkanand/chef-bach,http-418/chef-bach,le... |
f4e5036393b37106f522b69c013edd09591e904f | app/views/gobierto_citizens_charters/layouts/application.html.erb | app/views/gobierto_citizens_charters/layouts/application.html.erb | <% content_for :javascript_module_link do %>
<!-- load module javascript specifics -->
<%= javascript_pack_tag 'plans', 'data-turbolinks-track': true %>
<% end %>
<%= render template: "layouts/application" %>
| <% content_for :javascript_module_link do %>
<!-- load module javascript specifics -->
<%= javascript_pack_tag 'charters', 'data-turbolinks-track': true %>
<% end %>
<%= render template: "layouts/application" %>
| Fix wrong pack_tag load in charters layout | Fix wrong pack_tag load in charters layout
| HTML+ERB | agpl-3.0 | PopulateTools/gobierto-dev,PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto |
437a2a44ee6de529955fbf046dea369d237e09fd | app/views/gobierto_admin/shared/_admin_widget_moderate.html.erb | app/views/gobierto_admin/shared/_admin_widget_moderate.html.erb | <% if resource.moderable_has_moderation? && resource.moderation_policy.moderate? && resource.persisted? %>
<div class="widget_save_v2 m_b_2 moderator">
<div class="w_s_content">
<h4><%= t("gobierto_admin.shared.moderation_save_widget.moderation") %></h4>
<div class="form_item">
<div class=... | <% if resource.moderable_has_moderation? && resource.moderation_policy.moderate? && resource.persisted? %>
<div class="widget_save_v2 m_b_2 moderator">
<div class="w_s_content">
<h4><%= t("gobierto_admin.shared.moderation_save_widget.moderation") %></h4>
<div class="form_item">
<div class=... | Remove publish/unpublish button from moderation widget | Remove publish/unpublish button from moderation widget
| HTML+ERB | agpl-3.0 | PopulateTools/gobierto,PopulateTools/gobierto,PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto-dev,PopulateTools/gobierto-dev |
5fbff1d34686ed09ef8d5754a1b5e024bcecbcd8 | app/views/tweets/show.erb | app/views/tweets/show.erb | <h1> This is all of your tweets </h1>
<ul>
<div class="container">
<center><form action="/users/<%=@user.id%>/tweets" method="post">
Post a New Tweet:
<input type="text" name="body" placeholder="Your Tweet here"><input type="submit" value="Tweet">
</form></center>
</div>
<%@user.tweets.each do |tweet| %>
<li><%= t... | <h1> This is all of your tweets </h1>
<ul>
<div class="container">
<center><form action="/users/<%=@user.id%>/tweets" method="post">
Post a New Tweet:
<input type="text" name="body" placeholder="Your Tweet here"><input type="submit" value="Tweet">
</form></center>
</div>
<%@user.tweets.each do |tweet| %>
<li><%= t... | Update personal tweet to display the username | Update personal tweet to display the username
| HTML+ERB | mit | UmarFBajwa/rackup-twitter,UmarFBajwa/rackup-twitter,UmarFBajwa/rackup-twitter |
a3f1d748ee170727d812fb2d2de288caf2b1056c | app/views/votes/_vote.erb | app/views/votes/_vote.erb | <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'><%#= helper method to co... | <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'><%= get_score(voteable) ... | Edit vote view to call get_score method on display | Edit vote view to call get_score method on display
| HTML+ERB | mit | katekourbatova/helium-overflow,katekourbatova/helium-overflow,katekourbatova/helium-overflow |
d7bcc1a7d2eb91d1312effad16a2a790a11d293c | config/deploy/versions-list-update-monthly.yaml.erb | config/deploy/versions-list-update-monthly.yaml.erb | apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: versions-list-update-monthly
labels:
name: versions-list-update-monthly
spec:
concurrencyPolicy: Forbid
schedule: "0 0 1 * *"
jobTemplate:
spec:
template:
metadata:
labels:
name: versions-list-update-monthly
... | Add cronjob to update versions.list in s3 monthly | Add cronjob to update versions.list in s3 monthly
It will keep sql query cost of dynamic part of versions.list low
and fix checksum mismatch (if any) due to unresolvable dependencies
during gem push.
| HTML+ERB | mit | rubygems/rubygems.org,rubygems/rubygems.org,sonalkr132/rubygems.org,sonalkr132/rubygems.org,rubygems/rubygems.org,rubygems/rubygems.org,sonalkr132/rubygems.org,sonalkr132/rubygems.org | |
c65c3f429b059f7e04c488ff2a9c7a134a9a66d3 | release/jobs/redis/templates/redis.conf.erb | release/jobs/redis/templates/redis.conf.erb | daemonize no
pidfile /var/vcap/sys/run/redis/redis.pid
port <%= p("redis.port") %>
<% if_p("redis.listen_address") do |listen_address| %>
bind <%= listen_address %>
<% end %>
timeout 300
loglevel notice
logfile stdout
databases 16
dir /var/vcap/store/redis
requirepass <%= p("redis.password") %>
maxmemory-policy noevict... | daemonize no
pidfile /var/vcap/sys/run/redis/redis.pid
port <%= p("redis.port") %>
<% if_p("redis.listen_address") do |listen_address| %>
bind <%= listen_address %>
<% end %>
timeout 300
loglevel notice
logfile ""
databases 16
dir /var/vcap/store/redis
requirepass <%= p("redis.password") %>
maxmemory-policy noeviction
... | Fix redis logs to go to stdout | Fix redis logs to go to stdout
Signed-off-by: Scott Weiss <d7ffd8c82880297e34f0c7604aca8f108ed9c851@cornell.edu>
| HTML+ERB | apache-2.0 | barthy1/bosh,barthy1/bosh,barthy1/bosh,barthy1/bosh |
df03ae8b2519aa409d5262cb1ea0669ec2a43b9b | resources/templates/installer_common/run_installer_as_root.txt.erb | resources/templates/installer_common/run_installer_as_root.txt.erb | <red>Permission problems</red>
This installer must be able to write to the following directory:
<b><%= @dir %></b>
But it can't do that, because you're running the installer as <b><%= `whoami`.strip %></b>.
Please re-run this installer using <%= @sudo %>:
<b><%= @sudo_s_e %>
export PATH='<%= ENV['PATH'] %>'
... | <red>Permission problems</red>
This installer must be able to write to the following directory:
<b><%= @dir %></b>
But it can't do that, because you're running the installer as <b><%= `whoami`.strip %></b>.
Please re-run this installer using <%= @sudo %>:
<b>export ORIG_PATH="$PATH"
<%= @sudo_s_e %>
export ... | Make the installer-run-as-sudo output less intimidating | Make the installer-run-as-sudo output less intimidating
| HTML+ERB | mit | phusion/passenger,cgvarela/passenger,kewaunited/passenger,kewaunited/passenger,clemensg/passenger,clemensg/passenger,cgvarela/passenger,clemensg/passenger,antek-drzewiecki/passenger,cgvarela/passenger,antek-drzewiecki/passenger,cgvarela/passenger,kewaunited/passenger,antek-drzewiecki/passenger,antek-drzewiecki/passenge... |
e254432754771cd004bfaadb3b7804c5cd2577b7 | backend/app/views/spree/admin/shared/_configuration_menu.html.erb | backend/app/views/spree/admin/shared/_configuration_menu.html.erb | <%# This file holds the tabs for the "General" settings area. It has this
filename to maintain compatibility with extensions which add their own menu
entires through deface. %>
<% content_for :tabs do %>
<nav>
<ul class="tabs" data-hook="admin_configurations_sidebar_menu">
<% if can?(:edit, :general... | <%# This file holds the tabs for the "General" settings area. It has this
filename to maintain compatibility with extensions which add their own menu
entires through deface. %>
<% content_for :tabs do %>
<nav>
<ul class="tabs" data-hook="admin_configurations_sidebar_menu">
<% if can?(:edit, :general... | Change wording in the store tabs partial | Change wording in the store tabs partial
| HTML+ERB | bsd-3-clause | Arpsara/solidus,jordan-brough/solidus,Arpsara/solidus,pervino/solidus,Arpsara/solidus,pervino/solidus,Arpsara/solidus,jordan-brough/solidus,pervino/solidus,jordan-brough/solidus,jordan-brough/solidus,pervino/solidus |
a286407207734a090bd7c2e7866978e9ed020827 | templates/named.conf.options.erb | templates/named.conf.options.erb | options {
directory "/var/cache/bind";
// If there is a firewall between you and nameservers you want
// to talk to, you may need to fix the firewall to allow multiple
// ports to talk. See http://www.kb.cert.org/vuls/id/800113
// If your ISP provided one or more IP addresses for stable
// nam... | options {
directory "/var/cache/bind";
// If there is a firewall between you and nameservers you want
// to talk to, you may need to fix the firewall to allow multiple
// ports to talk. See http://www.kb.cert.org/vuls/id/800113
// If your ISP provided one or more IP addresses for stable
// nam... | Move closing brace to the right place | Move closing brace to the right place
| HTML+ERB | mit | credativ/puppet-bind,credativ/puppet-bind |
bdad8aa1cc3dc703e06952f33de111f621956d2a | templates/named.conf.options.erb | templates/named.conf.options.erb | # MANAGED BY PUPPET (bind/templates)
options {
directory "/var/cache/bind";
// If there is a firewall between you and nameservers you want
// to talk to, you may need to fix the firewall to allow multiple
// ports to talk. See http://www.kb.cert.org/vuls/id/800113
// If your ISP provided one or mo... | # MANAGED BY PUPPET (bind/templates)
options {
directory "/var/cache/bind";
// If there is a firewall between you and nameservers you want
// to talk to, you may need to fix the firewall to allow multiple
// ports to talk. See http://www.kb.cert.org/vuls/id/800113
// If your ISP provided one or mo... | Check for each() support in ruby template. | Check for each() support in ruby template.
| HTML+ERB | mit | credativ/puppet-bind,credativ/puppet-bind |
6847028438feb2e3afb4c02bc4d27074d2d5a497 | app/views/answers/_answer.html.erb | app/views/answers/_answer.html.erb | <p><%= answer.content %></p>
<div>by: <%= answer.answerer.username %></div> | <p>Answer: <strong><%= answer.content %></strong></p>
<div>Answered by: <%= answer.answerer.username %></div>
<%= link_to "comment", new_answer_response_path(answer) %>
<%= render :partial => "responses/response", :collection => answer.responses %>
<hr> | Add answer comments to answers view | Add answer comments to answers view
| HTML+ERB | mit | jeder28/stack_overphil,jeder28/stack_overphil,jeder28/stack_overphil |
67888df133675fb976ba1172ac30e7a9e98d97f8 | app/views/line_items/create.js.erb | app/views/line_items/create.js.erb | if ($('#cart tr').length == 1) { $('#cart').show('blind', 1000); }
$('#cart').html("<%= escape_javascript render(@cart) %>");
$('#current_item').css({'background-color':'#88ff88'}).
animate({'background-color':'#114411'}, 1000); | $('#notice').hide();
if ($('#cart tr').length == 1) { $('#cart').show('blind', 1000); }
$('#cart').html("<%= escape_javascript render(@cart) %>");
$('#current_item').css({'background-color':'#88ff88'}).
animate({'background-color':'#114411'}, 1000); | Hide notice when create new cart | Hide notice when create new cart
| HTML+ERB | mit | Kraykin/internet-shop-beta,Kraykin/internet-shop-beta,Kraykin/internet-shop-beta |
9644b917161bdde2f154154e5948693b015f086e | app/views/admin/index.html.erb | app/views/admin/index.html.erb | <% if is_admin? %>
<div class="item-container">
<span class="page-header">
<h1>Admin Item View</h1>
<p><%= link_to "CREATE NEW ITEM", new_item_path %> | <%= link_to "CREATE NEW CATEGORY", new_category_path %> </p>
</span>
<div class="individual-category-container">
<% @categories.each ... | <% if is_admin? %>
<div class="item-container">
<span class="page-header">
<h1>Admin Item View</h1>
<p><%= link_to "CREATE NEW ITEM", new_item_path %> | <%= link_to "CREATE NEW CATEGORY", new_category_path %> </p>
</span>
<div class="individual-category-container">
<% @categories.each ... | Update individual item edit/delete link text visible to user | Update individual item edit/delete link text visible to user
| HTML+ERB | mit | benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop |
65ab81869779694c7ca88e2a0becec8f508d0bd6 | app/views/admin/login.html.erb | app/views/admin/login.html.erb | <h1> Admin Login </h1>
<%= form_tag("/sessions", method: "post") do %>
<label for="username">username</label>
<input required="required" type="text" name="username" id="username" />
<br>
<label for="password">password</label>
<input required="required" type="text" name="password" id="password" />
<br>
<b... | <h1> Admin Login </h1>
<%= form_tag("/sessions", method: "post") do %>
<label for="username">username</label>
<input required="required" type="text" name="username" id="username" />
<br>
<label for="password">password</label>
<input required="required" type="password" name="password" id="password" />
<br>
... | Mask password input on admin login | Mask password input on admin login
| HTML+ERB | mit | rasnom/sorryyoufeelthatway,rasnom/sorryyoufeelthatway,rasnom/sorryyoufeelthatway |
6e0b7ca9717e2fc5d02b3a1987c8079885a45f33 | modules/govuk/templates/sidekiq_monitoring_nginx_config.conf.erb | modules/govuk/templates/sidekiq_monitoring_nginx_config.conf.erb | # This file is managed by Puppet. Local changes will be clobbered.
server {
server_name <%= @full_domain %>;
listen localhost:80;
proxy_connect_timeout 1s;
proxy_read_timeout 15s;
access_log /var/log/nginx/<%= @full_domain %>-access.log timed_combined;
access_log /var/log/nginx/<%= @full_domain %>-json.... | # This file is managed by Puppet. Local changes will be clobbered.
server {
server_name <%= @full_domain %>;
listen localhost:80;
proxy_connect_timeout 1s;
proxy_read_timeout 15s;
access_log /var/log/nginx/<%= @full_domain %>-access.log timed_combined;
access_log /var/log/nginx/<%= @full_domain %>-json.... | Add a path for rummager sidekiq monitoring | Add a path for rummager sidekiq monitoring
To allow monitoring of the rummager sidekiq queue, add
a path to the nginx vhost
https://www.pivotaltracker.com/story/show/82640998
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
e3a7ee76d6822c7186197a0d1c914536b1c635c3 | app/views/meetings/show.html.erb | app/views/meetings/show.html.erb | <p id="notice"><%= notice %></p>
<div class='show-meeting'>
<h2><%= @meeting.display_date %></h2>
<h4><%= @meeting.time %></h4>
<% if current_user %>
<%= link_to 'Edit', edit_meeting_path(@meeting) %> |
<% end %>
<% destination = @meeting.date < Date.today ? past_meetings_path : upcoming_meetings_path... | <p id="notice"><%= notice %></p>
<div class='show-meeting'>
<h2><%= @meeting.display_date %></h2>
<h4><%= @meeting.time %></h4>
<p><%= @meeting.description %></p>
<% if current_user %>
<%= link_to 'Edit', edit_meeting_path(@meeting) %> |
<% end %>
<% destination = @meeting.date < Date.today ? past_me... | Add meting description to view page | Add meting description to view page
| HTML+ERB | unlicense | danascheider/testrubypdx,danascheider/testrubypdx,danascheider/testrubypdx |
ec21f4e1023912022a44e5eb44cd5ef98c53efcb | app/views/trails/show.html.erb | app/views/trails/show.html.erb | <div>
<h2><%= @trail.name %></h2>
</div>
<div class="comment-form">
<%= form_for @comment do |f| %>
<p>
<%= f.text_area :content %>
<%= f.hidden_field :trail_id, :value => params[:id] %>
</p>
<p>
<%= f.submit 'Share' %>
</p>
<% end %>
</div>
<div class="river">
<%= render 'river', :comments => @... | <div>
<h2><%= @trail.name %></h2>
</div>
<div class="comment-form">
<%= form_for @comment do |f| %>
<p>
<%= f.text_area :content %>
<%= f.hidden_field :trail_id, :value => params[:id] %>
</p>
<p>
<%= f.submit 'Share' %>
</p>
<% end %>
</div>
<div class="river">
<%= render 'river', :comments => @... | Complete navigation from Trail Comments to Trail List | Complete navigation from Trail Comments to Trail List
| HTML+ERB | mit | zlschatz/Mountain-Chat-Rails-App,zlschatz/Mountain-Chat-Rails-App,zlschatz/Mountain-Chat-Rails-App |
8d6ce88e42dd3bd82193a412630e6d6f70681e74 | backend/app/views/spree/admin/promotions/_promotion_action.html.erb | backend/app/views/spree/admin/promotions/_promotion_action.html.erb | <div class="promotion_action promotion-block <%= promotion_action.type.to_s.demodulize.underscore %>" id="<%= dom_id promotion_action %>">
<% type_name = promotion_action.class.name.demodulize.underscore %>
<h6 class="promotion-title"><%= promotion_action.class.human_attribute_name(:description) %></h6>
<% if can... | <div class="promotion_action promotion-block <%= promotion_action.model_name.element %>" id="<%= dom_id promotion_action %>">
<% type_name = promotion_action.model_name.element %>
<h6 class="promotion-title"><%= promotion_action.class.human_attribute_name(:description) %></h6>
<% if can?(:destroy, promotion_actio... | Use i18n model_name method for promo actions | Use i18n model_name method for promo actions
Instead of demodulizing we can use the provided i18n method to grab the
element name
| HTML+ERB | bsd-3-clause | pervino/solidus,pervino/solidus,pervino/solidus,pervino/solidus |
95dd3d585b533d23aae1fda5d05ae6966e8e87ea | templates/travis.yml.erb | templates/travis.yml.erb | language: ruby
rvm: <%= RUBY_VERSION %>
cache: bundler
before_install:
- "echo 'gem: --no-document' > ~/.gemrc"
- "echo '--colour' > ~/.rspec"
before_script:
- cp .sample.env .env
- bundle exec rake db:create db:schema:load RAILS_ENV=test
notifications:
email: false
| language: ruby
rvm: <%= RUBY_VERSION %>
addons:
- postgresql: '9.3'
cache: bundler
before_install:
- "echo 'gem: --no-document' > ~/.gemrc"
- "echo '--colour' > ~/.rspec"
before_script:
- cp .sample.env .env
- bundle exec rake db:create db:schema:load RAILS_ENV=test
notifications:
email: false
| Use PostgreSQL 9.3 on Travis CI Heroku's default is Postgres 9.3 [1], but Travis' default is Postgres 9.1 | Use PostgreSQL 9.3 on Travis CI
Heroku's default is Postgres 9.3 [1], but Travis' default is Postgres 9.1 [2]
[1]: https://devcenter.heroku.com/articles/heroku-postgresql#version-support
[2]: http://docs.travis-ci.com/user/using-postgresql/
| HTML+ERB | mit | craftsmen/roll,craftsmen/roll,craftsmen/roll |
a0c0560a46c184a76c4664f5cb265aa801a14c43 | app/views/blog/shared/_post.html.erb | app/views/blog/shared/_post.html.erb | <li>
<h2><%= link_to post.title, blog_post_url(post) %></h2>
<p class='posted_at'>
<%= post.created_at.strftime("#{to_ordinal(post.created_at.day)} of %B, %Y") %>
</p>
<div class='clearfix'>
<%= raw truncate(strip_tags(post.body), :length => RefinerySetting.find_or_set(:blog_post_teaser_length, 20), :om... | <li>
<h2><%= link_to post.title, blog_post_url(post) %></h2>
<p class='posted_at'>
<%= post.created_at.strftime("#{to_ordinal(post.created_at.day)} of %B, %Y") %>
</p>
<div class='clearfix'>
<%= simple_format(raw truncate(strip_tags(post.body), :length => RefinerySetting.find_or_set(:blog_post_teaser_le... | Fix bad formatted blog posts in posts list | Fix bad formatted blog posts in posts list
| HTML+ERB | mit | Vizzuality/methanehydrates,Vizzuality/methanehydrates,Vizzuality/methanehydrates |
4797df4860db8435075c32ec978d697c11450f5f | app/views/shared/_marketing.html.erb | app/views/shared/_marketing.html.erb | <div class="row">
<div class="col-md-4 text-center", style="padding:20px;">
<span class="fa-stack fa-5x">
<i class="fa fa-circle fa-stack-2x marketing-icon"></i>
<i class="fa fa-flag fa-stack-1x fa-inverse"></i>
</span>
<p class="lead">About TransAM</p>
<p class="content-body">TransAM is an op... | Add missing marketing partial to core | Add missing marketing partial to core
| HTML+ERB | mit | camsys/transam_core,nycdot/transam_core,nycdot/transam_core,camsys/transam_core,camsys/transam_core,nycdot/transam_core,camsys/transam_core | |
cf04b3f29c8610536d1f21210169901227904002 | ci_environment/travis_build_environment/templates/default/etc/environment.sh.erb | ci_environment/travis_build_environment/templates/default/etc/environment.sh.erb | PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
JAVA_HOME="<%= node.java.java_home %>"
DEBIAN_FRONTEND=noninteractive
TRAVIS=true
CI=true
LC_CTYPE=en_US.UTF-8
LC_ALL=en_US.UTF-8
LANG=en_US.UTF-8
| PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
JAVA_HOME="<%= node.java.java_home %>"
DEBIAN_FRONTEND=noninteractive
TRAVIS=true
CI=true
CONTINUOUS_INTEGRATION=true
LC_CTYPE=en_US.UTF-8
LC_ALL=en_US.UTF-8
LANG=en_US.UTF-8
| Add CONTINUOUS_INTEGRATION ENV variable as an alias for CI and TRAVIS ENV variables. | Add CONTINUOUS_INTEGRATION ENV variable as an alias for CI and TRAVIS ENV variables. | HTML+ERB | mit | tianon/travis-cookbooks,Distelli/travis-cookbooks,spurti-chopra/travis-cookbooks,Distelli/travis-cookbooks,gavioto/travis-cookbooks,travis-ci/travis-cookbooks,gavioto/travis-cookbooks,travis-ci/travis-cookbooks,johanneswuerbach/travis-cookbooks,ardock/travis-cookbooks,Zarthus/travis-cookbooks,spurti-chopra/travis-cookb... |
e711ecb30c960d4de7f56a502457d68bb8ab6a9d | templates/default/default_redis-server.erb | templates/default/default_redis-server.erb | # redis-server configure options
# ULIMIT: Call ulimit -n with this argument prior to invoking Redis itself.
# This may be required for high-concurrency environments. Redis itself cannot
# alter its limits as it is not being run as root. (default: do not call
# ulimit)
#
# ULIMIT=65536
| # redis-server configure options
# ULIMIT: Call ulimit -n with this argument prior to invoking Redis itself.
# This may be required for high-concurrency environments. Redis itself cannot
# alter its limits as it is not being run as root. (default: do not call
# ulimit)
#
<% if node["redis"]["ulimit"] && !node["redis"]... | Add redis ulimit attribute to default/redis-server template | Add redis ulimit attribute to default/redis-server template
| HTML+ERB | mit | phlipper/chef-redis |
014ded5a1ab3b800a8a118b6816c8f0c6208c133 | layouts/default/templates/header.php.erb | layouts/default/templates/header.php.erb | <html <?php language_attributes( 'html' ) ?>>
<head>
<title><?php wp_title(); ?></title>
<!-- Basic Meta Data -->
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<!-- WordPress -->
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<d... | <html <?php language_attributes( 'html' ) ?>>
<head>
<title><?php wp_title(); ?></title>
<!-- Basic Meta Data -->
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<!-- WordPress -->
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<d... | Use spaces instead of tabs for inline array spacing in the header. | Use spaces instead of tabs for inline array spacing in the header.
| HTML+ERB | mit | rdrew/forge,thethemefoundry/forge,rdrew/forge,rdrew/forge,nylin/forge,rdrew/forge,nylin/forge,thethemefoundry/forge,nylin/forge,thethemefoundry/forge |
262ad20846b7da56da702df78f934c48a2769705 | services/QuillComprehension/app/views/question_sets/show.html.erb | services/QuillComprehension/app/views/question_sets/show.html.erb | <div class="subnav">
<div class="container d-fl-r jc-sb">
<div class="subnav-left">
<div class="subnav-item"><%= @question_set.prompt %></div>
</div>
<div class="subnav-right">
<div class="subnav-item"><%= link_to 'Edit', edit_question_set_path(@question_set) %></div>
<div class="subnav-... | <div class="subnav">
<div class="container d-fl-r jc-sb">
<div class="subnav-left">
<div class="subnav-item"><%= @question_set.prompt %></div>
</div>
<div class="subnav-right">
<div class="subnav-item"><%= link_to 'Edit', edit_question_set_path(@question_set) %></div>
<div class="subnav-... | Add table of questions to question_sets | Add table of questions to question_sets
| HTML+ERB | agpl-3.0 | empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core |
8e5c5d5c5b9832c9ed9bdebf74615b66557fda3f | templates/default/plugin.conf.erb | templates/default/plugin.conf.erb | #
# This file is generated by Chef
# Do not edit, changes will be overwritten
#
LoadPlugin "<%= @name %>"
<% if not @options.empty? %>
<Plugin "<%= @name %>">
<% @options.each_pair do |key, value|
if value.is_a? Array
value.each do |subvalue| %>
<%= collectd_key(key) %> <%= collectd_option(subvalue) %>
... | #
# This file is generated by Chef
# Do not edit, changes will be overwritten
#
LoadPlugin "<%= @type %>"
<% if not @config.empty? %>
<Plugin "<%= @type %>">
<% @config.each_pair do |key, value|
if value.is_a? Array
value.each do |subvalue| %>
<%= collectd_key(key) %> <%= collectd_option(subvalue) %>
... | Update the names of the variables to match those passed in | Update the names of the variables to match those passed in
| HTML+ERB | apache-2.0 | realityforge/chef-collectd |
0c88356c06feef61fec84fb9a1a12b789b435fac | app/views/forem/posts/_user_details.html.erb | app/views/forem/posts/_user_details.html.erb | <div class='user'>
<div class='username'><%= user -%></div>
<div class='icon'></div>
<div class='member-for'>member for 3 months</div>
</div>
| <div class='user'>
<div class='username'><%= user -%></div>
<div class='icon'></div>
</div>
| Remove 'member for 3 months' from user details | Remove 'member for 3 months' from user details
| HTML+ERB | mit | dmitry-ilyashevich/forem,filiptepper/forem,filiptepper/forem,STRd6/forem,szymon-przybyl/forem,substantial/forem,szymon-przybyl/forem,nruth/forem,dmitry-ilyashevich/forem,substantial/forem,frankel/forem,isotope11/forem,nruth/forem,caffo/forem,STRd6/forem,frankel/forem,isotope11/forem,caffo/forem |
ec1e28483eea62e2e8e1c515e7b23da3f1fbd208 | app/views/layouts/admin/application.html.erb | app/views/layouts/admin/application.html.erb | <%#
# Application Layout
This view template is used as the layout
for every page that Administrate generates.
By default, it renders:
- Sidebar for navigation
- Content for a search bar
(if provided by a `content_for` block in a nested page)
- Flashes
- Links to stylesheets and Javascripts
%>
<!DOCTYPE html>
<html... | Include a customized application layout for the admin panel | Include a customized application layout for the admin panel
Gets us sign-in/sign-out links at the top
| HTML+ERB | mit | bjmllr/habitat_humanity,rubyforgood/habitat_humanity,rubyforgood/habitat_humanity,rubyforgood/habitat_humanity,bjmllr/habitat_humanity,bjmllr/habitat_humanity | |
b28f999dd82766fec1b8368654789cfe0088d0f8 | app/views/partials/ctas/_live-report.html.erb | app/views/partials/ctas/_live-report.html.erb | <section class="cta--<%= cta_live_report.css_class %> bg--grey-xdark">
<div class="container cta__container">
<div class="cta__content">
<% if cta_live_report.updated %>
<span class="cta__ribbon"><%= t('global.status.updated') %></span>
<% end %>
<div>
<h2 class="cta__title h2-b... | <section class="cta--<%= cta_live_report.css_class %> bg--grey-xdark">
<div class="container cta__container">
<div class="cta__content">
<% if cta_live_report.updated %>
<span class="cta__ribbon"><%= t('global.status.updated') %></span>
<% end %>
<div>
<h2 class="cta__title h2-b... | Add flex no shrink to the button so the text doesn't stack if there is a large amount of intro text on the left | ST: Add flex no shrink to the button so the text doesn't stack if there is a large amount of intro text on the left
| HTML+ERB | bsd-3-clause | unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet |
7c33ee7bcd2cdb9cf54113d836f348e0cd0a3d1b | app/views/root/_footer_support_links.html.erb | app/views/root/_footer_support_links.html.erb | <h2 class="visuallyhidden">Support links</h2>
<ul>
<li><a href="/help">Help</a></li>
<li><a href="/help/cookies">Cookies</a></li>
<li><a href="/contact">Contact</a></li>
<li><a href="/cymraeg">Rhestr o Wasanaethau Cymraeg</a></li>
<li>Built by the <a href="https://www.gov.uk/government/organisations/governmen... | <h2 class="visuallyhidden">Support links</h2>
<ul>
<li><a href="/help">Help</a></li>
<li><a href="/help/cookies">Cookies</a></li>
<li><a href="/contact">Contact</a></li>
<li><a href="/help/terms-conditions">Terms and conditions</a></li>
<li><a href="/cymraeg">Rhestr o Wasanaethau Cymraeg</a></li>
<li>Built ... | Add a link to GOV.UK's Terms and Conditions to the footer | Add a link to GOV.UK's Terms and Conditions to the footer
- It was advised that we include this link prominently in the (rare)
event of legal action against us for something on the site.
Trello:
https://trello.com/c/cZrYVw6E/258-gov-uk-terms-and-conditions-need-to-appear-in-the-footer
| HTML+ERB | mit | kalleth/static,alphagov/static,alphagov/static,kalleth/static,kalleth/static,kalleth/static,alphagov/static |
29577cd15145e3372aa584db985ba640d6d59c02 | app/views/interviews/new.html.erb | app/views/interviews/new.html.erb | <header class="page-header">
<h3><%= @interview.posting.title %> <span>at</span> <%= @interview.posting.hiring_organization %></h3>
<h1>Schedule an interview</h1>
</header>
<%= render 'form' %>
| <header class="page-header">
<h3><%= @interview.posting.title %> <span>at</span> <%= @interview.posting.hiring_organization %></h3>
<h1>Schedule an interview</h1>
</header>
<%= render 'form', location: "new-interview" %>
| Fix error in 'schedule new interview' page. | Fix error in 'schedule new interview' page.
| HTML+ERB | apache-2.0 | sarahmonster/suitor,sarahmonster/suitor,sarahmonster/suitor |
1de7d21ad608220b150c41b78d12184b6f6bd6d1 | app/views/friends/search.html.erb | app/views/friends/search.html.erb | <div class="container">
<div class="row">
<div class="col s12">
<h3 class="centera-lign page-title">Search Results: <%= @results.count %></h3>
</div>
</div>
<div class="row">
<%= render partial: "friend_card", collection: @results, as: :friend %>
</div>
</div>
| Create the search users template | Create the search users template
| HTML+ERB | mit | juanhenriquez/move-rails,juanhenriquez/move-rails,juanhenriquez/move-rails | |
ef0e2bc8290901d1f7a5b5c3004505867adea638 | app/views/mappings/_tags.html.erb | app/views/mappings/_tags.html.erb | <% if mapping.taggings.any? %>
<span class="rm">Tagged with:</span>
<ul class="tag-list remove-bottom-margin pull-right">
<% mapping.taggings.each do |tagging| %>
<% tag = tagging.tag.to_s %>
<li>
<% if @filter.tags.include?(tag) %>
<span class="tag tag-active"><%= tag %></span>
... | <% if mapping.taggings.any? %>
<span class="rm">Tagged with:</span>
<ul class="tag-list remove-bottom-margin pull-right">
<% mapping.taggings.each do |tagging| %>
<% tag = tagging.tag.to_s %>
<li>
<% if @filter %>
<% if @filter.tags.include?(tag) %>
<span class="tag tag... | Kill two bugs with one bird | Kill two bugs with one bird
* Stop @filter blowing up in the saved mappings modal because
_tags assumes it's only ever being used from MappingsController#index
* Don't make the tags links when we're not on MappingsController#index
| HTML+ERB | mit | alphagov/transition,alphagov/transition,alphagov/transition |
c84184cafcec12d718c128c36eeb2b17556183a5 | app/views/projects/index.html.erb | app/views/projects/index.html.erb | <% @title = 'Projects' %>
<% if @projects.empty? %>
<p><i>No projects have been created.</i></p>
<% else %>
<ul>
<% @projects.each do |project| %>
<li>
<%= link_to project.name, :controller => :projects, :action => :show, :id => project.id -%>
(<%= pluralize(project.nodes.count, "model") -%>)
</li>
<%... | <% @title = 'Projects' %>
<p><%= link_to "Create a new project", :controller => :projects, :action => :new -%></p>
<br />
<% if @projects.empty? %>
<p><i>No projects have been created.</i></p>
<% else %>
<ul>
<% @projects.each do |project| %>
<li>
<%= link_to project.name, :controller => :projects, :action =... | Add better link to new projects | Add better link to new projects
Former-commit-id: c40ef295b3ad41bbefc47ec1224bbe85fd6310d0 | HTML+ERB | agpl-3.0 | reuven/modelingcommons,reuven/modelingcommons,reuven/modelingcommons,reuven/modelingcommons,reuven/modelingcommons,reuven/modelingcommons,reuven/modelingcommons |
4a3097cb0fe8e48a73642aab858e78659c634b6e | app/views/questions/_new.html.erb | app/views/questions/_new.html.erb | <div id="modal1" class="modal">
<div class="modal-content"><div class="row">
<form class="col s12">
<div class="row">
<div class="input-field col s12">
<input id="question" type="text">
<label for="question">Question</label>
</div>
</div>
<div class="modal-f... | Add create form partial for questions | Add create form partial for questions
| HTML+ERB | mit | chi-dragonflies-2015/FAQrator,chi-dragonflies-2015/FAQrator,chi-dragonflies-2015/FAQrator | |
d3090b7db7b8102e15d58175074c6f1d67bb6033 | app/views/rubygems/index.html.erb | app/views/rubygems/index.html.erb | <%= form_tag :rubygems, method: :get, remote: true, class: "well form-search", id: "gems-search" do %>
<%= link_to "Upload a Gemfile", new_gemfile_check_path, class: "btn btn-primary" %>
<span style="padding-left: 10px; padding-right:10px">OR</span>
<%= text_field_tag :query, nil, placeholder: "Search the name of... | <%= form_tag :rubygems, method: :get, remote: true, class: "well form-search", id: "gems-search" do %>
<%= link_to "Upload a Gemfile", new_gemfile_check_path, class: "btn btn-primary" %>
<span style="padding-left: 10px; padding-right:10px">OR</span>
<%= text_field_tag :query, nil, placeholder: "Search the name of... | Add title for recent gems | Add title for recent gems
| HTML+ERB | mit | rubyperu/ready4rails,rubyperu/ready4rails,rubyperu/ready4rails |
6cb0f2011958a3fb944d98607942efd8232eac3f | app/views/setup/changes/index.erb | app/views/setup/changes/index.erb |
<h1>Show changes</h1>
<table class="table">
<thead>
<tr>
<th>What</th>
<th>Event</th>
<th>Auteur</th>
<th>When</th>
<th>Change</th>
</tr>
</thead>
<tbody>
<% @versions.each do |version| %>
<tr>
<td><%= version.item_type %>-<%=version.item_id%></td>
<td><%= version... |
<h1>Show changes</h1>
<table class="table">
<thead>
<tr>
<th>What</th>
<th>Event</th>
<th>User</th>
<th>When</th>
<th>Change</th>
</tr>
</thead>
<tbody>
<% @versions.each do |version| %>
<tr>
<td><%= version.item_type %>-<%=version.item_id%></td>
<td><%= version.e... | Change the field name to 'User' | Change the field name to 'User'
| HTML+ERB | mit | BLSQ/orbf2,BLSQ/orbf2,BLSQ/orbf2,BLSQ/orbf2 |
f7f9100111f3b57fbb48944f44cdecf97be56a23 | app/views/images/_tiles.html.erb | app/views/images/_tiles.html.erb | <div class="pure-u-1 tiles">
<% images.each do |image| %>
<div class="tile">
<%= edit_mode_checkbox(image) %>
<%= link_to image_path(image), class: 'pure-hidden-tablet pure-hidden-desktop small-img' do %>
<%= image_tag(image.file.url(:thumb)) %>
<% end %>
<%= link_to image_path(i... | <div class="pure-u-1 tiles">
<% images.each do |image| %>
<div class="tile" id="tile_<%= image.key %>">
<%= edit_mode_checkbox(image) %>
<%= link_to image_path(image), class: 'pure-hidden-tablet pure-hidden-desktop small-img' do %>
<%= image_tag(image.file.url(:thumb)) %>
<% end %>
... | Add an id to make my capybara life a lot easier | Add an id to make my capybara life a lot easier
| HTML+ERB | mit | Margatroid/uploadstuffto.me,Margatroid/uploadstuffto.me |
99ca0ecff679ffcf08e1980a5215d17e860d0d97 | app/views/members/index.html.erb | app/views/members/index.html.erb | <div class="alpha-group pagination">
<ul>
<%= pagination_item(link_to('All', alpha: nil), @alpha.nil?) %>
<% @groups.each do |letter| %>
<%= pagination_item(link_to(letter, alpha: letter), letter == @alpha) %>
<% end %>
</ul>
</div>
<p class="muted">This directory lists organisations who are curr... | <p class="muted">This directory lists organisations who are currently members of the ODI:</p>
<div class="alpha-group pagination">
<ul>
<%= pagination_item(link_to('All', alpha: nil), @alpha.nil?) %>
<% @groups.each do |letter| %>
<%= pagination_item(link_to(letter, alpha: letter), letter == @alpha) %>... | Move directory intro above filtering | Move directory intro above filtering
| HTML+ERB | mit | theodi/member-directory,theodi/member-directory,theodi/member-directory |
be4414b64e22b3ffd99293bee812852373daaf49 | app/views/profile/index.html.erb | app/views/profile/index.html.erb | <div ng-app="app">
<div ng-controller="ProfileIndexCtrl">
<p>{{ name }}</p>
<p>{{ id }}</p>
</div>
<div ng-controller="MatchesIndexCtrl">
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th>Date</th>
<th>Decision</th>
... | <div ng-app="app">
<div ng-controller="ProfileIndexCtrl">
<p>{{ name }}</p>
<p>{{ id }}</p>
</div>
<div ng-controller="MatchesIndexCtrl">
<div class="col-md-offset-2 col-md-8 col-md-offset-2">
<div class="table-responsive">
<table class="table table-striped">
<thead>
... | Add columns and center table | Add columns and center table
| HTML+ERB | mit | godspeedyoo/sc2tracker,godspeedyoo/sc2tracker,godspeedyoo/sc2tracker |
8ee02c96662392f0219b60d3c4b6ccd77808dfd0 | app/views/articles/_form.html.erb | app/views/articles/_form.html.erb | <%= form_with model: @article do |f| %>
<div class="form-group push-down">
<%= f.label(:article_title, :article_title.t + ":") %>
<%= f.text_field(:title, class: "form-control") %>
<div class="help-block">
<%= :form_article_title_help.t %>
<%= :field_textile_link.t %>
</div>
</div>
<... | <%= form_with model: @article do |f| %>
<div class="form-group push-down">
<%= f.label(:article_title, "#{:article_title.t}:") %>
<%= f.text_field(:title, class: "form-control") %>
<div class="help-block">
<%= :form_article_title_help.t %>
<%= :field_textile_link.t %>
</div>
</div>
<... | Replace string concatenacion with interpolation | Replace string concatenacion with interpolation
One less assignment/replacement
| HTML+ERB | mit | JoeCohen/mushroom-observer,JoeCohen/mushroom-observer,MushroomObserver/mushroom-observer,JoeCohen/mushroom-observer,MushroomObserver/mushroom-observer,MushroomObserver/mushroom-observer,MushroomObserver/mushroom-observer,JoeCohen/mushroom-observer,JoeCohen/mushroom-observer,MushroomObserver/mushroom-observer,MushroomOb... |
b9970cfe2ae2713c8b1b63eacc47a939259461e0 | app/views/categories/new.html.erb | app/views/categories/new.html.erb | <h2>This is where new category form will go.</h2> | <h2>This is where new category form will go.</h2>
<div class="form-container">
<div class="individual-form">
<h1>Create New Category</h1>
<%= render 'form', category: @category %>
</div>
</div> | Add code to render form / apply div classes to receive flexbox/CSS effects | Add code to render form / apply div classes to receive flexbox/CSS effects
| HTML+ERB | mit | benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop |
74e0c056a3f804925222a94d83a1a9eebdb50550 | app/views/groups/inquire.html.erb | app/views/groups/inquire.html.erb | <h2>Find your Neighbors!</h2>
<p>We need to know where you live so we can connect you to <strong>your</strong> neighbors.</p>
<%= form_tag do %>
<div class="field">
<%= label_tag :number, "Building Number" %>
<%= text_field_tag :number %>
</div>
<div class="field">
<%= label_tag :street, "Street" ... | <h3>Find your Neighbors!</h2>
<p>We need to know where you live so we can connect you to <strong>your</strong> neighbors.</p>
<%= form_for :address do |f| %>
<div class="field">
<%= f.label :street, "Street" %>
<%= f.text_field :street %>
</div>
<div class="field">
<%= f.label :city, "City" %>
... | Change the view such that the form has "nested" attributes for easier parsing in the Groups Controller. | Change the view such that the form has "nested" attributes for easier
parsing in the Groups Controller.
| HTML+ERB | mit | kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly,nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly |
4459f09d108545713d20bcb08e88e4e5fc84c95d | app/views/messages/_form.html.erb | app/views/messages/_form.html.erb | <h2 class="colorfont">
<%= t('mailbox.message.new') %>
</h2>
<%= form_tag messages_path, :method => :post , :class => "new_message" do %>
<% if @receipt and @receipt.errors.any? %>
<div class="error">
<h2>
<%= pluralize(@receipt.errors.count, "error") %> prohibited this message from being sent:
... | <%= form_tag messages_path, :method => :post , :class => "new_message" do %>
<% if @receipt and @receipt.errors.any? %>
<div class="error">
<h2>
<%= pluralize(@receipt.errors.count, "error") %> prohibited this message from being sent:
</h2>
<ul>
<% @receipt.errors.full_messages.e... | Remove text in message form | Remove text in message form
| HTML+ERB | agpl-3.0 | agordillo/vish,ging/vish,agordillo/vish,ging/vish_orange,agordillo/vish,agordillo/vish,ging/vish,ging/vish,suec78/vish_storyrobin,ging/vish_orange,ging/vish_orange,ging/vish,ging/vish_orange,suec78/vish_storyrobin,rogervaas/vish,suec78/vish_storyrobin,rogervaas/vish,rogervaas/vish,suec78/vish_storyrobin,ging/vish,roger... |
b578fc6ccfc5a87fb83130bc19a49b81a26ac7a7 | app/views/services/_form.html.erb | app/views/services/_form.html.erb | <div class="row centered">
<div class="panel panel-default col-sm-8 ">
<%= simple_form_for service do |f| %>
<%= render "layouts/application/form_errors", object: service %>
<p class="form-required">*Required fields</p>
<%= f.input :service_name %>
<%= f.input :description, ... | <div class="row centered">
<div class="panel panel-default col-sm-8 ">
<%= simple_form_for service do |f| %>
<%= render "layouts/application/form_errors", object: service %>
<p class="form-required">*Required fields</p>
<%= f.input :service_name %>
<%= f.input :description, as: :text, h... | Add ajax call on form submission | Add ajax call on form submission
| HTML+ERB | mit | Dom-Mc/fetch_it,Dom-Mc/fetch_it,Dom-Mc/fetch_it |
8ace0306786d33f50df35ff226d8591c3b1e6354 | app/views/dashboards/show.html.erb | app/views/dashboards/show.html.erb | <h2>Dashboard</h1>
<% if current_user.name.present? %>
<p>
Welcome <%= current_user.name %>!
</p>
<p>
Email address: <%= current_user.email || "<no email provided>" %>
</p>
<% else %>
<p>
Welcome! This user has no associated profile.
</p>
<% end %>
<h2>Solicitors</h2>
<%= render @dashboard.sol... | <h2>Dashboard</h1>
<% if current_user.name.present? %>
<p>
Welcome to your Defence Service Rota dashboard, <%= current_user.name %>.
<% if current_user.email.present? %>
<small>Logged in as: <%= current_user.email %></small>
<% end %>
</p>
<% else %>
<p>
Welcome to your Defence Service Rota... | Make dashboard message a little more friendly | Make dashboard message a little more friendly
| HTML+ERB | mit | ministryofjustice/defence-request-service-rota,ministryofjustice/defence-request-service-rota,ministryofjustice/defence-request-service-rota,ministryofjustice/defence-request-service-rota |
30074e2951ec5b7b6e0fba3379976f969ba0735a | app/views/questions/_form.html.erb | app/views/questions/_form.html.erb | <%= form_for(@question) do |f| %>
<div class="actions">
<%= f.text_field :title, placeholder: "Title" %><br>
<%= f.text_area :caption,placeholder: "Caption" %><br>
<%= f.text_field :image_path, placeholder: "Image URL" %><br>
<%= f.submit %>
</div>
<% end %>
| Add Form Partial to Create New Question | Add Form Partial to Create New Question
| HTML+ERB | mit | great-horned-owls-2014/dbc-what-is-this,great-horned-owls-2014/dbc-what-is-this | |
69e9c79b29dfecabe73ccf0f7612ef28ce35aff6 | app/views/questions/index.html.erb | app/views/questions/index.html.erb | <ul>
<% @questions.each do |question| %>
<li>
<%= link_to(question.title, question) %>
</li>
<% end %>
</ul>
<%= link_to("Create Question", new_question_path) %> | Add index view for Questions | Add index view for Questions
| HTML+ERB | mit | rock-doves-2014/DemBoyz-Overflow,rock-doves-2014/DemBoyz-Overflow | |
75a788f2e65e990765c9a987d2b8c250316c6d9b | app/views/application/_reference_as_part_of_concept_record.html.erb | app/views/application/_reference_as_part_of_concept_record.html.erb | <tr id="search-result-<%= reference.id %>"
class="search-result <%= 'fresh' if reference.fresh? %>"
data-get-url="<%= reference_path(reference.id) %>"
data-edit-url="<%= reference_tab_path(reference.id) %>"
data-base-url="<%= reference_path(reference.id) %>"
data-tab-url="<%= reference_tab_path(id: reference... | <tr id="search-result-<%= reference.id %>"
class="search-result <%= 'fresh' if reference.fresh? %>"
data-get-url="<%= reference_path(reference.id) %>"
data-edit-url="<%= reference_tab_path(reference.id) %>"
data-base-url="<%= reference_path(reference.id) %>"
data-tab-url="<%= reference_tab_path(id: reference... | Fix 1 wrong mapper link from bceeb47 in file that does not use 'search_result' variable name. | Fix 1 wrong mapper link from bceeb47 in file that does not use 'search_result' variable name.
| HTML+ERB | apache-2.0 | bio-org-au/nsl-editor,bio-org-au/nsl-editor,bio-org-au/nsl-editor,bio-org-au/nsl-editor |
3aa7b83967337928538bba827fa2722cbcb4ffb1 | lib/views/frontend/spree/checkout/payment/_paypal_braintree.html.erb | lib/views/frontend/spree/checkout/payment/_paypal_braintree.html.erb | <% id = payment_method.id %>
<%= render "spree/shared/paypal_braintree_head_scripts" %>
<% if current_store.braintree_configuration.paypal? %>
<%= render "spree/shared/paypal_checkout_button" %>
<% end %>
<% if current_store.braintree_configuration.credit_card? %>
<fieldset class="braintree-hosted-fields" data-b... | <% id = payment_method.id %>
<%= render "spree/shared/paypal_braintree_head_scripts" %>
<% if current_store.braintree_configuration.paypal? %>
<%= render "spree/shared/paypal_checkout_button" %>
<% end %>
<% if current_store.braintree_configuration.credit_card? %>
<fieldset class="braintree-hosted-fields" data-b... | Fix undefined local variable or method `id' error | Fix undefined local variable or method `id' error
Closes #222. It adds an `id` local variable to `spree/shared/apple_pay_button` partial rendering in order to give such partial access to the payment method id. | HTML+ERB | bsd-3-clause | solidusio/solidus_paypal_braintree,solidusio/solidus_paypal_braintree,solidusio/solidus_paypal_braintree,solidusio/solidus_paypal_braintree |
faa2a33db55002b687e219c5ddef395d16b56b52 | templates/contrail/contrail-dns.conf.erb | templates/contrail/contrail-dns.conf.erb | [DEFAULT]
rndc_config_file=rndc.conf
rndc_secret=xvysmOR8lnUQRBcunkC6vg==
log_file=/var/log/contrail/contrail-dns.log
log_level=SYS_NOTICE
log_local=1
[DISCOVERY]
server=<%= @discovery_server %>
[IFMAP]
user = <%= @ifmap_username %>
password = <%= @ifmap_password %>
| [DEFAULT]
named_config_file=named.conf
named_config_directory=/etc/contrail/dns
named_log_file=/var/log/named/bind.log
rndc_config_file=rndc.conf
rndc_secret=xvysmOR8lnUQRBcunkC6vg==
log_file=/var/log/contrail/contrail-dns.log
log_level=SYS_NOTICE
log_local=1
[DISCOVERY]
server=<%= @discovery_server %>
[IFMAP]
user =... | Add additional parameters for 2.0 | Add additional parameters for 2.0
| HTML+ERB | apache-2.0 | syseleven/puppet-contrail,syseleven/puppet-contrail,syseleven/puppet-contrail,syseleven/puppet-contrail |
d6e103b2f28abc36c119c848c31166e9deb21b77 | jobs/openvpn/templates/etc/openvpn.conf.erb | jobs/openvpn/templates/etc/openvpn.conf.erb | mode server
writepid /var/vcap/sys/run/openvpn/openvpn.pid
client-config-dir /var/vcap/jobs/openvpn/etc/ccd
ca /var/vcap/jobs/openvpn/etc/ca.crt
cert /var/vcap/jobs/openvpn/etc/server.crt
key /var/vcap/jobs/openvpn/etc/server.key
dh /var/vcap/jobs/openvpn/etc/dh.pem
<% if_p('openvpn.crl_pem') do %>
crl-verify /var/vcap... | mode server
writepid /var/vcap/sys/run/openvpn/openvpn.pid
client-config-dir /var/vcap/jobs/openvpn/etc/ccd
ca /var/vcap/jobs/openvpn/etc/ca.crt
cert /var/vcap/jobs/openvpn/etc/server.crt
key /var/vcap/jobs/openvpn/etc/server.key
dh /var/vcap/jobs/openvpn/etc/dh.pem
<% if_p('openvpn.crl_pem') do %>
crl-verify /var/vcap... | Move status log to ./sys/run/openvpn/status | Move status log to ./sys/run/openvpn/status | HTML+ERB | apache-2.0 | dpb587/openvpn-bosh-release,dpb587/openvpn-boshrelease,dpb587/openvpn-boshrelease,dpb587/openvpn-bosh-release,dpb587/openvpn-bosh-release |
ba9e6624a2fad7d015323307a7a2247203f01953 | app/views/results/index.html.erb | app/views/results/index.html.erb | <% @page_title = "Results: #{@year}" %>
<h2><%= @year %> Results</h2>
<%= render_page "shared/years", year: @year, discipline: @discipline %>
<%= render 'shared/disciplines', year: @year, discipline: @discipline %>
<% if RacingAssociation.current.result_questions_url %>
<div class="questions">
<%= link_to "Res... | <% @page_title = "Results: #{@year}" %>
<h2><%= @year %> Results</h2>
<%= render_page "shared/years", year: @year, discipline: @discipline %>
<%= render 'shared/disciplines', year: @year, discipline: @discipline %>
<% if RacingAssociation.current.result_questions_url %>
<div class="questions">
<%= link_to "Res... | Use event method, not @events for lazy loading | Use event method, not @events for lazy loading
| HTML+ERB | mit | scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails |
0db284fa09da27556cb89b72fb16a801e93303d3 | website/source/_ember_templates.html.erb | website/source/_ember_templates.html.erb | <!-- TODO Precompile ember templates -->
<script type="text/x-handlebars" data-template-name="demo">
{{outlet}}
</script>
<script type="text/x-handlebars" data-template-name="demo/step">
<div class="instruction-wrapper">
<div class="instruction">
<p>
<strong>{{model.humanName}}</strong>
<... | <!-- TODO Precompile ember templates -->
<script type="text/x-handlebars" data-template-name="demo">
{{outlet}}
</script>
<script type="text/x-handlebars" data-template-name="demo/step">
<div class="instruction-wrapper">
<div class="instruction">
<p>
<strong>{{model.humanName}}</strong>
<... | Use × instead of "X" | Use × instead of "X"
| HTML+ERB | mpl-2.0 | joelthompson/vault,LolalyLuo/vault,Caiyeon/vault,rnaveiras/vault,hartsock/vault,Banno/vault,tallpauley/vault,hartsock/vault,rnaveiras/vault,Aloomaio/vault,deverton/hashicorp-vault,kingland/vault,ryon/vault,rnaveiras/vault,hashicorp/vault,quixoten/vault,Aloomaio/vault,rnaveiras/vault,Banno/vault,rnaveiras/vault,Aloomaio... |
d476d0fc8b3c91636542aa824ae518c22c824750 | app/views/chat_rooms/show.html.erb | app/views/chat_rooms/show.html.erb | <h2>Welcome to the Chat</h2>
<h3>Chat Topics</h3>
<%= @chat_room.chats.first.topic.name %><br/>
<%= @chat_room.chats.last.topic.name %>
| Add initial show page for chat room | Add initial show page for chat room
| HTML+ERB | artistic-2.0 | nyc-dragonflies-2015/Speak-It,tgoldenberg/Speak-It,tgoldenberg/Speak-It,tgoldenberg/Speak-It,nyc-dragonflies-2015/Speak-It,nyc-dragonflies-2015/Speak-It | |
61ceeacf0ca5a31700f0d28ce31a4b36a1c3f112 | actionpack/lib/action_dispatch/middleware/templates/rescues/missing_exact_template.html.erb | actionpack/lib/action_dispatch/middleware/templates/rescues/missing_exact_template.html.erb | <header role="banner">
<h1>No view template for interactive request</h1>
</header>
<main id="container">
<h2><%= h @exception.message %></h2>
<div class="summary">
<p>
<strong>NOTE:</strong>Rails usually expects a controller action to render a view template with the same name.
</p>
<p>
... | <header role="banner">
<h1>No view template for interactive request</h1>
</header>
<main id="container">
<h2><%= h @exception.message %></h2>
<div class="summary">
<p>
<strong>NOTE:</strong> Rails usually expects a controller action to render a view template with the same name.
</p>
<p>
... | Correct missing template error page - Correct controller path "app/controller/books_controller.rb" to "app/controllers/books_controller.rb" - Add space after "NOTE:" | Correct missing template error page
- Correct controller path "app/controller/books_controller.rb" to "app/controllers/books_controller.rb"
- Add space after "NOTE:"
Ref - https://github.com/rails/rails/pull/46342
| HTML+ERB | mit | rails/rails,rails/rails,rails/rails,rails/rails |
3f4fa132a59f056e4c9b971d09a75686972286fa | lib/smart_answer_flows/overseas-passports/outcomes/_cost.govspeak.erb | lib/smart_answer_flows/overseas-passports/outcomes/_cost.govspeak.erb | ## Cost
<% if %w(st-helena-ascension-and-tristan-da-cunha).include?(calculator.current_location) %>
<%= render partial: 'cost/fee_information.govspeak.erb', locals: { calculator: calculator } %>
<%= render partial: 'cost/courier_fee_information.govspeak.erb', locals: { calculator: calculator } %>
<%= render pa... | ## Cost
<%= render partial: 'cost/fee_information.govspeak.erb', locals: { calculator: calculator } %>
<%= render partial: 'cost/courier_fee_information.govspeak.erb', locals: { calculator: calculator } %>
<%= render partial: 'cost/passport_fee_table.govspeak.erb',
locals: { calculator: calculator } %>
<... | Remove unnecessary conditional from _cost partial | Remove unnecessary conditional from _cost partial
This is possible now that we're displaying the same information in both
the `if` and `else` branches of the conditional.
| HTML+ERB | mit | aledelcueto/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers |
3197a23dba5bd429f8c7a9eda607098bd7f68154 | source/_survey-reminder.html.erb | source/_survey-reminder.html.erb | <% if !current_page.data.no_survey_reminder %>
<div class="survey-reminder-wrapper">
<div class="survey-reminder-container">
Take the <strong>
<% link_to '/ember-community-survey-2018' do %>
2018 Ember Community Survey<% end %>
</strong>!
</div>
</div>
<% end %> | <% if !current_page.data.no_survey_reminder %>
<div class="survey-reminder-wrapper">
<div class="survey-reminder-container">
Take the
<strong><% link_to '/ember-community-survey-2018' do %>2018 Ember Community Survey<% end %></strong>
</div>
</div>
<% end %>
| Drop exclamation mark from the prompt | Drop exclamation mark from the prompt
| HTML+ERB | mit | kpfefferle/website,kpfefferle/website,kpfefferle/website |
44f10789523612459ab4794237342efb554e0532 | app/views/courses/public.html.erb | app/views/courses/public.html.erb | <% @page_title = @course.name %>
<% @course.chapters.each do |ch| %>
<h2>Chapter: <%= ch.name %></h2>
<% unless ch.notes.empty? %>
<div>
<%= ch.notes %>
</div>
<% end %>
<% ch.assignments.each do |aa| %>
<h3><%= aa.name %></h3>
<% unless aa.assignment.empty? %>
<div class="pane... | <% @page_title = @course.name %>
<% @course.chapters.each do |ch| %>
<h2>Chapter: <%= ch.name %></h2>
<% unless ch.notes.empty? %>
<div>
<%= raw ch.notes %>
</div>
<% end %>
<% ch.assignments.each do |aa| %>
<h3><%= aa.name %></h3>
<% unless aa.assignment.empty? %>
<div class="... | Allow HTML in public view. | Allow HTML in public view.
| HTML+ERB | agpl-3.0 | marksherman/bottlenose,marksherman/bottlenose,marksherman/bottlenose,marksherman/bottlenose,marksherman/bottlenose,marksherman/bottlenose |
7761e4b9d20418c0adc6dbcbf2f601826cde2504 | app/views/search/preview.html.erb | app/views/search/preview.html.erb | <!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="ClearType" content="true" />
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title><%= @query %></title>
<% if Rails.env.production? %>
<% @pageview_url = '/search/prev... | <!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="ClearType" content="true" />
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title><%= @query %></title>
<% if Rails.env.production? %>
<% @pageview_url = '/search/prev... | Load search (preview) embed protocol-agnostically | Load search (preview) embed protocol-agnostically
Closes #176 - thanks @stefanw
| HTML+ERB | mit | ivarvong/documentcloud,moodpo/documentcloud,gunjanmodi/documentcloud,moodpo/documentcloud,documentcloud/documentcloud,ivarvong/documentcloud,Teino1978-Corp/Teino1978-Corp-documentcloud,Teino1978-Corp/Teino1978-Corp-documentcloud,gunjanmodi/documentcloud,moodpo/documentcloud,dannguyen/documentcloud,gunjanmodi/documentcl... |
eae4266d19fc94702a3937eeb9c9e10077b83465 | app/views/entourages/new.html.erb | app/views/entourages/new.html.erb | <h1>Hey, you're not a member of that group!</h1>
<h2>If you want to be, enter the group's access code</h2>
<% if @group_id %>
<%= form_for @entourage, html: {class: "group-entry"} do |f| %>
<%= f.label :password, "Backstage Passcode:" %><br>
<%= f.password_field :password %><br><br>
<%= f.hidden_field :g... | <div class="pure-g">
<div class="pure-u-1-24"></div>
<div class="pure-u-23-24">
<h1>Hey, you're not a member of that group!</h1>
<h2>If you want to be, enter the group's access code</h2>
<% if @group_id %>
<%= form_for @entourage, html: {class: "group-entry"} do |f| %>
<%= f.label :passwor... | Add margins to join-group page | Add margins to join-group page
| HTML+ERB | mit | pdynowski/best-thing-ever,pdynowski/best-thing-ever,pdynowski/best-thing-ever |
942c1420f031de9ab4acd149a8395f73d5148346 | app/views/import_jobs/_issues.erb | app/views/import_jobs/_issues.erb | <table class="table table-bordered">
<thead>
<tr>
<th>Location</th>
<th>Problem</th>
<th>Possible Solution</th>
</tr>
</thead>
<% issues.each do |issue| %>
<tr>
<td><%= issue.location %></td>
<td><%= issue.issue_description %></td>
<td><%= issue.suggested_solution %></td>
... | <table class="table table-bordered">
<tbody>
<tr class="header">
<th>Location</th>
<th>Problem</th>
<th>Possible Solution</th>
</tr>
<% issues.each do |issue| %>
<tr>
<td><%= issue.location %></td>
<td><%= issue.issue_description %></td>
<td><%= issue.suggested_solution %></t... | Update markup for issues table | Update markup for issues table
| HTML+ERB | mit | NESCent/TraitDB,NESCent/TraitDB,NESCent/TraitDB |
625d2e11e2b81726a196b5e7a9e5727d8f01a600 | app/views/groups/new.html.erb | app/views/groups/new.html.erb | <h1>New group</h1>
<%= form_for @group do |f| %>
Name: <%= f.text_field :name, required: true %>
Type: <%= f.select(:kind, @kinds) %>
Description: <%= f.text_field :description, required: true %>
Neighborhood: <%= f.select(:neighborhood_id, @neighborhoods) %>
<div class="field">
<%= f.label... | <h2>Create New Group</h2>
<h4>Fill in the blanks below to create your new group. All fields are required</h4>
<%= form_for @group do |f| %>
Group Name <%= f.text_field :name, required: true %>
Group Description <%= f.text_field :description, required: true %>
Group Cover Photo
<div class="field">
... | Fix test for group creation | Fix test for group creation
| HTML+ERB | mit | calblueprint/ashby-village,calblueprint/ashby-village,calblueprint/ashby-village |
4b5bfbca70bbf62870a74213efb16c8a0ba9a969 | app/views/posts/show.html.erb | app/views/posts/show.html.erb | <div class="row">
<p id="notice"><%= notice %></p>
<h3><%= @post.title %></h3>
<pre><code><%= @post.content %></code></pre>
<div class="pull-right">
<div class="btn-group">
<%= link_to edit_post_path(@post), :class => "btn btn-small" do %>
<i class="icon-edit"></i>
<% end %>
<%= l... | <div class="row">
<p id="notice"><%= notice %></p>
<h3><%= @post.title %></h3>
<pre><code><%= @post.content %></code></pre>
<div class="pull-right">
<div class="btn-group">
<%= link_to edit_post_path(@post), :class => "btn btn-small" do %>
<i class="icon-edit"></i>
<% end %>
<%= l... | Fix show page after changeing the route | Fix show page after changeing the route
As described in change of balocco the p_url doesn't work anymore.
We now change p_url to post_url.
| HTML+ERB | bsd-2-clause | kmerz/graveio,kmerz/graveio |
3821062945c2a2682cd9bac87f7ac1adf0ac3e48 | test/fixtures/cookbooks/jenkins_script/templates/default/create_jenkins_user.groovy.erb | test/fixtures/cookbooks/jenkins_script/templates/default/create_jenkins_user.groovy.erb | <% @users.each do |user| %>
user = hudson.model.User.get("<%= user['short_name'] %>")
user.setFullName("<%= user['long_name'] %>")
email = new hudson.tasks.Mailer.UserProperty("<%= user['email'] %>")
user.addProperty(email)
user.save()
<% end %>
| <% @users.each do |user| %>
user = hudson.model.User.get("<%= user['short_name'] %>")
user.setFullName("<%= user['full_name'] %>")
email = new hudson.tasks.Mailer.UserProperty("<%= user['email'] %>")
user.addProperty(email)
user.save()
<% end %>
| Fix setting Full Name in create user script in test cookbook | Fix setting Full Name in create user script in test cookbook
Signed-off-by: Josh Barker <88d7d21fa8a250d4e915db098658a3f5a42acdfb@gmail.com>
| HTML+ERB | apache-2.0 | opscode-cookbooks/jenkins,chef-cookbooks/jenkins,gshively11/jenkins,chef-cookbooks/jenkins,chef-cookbooks/jenkins,opscode-cookbooks/jenkins,opscode-cookbooks/jenkins,gshively11/jenkins,gshively11/jenkins |
18659a9b587f5d0d4409e4fc9564f68f724e8074 | app/views/manuals/_manual.html.erb | app/views/manuals/_manual.html.erb | <article aria-labelledby="manual-title" id="content">
<div class='manual-body'>
<% if presented_manual.summary.present? %><p class='summary'><%= presented_manual.summary %></p><% end %>
<%= render partial: "hmrc_callout", locals: { presented_manual: presented_manual } %>
<% if presented_manual.body.pres... | <article aria-labelledby="manual-title" id="content">
<div class='manual-body'>
<% if presented_manual.summary.present? %>
<%= render "govuk_publishing_components/components/lead_paragraph", {
text: presented_manual.summary
} %>
<% end %>
<%= render partial: "hmrc_callout", locals: { ... | Add lead paragraph component to contents page view | Add lead paragraph component to contents page view
| HTML+ERB | mit | alphagov/manuals-frontend,alphagov/manuals-frontend,alphagov/manuals-frontend,alphagov/manuals-frontend |
6b2ce0a30406517db680ca82dd64d2b690956b9d | lib/smart_answer_flows/state-pension-age/state_pension_age.govspeak.erb | lib/smart_answer_flows/state-pension-age/state_pension_age.govspeak.erb | <% content_for :title do %>
Check your State Pension age
<% end %>
<% content_for :meta_description do %>
Work out your State Pension age and Pension Credit qualifying age
<% end %>
<% content_for :body do %>
Check when you’ll reach State Pension age and Pension Credit qualifying age.
You can also find out w... | <% content_for :title do %>
Check your State Pension age
<% end %>
<% content_for :meta_description do %>
Work out your State Pension age and Pension Credit qualifying age
<% end %>
<% content_for :body do %>
You can check:
- when you'll reach State Pension age
- your Pension Credit qualifying age
- when... | Update start page copy for state pension age | Update start page copy for state pension age
| HTML+ERB | mit | aledelcueto/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,alphagov/smart-answers,stwalsh/smart-answers,stwalsh/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers,stwalsh/smart-answers,stwalsh/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
25fbab3f4a5450d8d438ea0f75e845b5bab445f6 | app/assets/javascripts/spree/backend/templates/available_locales.hbs.erb | app/assets/javascripts/spree/backend/templates/available_locales.hbs.erb | <td>
{{store.name}}
{{#if store.default}}
<span class="label label-default">default</span>
{{/if}}
</td>
<td>{{store.url}}</td>
<td>
{{#if editing}}
<select id='available-locales-store-{{store.id}}' class='available-locales select2 fullwidth' name='store[preferred_available_locales][]' multiple='true'>
... | <td>
{{store.name}}
{{#if store.default}}
<span class="label label-default">default</span>
{{/if}}
</td>
<td>{{store.url}}</td>
<td>
{{#if editing}}
<select id='available-locales-store-{{store.id}}' class='available-locales select2 fullwidth' name='store[preferred_available_locales][]' multiple='true'>
... | Use conditionally display actions instead of hiding/showing with css | Use conditionally display actions instead of hiding/showing with css
| HTML+ERB | bsd-3-clause | solidusio-contrib/solidus_i18n |
e9fbf3db4ee80f0e1101b3a5e896ec66b77f6ab5 | templates/named.conf.options.erb | templates/named.conf.options.erb | # MANAGED BY PUPPET (bind/templates)
options {
directory "/var/cache/bind";
// If there is a firewall between you and nameservers you want
// to talk to, you may need to fix the firewall to allow multiple
// ports to talk. See http://www.kb.cert.org/vuls/id/800113
// If your ISP provided one or mo... | # MANAGED BY PUPPET (bind/templates)
options {
directory "/var/cache/bind";
// If there is a firewall between you and nameservers you want
// to talk to, you may need to fix the firewall to allow multiple
// ports to talk. See http://www.kb.cert.org/vuls/id/800113
// If your ISP provided one or mo... | Add @ sigil for external variables. | Add @ sigil for external variables.
| HTML+ERB | mit | credativ/puppet-bind,credativ/puppet-bind |
9962d43ca8cf16c111d364236de1fee2a2749196 | app/views/admin/corporate_information_pages/_standard_fields.html.erb | app/views/admin/corporate_information_pages/_standard_fields.html.erb | <div class=<%= "right-to-left" if edition.rtl? %>>
<%= render "legacy_subtype_fields", form: form, edition: form.object %>
<%= form.hidden_field :lock_version %>
<% unless form.object.persisted? %>
<%= render "govuk_publishing_components/components/select", {
id: "edition_corporate_information_page_typ... | Add standard fields partial for CorporateInformationPages | Add standard fields partial for CorporateInformationPages
| HTML+ERB | mit | alphagov/whitehall,alphagov/whitehall,alphagov/whitehall,alphagov/whitehall |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.