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 |
|---|---|---|---|---|---|---|---|---|---|
1f1ea271d0d4c5f05fb952a96c17a9df2e60c2cf | app/views/staff/sessions/new.html.erb | app/views/staff/sessions/new.html.erb | <% @title = 'ログイン' %>
<div id="login-gorm">
<h1><%= @title %></h1>
<%= form_for @form, url: :staff_sessions do |f| %>
<div>
<%= f.label :email, 'メールアドレス' %>
<%= f.text_field :email %>
</div>
<div>
<%= f.label :password, 'パスワード' %>
<%= f.password_field :password %>
</div>
... | Add login_form in staff member | Add login_form in staff member
| HTML+ERB | mit | koudaiii/baukis-on-rails-4-2,koudaiii/baukis-on-rails-4-2,koudaiii/baukis-on-rails-4-2,koudaiii/baukis-on-rails-4-2 | |
d6938127fd47b7224fccfafbb103c713324264d8 | app/views/community_support_mailer/send_to_support_team.text.erb | app/views/community_support_mailer/send_to_support_team.text.erb | Message:
<%= @community_support_request.email %>
<%= @community_support_request.name %>
<%= @community_support_request.message %>
Betriebssystem Hersteller: <%= @community_support_request.operating_system %>
Betriebssystem Version: <%= @community_support_request.operating_system_version %>
Browser Hersteller: <%= @comm... | Email: <%= @community_support_request.email %>
Name: <%= @community_support_request.name %>
Betriebssystem Hersteller: <%= @community_support_request.operating_system %>
Betriebssystem Version: <%= @community_support_request.operating_system_version %>
Browser Hersteller: <%= @community_support_request.browser_vendor %... | Add captions for each entry in the email | Add captions for each entry in the email
| HTML+ERB | agpl-3.0 | sozialhelden/wheelmap,sozialhelden/wheelmap,sozialhelden/wheelmap,sozialhelden/wheelmap,sozialhelden/wheelmap |
149d2d797828b3021f303d12e5469a2aa171d8fd | app/views/team_mailer/email_team.html.erb | app/views/team_mailer/email_team.html.erb | <html>
<head>
<meta content = 'text/html; charset = UTF-8' http-equiv = 'Content-Type' />
</head>
<body>
<=% @body %>
</body>
</html>
| <html>
<head>
<meta content = 'text/html; charset = UTF-8' http-equiv = 'Content-Type' />
</head>
<body>
<%= @body %>
</body>
</html>
| Fix email team template syntax | Fix email team template syntax
Signed-off-by: Colin Schoen <a3acbfc9b5a4c75eeeb7c33280348e7f320f1240@gmail.com>
| HTML+ERB | mit | colinschoen/enrollme,adnanhemani/enrollme,adnanhemani/enrollme,colinschoen/enrollme,adnanhemani/enrollme,colinschoen/enrollme |
82ddbefa2971f3034aba6bec66585d721c3a7087 | app/views/mailman/welcome_message.erb | app/views/mailman/welcome_message.erb | Welcome <%= @user %>,
Thanks for signing up to the Computers Now Epson consumables ordering system.
Please click on the link below to confirm your new account.
<%= confirm_url(@user.activation_code, :host => Uniform.configuration.domain ) %>
Computers Now also provide:
- Colour Management services
- Apple & HP Hardw... | Welcome <%= @user %>,
Thanks for signing up to the Computers Now customer portal system.
Please click on the link below to confirm your new account.
<%= confirm_url(@user.activation_code, :host => Uniform.configuration.domain ) %>
Once your account is activated you will be able to access both our Epson consumables s... | Update to the welcome message | Update to the welcome message | HTML+ERB | mit | mrdougal/Uniform,mrdougal/Uniform |
7d5c55ef362885018a24a1ea5207ab67e02e6176 | app/views/transactions/index.html.erb | app/views/transactions/index.html.erb | <% @transactions.each do |transaction| %>
<%= render 'transaction.html.erb', transaction: transaction %>
<% end %> | <% @transactions.each do |transaction| %>
<li><%= render 'transaction.html.erb', transaction: transaction %></li>
<% end %> | Make each transaction a new list item | Make each transaction a new list item
| HTML+ERB | mit | kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly,nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly |
4caed0e039316ebba1432610c30039e3befeb805 | app/views/rooms/index_sort.html.erb | app/views/rooms/index_sort.html.erb | <noscript>
<div class="alert alert-danger">Sorry, you cannot update the order without JavaScript enabled.</div>
</noscript>
<h1>Listing rooms</h1>
<p>Drag and drop rooms to reorder list. Note that reordering will trigger a reindex and may take some time to become visible on the frontend.</p>
<div id="box_container"... | <noscript>
<div class="alert alert-danger">Sorry, you cannot update the order without JavaScript enabled.</div>
</noscript>
<h1>Listing rooms</h1>
<p>Drag and drop rooms to reorder list. Note that reordering will trigger a reindex and may take some time to become visible on the frontend.</p>
<div id="box_container"... | Update sort order of rooms by reloading page, not with remote | Update sort order of rooms by reloading page, not with remote
| HTML+ERB | mit | NYULibraries/rooms,NYULibraries/rooms,NYULibraries/rooms,NYULibraries/rooms |
6f31ae3831079f0a7bde55b269ca0d91274ea1c2 | lib/app/views/setup/javascript.erb | lib/app/views/setup/javascript.erb | <h3>JavaScript</h3>
<h4>Installation: </h4>
<ul>
<li>
Install <a href="http://nodejs.org/">Node.js</a>
<ul>
<li>
<a href="https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager">Installing Node.js via package manager</a>
</li>
</ul>
</li>
<li>
Install <a ... | <h3>JavaScript</h3>
<h4>Installation: </h4>
<ul>
<li>
Install <a href="http://nodejs.org/">Node.js</a>
<ul>
<li>
<a href="https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager">Installing Node.js via package manager</a>
</li>
</ul>
</li>
<li>
Install <a ... | Add example of how to create a basic node module | Add example of how to create a basic node module
It's not at all obvious how to get started exporting an object so it can be loaded by node, and the node documentation is confusing. | HTML+ERB | agpl-3.0 | mscoutermarsh/exercism_coveralls,sheekap/exercism.io,treiff/exercism.io,amar47shah/exercism.io,IanDCarroll/exercism.io,alexclarkofficial/exercism.io,jtigger/exercism.io,nathanbwright/exercism.io,tejasbubane/exercism.io,emilyforst/exercism.io,mhelmetag/exercism.io,mscoutermarsh/exercism_coveralls,MBGeoff/Exercism.io-mbg... |
326b30e01967860f3ff90fb897780036442feb66 | app/views/users/show/_user_profile.html.erb | app/views/users/show/_user_profile.html.erb | <div class="user-profile not-dash">
<%= link_to(avatar(user, { :size => 64 }), user, {:class => "avatar"}) %>
<div class="profile-data">
<h1>
~<%= link_to h(user.login), user -%>
</h1>
<ul class="details">
<% unless user.fullname.blank? %>
<li>
<%= h(user.fullname) -%>
... | <div class="row user-profile not-dash">
<div class="span2">
<%= link_to(avatar(user, :size => 128), user, :class => "avatar") %>
</div>
<div class="span3">
<div class="profile-data">
<h1>
~<%= link_to h(user.login), user -%>
</h1>
<ul class="details">
<% unless user.fulln... | Set grid in user profile | Set grid in user profile
| HTML+ERB | agpl-3.0 | gitorious/mainline,spencerwp/mainline,rae/gitorious-mainline,elcom/gitorious,SamuelMoraesF/Gitorious,elcom/gitorious,elcom/gitorious,spencerwp/mainline,tigefa4u/gitorious-mainline,Gitorious-backup/mainline,Gitorious-backup/mainline,tigefa4u/gitorious-mainline,gitorious/mainline,Gitorious-backup/mainline,tigefa4u/gitori... |
2f30062c588221c6975c9080f26b67633f03ee6c | app/views/imports/_bank_transaction.html.erb | app/views/imports/_bank_transaction.html.erb | <tr id="<%= dom_id(bank_transaction) %>" class="<%= dom_class(bank_transaction) %>">
<td><abbr title="<%= bank_transaction.posted_on.to_s(:db) %>"><%= i18n_date(bank_transaction.posted_on) %></abbr></td>
<td class="details">
<span class="account"><%=h bank_transaction.bank_account %></span>
<p><%= [bank_tra... | <tr id="<%= dom_id(bank_transaction) %>" class="<%= dom_class(bank_transaction) %>">
<td><abbr title="<%= bank_transaction.posted_on.to_s(:db) %>"><%= i18n_date(bank_transaction.posted_on) %></abbr></td>
<td class="details">
<span class="account"><%=h bank_transaction.bank_account %></span>
<p><%= [bank_tra... | Use the correct option name. | Use the correct option name.
| HTML+ERB | mit | francois/family_budget,francois/family_budget |
e8be67d9d04201bdbef54cc363957062ecb2590d | app/views/comments/_form.html.erb | app/views/comments/_form.html.erb | <%= form_for [@comment.pin, @comment] do |f| %>
<% if @comment.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(comment.errors.count, "error") %> prohibited this comment from being saved:</h2>
<ul>
<% @comment.errors.full_messages.each do |message| %>
<li><%= message %></li... | <%= form_for [@pin, @comment] do |f| %>
<% if @comment.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(comment.errors.count, "error") %> prohibited this comment from being saved:</h2>
<ul>
<% @comment.errors.full_messages.each do |message| %>
<li><%= message %></li>
... | Add user hidden field to apply user id to new comment | Add user hidden field to apply user id to new comment
| HTML+ERB | mit | TEAM-KAST/City_Gems,TEAM-KAST/City_Gems,TEAM-KAST/City_Gems |
05f77f064e6fd900c8ae480dd417f6c2c8a770f0 | app/views/messages/index.html.erb | app/views/messages/index.html.erb | <div id="status">
</div>
<div id="chat-window">
<ul id="messages">
</ul>
</div>
<script type="text/javascript" charset="utf-8">
var pusher = new Pusher('545220afdca7480dd648',
{encrypted: true});
//note that 123456 below needs to be replaced with the requestid
var channel = pusher.subscribe('private-... | <div id="status">
</div>
<div id="chat-window">
<ul id="messages">
<% @messages.each do |message| %>
<li data-id="<%= message.id %>"><%= message.content %></li>
<% end %>
</ul>
</div>
<div id="message-input">
<form action="/requests/1/messages" method="post">
<div>
<label for="message">M... | Add text area for user to input message. | Add text area for user to input message.
NOTE: The action for the form has been hard-coded. This is only for
demonstration purposes.
| HTML+ERB | mit | kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly,nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly,kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly |
17d981fbe22b064c0b706f560723351c3a5ffdf8 | app/views/bunnies/new.html.erb | app/views/bunnies/new.html.erb | <h3>Bunny sign-up</h3>
<%= standard_flashes %>
<%= error_messages_for :bunny -%>
<% form_for :bunny, :url => secret_new_bunny_path do |f| -%>
<p>What's your username on MeCha?<br />
<%= f.text_field :username %></p>
<p>Choose a password:<br />
<%= f.password_field :password %></p>
<p>Confirm that password:<... | <h3>Bunny sign-up</h3>
<%= standard_flashes %>
<%= error_messages_for :bunny -%>
<% form_for :bunny, :url => secret_new_bunny_path do |f| -%>
<p>What's your username on MeCha?<br />
<%= f.text_field :username %></p>
<p>Choose a password:<br />
<%= f.password_field :password %></p>
<p>Confirm that password:<... | Add login link to the sign up page | Add login link to the sign up page
git-svn-id: 801577a2cbccabf54a3a609152c727abd26e524a@1217 a18515e9-6cfd-0310-9624-afb4ebaee84e
| HTML+ERB | agpl-3.0 | chrismear/bunnylove,chrismear/bunnylove,chrismear/bunnylove |
30bbdbde2ab50af1b658368a95dcfd16096351b0 | app/views/groups/edit.html.erb | app/views/groups/edit.html.erb | <div class="edit-group row">
<h2>Edit Group</h2>
<div class="small-12 small-centered medium-10 large-10 column">
<div class="edit-group-form row">
<%= form_for @group do |f| %>
<div class="field">
<%= f.label :name %>
<%= f.text_field :name, autofocus: true, value: @group.name %>... | <div class="edit-group row">
<h2>Edit Group</h2>
<div class="small-12 small-centered medium-10 large-10 column">
<div class="edit-group-form row">
<%= form_for @group do |f| %>
<div class="field">
<%= f.label 'Group Name' %>
<%= f.text_field :name, autofocus: true, value: @group.... | Change label in edit group | Change label in edit group
| HTML+ERB | mit | calblueprint/ashby-village,calblueprint/ashby-village,calblueprint/ashby-village |
3c110ec14158a07c8a4e60451162ab03359ce70d | app/views/layouts/_footer.html.erb | app/views/layouts/_footer.html.erb | <hr>
<div id="footer" class="row">
<div class="col-md-3 col-md-offset-5">
<i class="icon-github icon-large"></i> <a href="https://github.com/amatriain/feedbunch" target="_blank">
<%= t 'layouts.application.github' %>
</a>
</div>
</div>
<%= javascript_include_tag '//ajax.googleapis.com/ajax/libs/angul... | <hr>
<div id="footer" class="row">
<div class="col-md-3 col-md-offset-5">
<i class="icon-github icon-large"></i> <a href="https://github.com/amatriain/feedbunch" target="_blank">
<%= t 'layouts.application.github' %>
</a>
</div>
</div>
<%= javascript_include_tag '//ajax.googleapis.com/ajax/libs/jquer... | Load the JQuery file before the angularJS file, so that JQuery is used instead of JQLite included with AngularJS. | Load the JQuery file before the angularJS file, so that JQuery is used instead of JQLite included with AngularJS.
| HTML+ERB | mit | jmwenda/feedbunch,amatriain/feedbunch,amatriain/feedbunch,amatriain/feedbunch,amatriain/feedbunch,jmwenda/feedbunch,jmwenda/feedbunch |
e736facd8e5f130a2ad2fa77a6292b45a7abfb97 | app/views/admin/users/index.html.erb | app/views/admin/users/index.html.erb | <h1>Listing Users</h1>
<table>
<tr>
<th>User</th>
<th></th>
<th></th>
</tr>
<% @users.each do |user| %>
<tr>
<td><%= user.email %></td>
<td><%= link_to 'Edit', edit_admin_user_path(user) %></td>
<td><%= link_to 'Destroy', admin_user_path(user), method: :delete, data: { confirm: 'Are you ... | <h1>Listing Users</h1>
<table>
<tr>
<th>User</th>
<th></th>
<th></th>
</tr>
<% @users.each do |user| %>
<tr>
<td><%= user.email %></td>
<td><%= link_to 'Edit', edit_admin_user_path(user) %></td>
<td><%= link_to 'Destroy', admin_user_path(user), method: :delete, data: { confirm: 'Are you ... | Hide non-functional "new user" link | Hide non-functional "new user" link
| HTML+ERB | mit | concord-consortium/lara,concord-consortium/lara,concord-consortium/lara,concord-consortium/lara,concord-consortium/lara |
6ac7733cdce68f96ef0a02c1ace8e33bbbe23914 | app/views/footprints/thanks.html.erb | app/views/footprints/thanks.html.erb | <div class="row">
<div class="span7">
<h2>Hey $Chris!</h2>
<p>We’re processing your last week of check ins now and will email you a summary of your weekly carbon emissions shortly.</p>
<p>It’s just a bit of fun, based on some massive generalisations about how people travel, but we hope it might spark your interest ... | <div class="row">
<div class="span7">
<h2>Hey <%= current_user.first_name %>!</h2>
<p>We’re processing your last week of check ins now and will email you a summary of your weekly carbon emissions shortly.</p>
<p>It’s just a bit of fun, based on some massive generalisations about how people travel, but we hope it mi... | Remove hard coded name from thanks page | Remove hard coded name from thanks page
| HTML+ERB | bsd-3-clause | AMEE/amee-location-footprinter,AMEE/amee-location-footprinter |
e89ece4a9d2c10ee7eca82e3a3dfd268a2bc88ca | app/views/forem/posts/_form.html.erb | app/views/forem/posts/_form.html.erb | <%= f.input :text %>
<% if params[:reply_to_id] %>
<%= f.hidden_field :reply_to_id, :value => params[:reply_to_id] %>
<% end %>
| <div class="control-group">
<%= f.label :text, :class => 'control-label' %>
<div class="controls">
<%= f.input :text , label: false, input_html: {:class => 'text_area span7 html-editor'} %>
</div>
</div>
<% if params[:reply_to_id] %>
<%= f.hidden_field :reply_to_id, :value => params[:reply_to_id] %>
<% end... | Use HTML5 wysiwyg editor for forum posts | Use HTML5 wysiwyg editor for forum posts
| HTML+ERB | mit | nnamon/coursemology.org,dariusf/coursemology.org,nusedutech/coursemology.org,nusedutech/coursemology.org,allenwq/coursemology.org,nusedutech/coursemology.org,allenwq/coursemology.org,allenwq/coursemology.org,nnamon/coursemology.org,allenwq/coursemology.org,nnamon/coursemology.org,nnamon/coursemology.org,dariusf/coursem... |
552916067e84877a5384f812cee1071b4cdffb3f | app/views/requests/_request.html.erb | app/views/requests/_request.html.erb | <li class="request" data-id="<%= request.id %>">
<p class="content">
<%= request.requester.first_name %> said: <%= request.content %>
At <%= request.created_at %>
</p>
<% if request.requester == current_user %>
<%= button_to "Cancel Request", request, class: 'button', method: 'delete' %>
<% elsif ... | <li class="request" data-id="<%= request.id %>">
<p class="content">
<%= request.requester.first_name %> said: <%= request.content %>
At <%= request.created_at %>
</p>
<% if request.requester == current_user %>
<%= button_to "Cancel Request", request, class: 'button', method: 'delete' %>
<% elsif ... | Change logic on what to display in the request partial. | Change logic on what to display in the request partial.
| HTML+ERB | mit | kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly,nyc-mud-turtles-2015/nghborly,nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly,kimchanyoung/nghborly |
1d4a4fe05688a2bbd70d749aba8a319274c75ff0 | app/views/tasks/_time_links.html.erb | app/views/tasks/_time_links.html.erb | <div id="task_time_links">
<% if !task.new_record? and current_user.can?(task.project, "work") %>
<%= pause_task_link(task) %>
<%= start_stop_work_link(task) %>
<%= cancel_work_link(task) %>
<%= add_work_link(task) %>
<% end -%>
</div>
| <div id="task_time_links">
<% if !task.new_record? and current_user.can?(task.project, "work") %>
<%= pause_task_link(task) %>
<%= start_stop_work_link(task) %>
<%= cancel_work_link(task) %>
<% end -%>
</div>
| Remove uneeded link to create worklog from task body. | Remove uneeded link to create worklog from task body.
| HTML+ERB | agpl-3.0 | arunagw/clockingit,evinoca/clockingit,rafaspinola/jobsworth,webstream-io/jobsworth,webstream-io/jobsworth,webstream-io/jobsworth,xuewenfei/jobsworth,digitalnatives/jobsworth,ari/jobsworth,digitalnatives/jobsworth,digitalnatives/jobsworth,arunagw/clockingit,evinoca/clockingit,digitalnatives/jobsworth,ari/jobsworth,rafas... |
ba637c72e7c6ec0ef48ec559a77283bd725b678f | modules/ssh/templates/sshd_config.erb | modules/ssh/templates/sshd_config.erb | Port 22
ListenAddress ::
ListenAddress 0.0.0.0
Protocol 2
Banner /etc/banner
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
<% if @osfamily == 'debian' %>
HostKey /etc/ssh/ssh_host_ecdsa_key
<% end %>
UsePrivilegeSeparation yes
KeyRegenerationInterval 3600
ServerKeyBits 768
SyslogFacility AUTH
... | Port 22
ListenAddress ::
ListenAddress 0.0.0.0
Protocol 2
Banner /etc/banner
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
<% if @osfamily == 'Debian' %>
HostKey /etc/ssh/ssh_host_ecdsa_key
<% end %>
UsePrivilegeSeparation yes
KeyRegenerationInterval 3600
ServerKeyBits 768
SyslogFacility AUTH
... | Fix for sshd config options | Fix for sshd config options
Change-Id: I690d2bd2c1c3f8885bcc0f814483facdc6f2443f
Signed-off-by: Igor Shishkin <754e6e0fd0f692545d04d1591d9a3de62bb04f84@mirantis.com>
| HTML+ERB | apache-2.0 | fuel-infra/puppet-manifests,fuel-infra/puppet-manifests,fuel-infra/puppet-manifests,fuel-infra/puppet-manifests |
ad3a4dc7ea35b7dadfab2cfe8cb6d382e2847443 | data/ore/templates/yard/_gemfile.erb | data/ore/templates/yard/_gemfile.erb | <%- case @markup
when :markdown -%>
case RUBY_PLATFORM
when 'java'
gem 'maruku'
else
gem 'bluecloth', '>= 2.0.0'
end
<%- when :textile -%>
gem 'RedCloth'
<%- end -%>
gem 'yard', '<%= @yard_dependency %>'
| <%- case @markup
when :markdown -%>
platforms :jruby do
gem 'maruku'
end
platforms :ruby do
gem 'bluecloth', '>= 2.0.0'
end
<%- when :textile -%>
gem 'RedCloth'
<%- end -%>
gem 'yard', '<%= @yard_dependency %>'
| Use platforms :jruby and platforms :ruby to separate JRuby deps from non-JRuby deps. | Use platforms :jruby and platforms :ruby to separate JRuby deps from non-JRuby deps.
| HTML+ERB | mit | ruby-ore/ore,dldinternet/ore,ruby-ore/ore,philoserf/ore,philoserf/ore,dldinternet/ore |
1217fa6e4f50ae429214ea8ebdd7f1e22c48bbb8 | lib/pliny/templates/endpoint_test.erb | lib/pliny/templates/endpoint_test.erb | require "spec_helper"
describe Endpoints::<%= plural_class_name %> do
include Rack::Test::Methods
def app
Endpoints::<%= plural_class_name %>
end
describe "GET <%= url_path %>" do
it "succeeds" do
get "<%= url_path %>"
expect(last_response.status).to eq(200)
end
end
end
| require "spec_helper"
describe Endpoints::<%= plural_class_name %> do
include Rack::Test::Methods
def app
Endpoints::<%= plural_class_name %>
end
describe "GET <%= url_path %>" do
it "succeeds" do
get "<%= url_path %>"
expect(last_response.status).to eq(200)
end
end
end
| Fix missing newline in template | Fix missing newline in template
| HTML+ERB | mit | interagent/pliny,interagent/pliny,hayduke19us/pliny,fdr/pliny,fdr/pliny,hayduke19us/pliny,hayduke19us/pliny,interagent/pliny,fdr/pliny |
c331b3ec80db6a4d653609a89fb58d20aed863f0 | templates/deploy.rb.erb | templates/deploy.rb.erb | set :application, 'avservis_facility'
set :repo_url, 'git@github.com:blueberryapps/avservis-facility.git'
set :branch, 'master'
set :scm, :git
set :format, :pretty
set :log_level, :debug
set :linked_files, %w(config/database.yml)
# set :linked_dirs, %w{bin log tmp/pids tmp/cache tmp/sockets vendor/bun... | set :application, '<%= app_name %>'
set :repo_url, 'git@github.com:blueberryapps/<%= app_name %>.git'
set :branch, 'master'
set :scm, :git
set :format, :pretty
set :log_level, :debug
set :linked_files, %w(config/database.yml)
# set :linked_dirs, %w{bin log tmp/pids tmp/cache tmp/sockets vendor/bundle ... | Use app_name in deploy config | Use app_name in deploy config
| HTML+ERB | mit | m43nu/m43nu_rails,blueberryapps/blueberry_rails,m43nu/m43nu_rails,blueberryapps/blueberry_rails,m43nu/m43nu_rails |
3dc2bd05ae5b1d5fa42434d8b5197273cf9d3536 | app/views/index.erb | app/views/index.erb | <!-- <h2>Welcome to Twitter!</h2>
<h1><>Register Here!</a></h1>
<form action="/login" method="post">
Username:<br>
<input type="text" name="username" placeholder="Username"><br>
Password:<br>
<input type="password" name="password" placeholder="Password"><br><br>
<input type="submit" >
</form>
-->
<di... | <!-- <h2>Welcome to Twitter!</h2>
<h1><>Register Here!</a></h1>
<form action="/login" method="post">
Username:<br>
<input type="text" name="username" placeholder="Username"><br>
Password:<br>
<input type="password" name="password" placeholder="Password"><br><br>
<input type="submit" >
</form>
-->
<di... | Change name from Twitter to Britter. | Change name from Twitter to Britter.
| HTML+ERB | mit | UmarFBajwa/rackup-twitter,UmarFBajwa/rackup-twitter,UmarFBajwa/rackup-twitter |
ff916558b0bec0695554011ff74971ed77347de6 | cookbooks/db/templates/default/backup.cron.erb | cookbooks/db/templates/default/backup.cron.erb | # DO NOT EDIT - This file is being maintained by Chef
00 02 * * 1 osmbackup /usr/local/bin/backup-db
| # DO NOT EDIT - This file is being maintained by Chef
MAILTO=admins@openstreetmap.org
00 02 * * 1 osmbackup /usr/local/bin/backup-db
| Send output from the database script to admins | Send output from the database script to admins
| HTML+ERB | apache-2.0 | zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,Firefishy/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,Firefishy/chef,Firefishy/chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,tomhughes/o... |
e68d18c3ccc1c388088d7e4f04a858f3ba1ea26e | lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb | lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb | ---
layout: post
title: "Welcome to Jekyll!"
date: <%= Time.now.strftime('%Y-%m-%d %H:%M:%S') %>
categories: jekyll update
---
You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is ... | ---
layout: post
title: "Welcome to Jekyll!"
date: <%= Time.now.strftime('%Y-%m-%d %H:%M:%S') %>
categories: jekyll update
---
You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is ... | Update link in welcome post to talk.jekyllrb.com Previously the link pointed to the jekyll-help repository on github which no longer accepts issues. | Update link in welcome post to talk.jekyllrb.com
Previously the link pointed to the jekyll-help repository on github
which no longer accepts issues.
| HTML+ERB | mit | tamouse/jekyll,isathish/jekyll,winndows/jekyll,thetaxman/jekyll,tillgrallert/jekyll,Kinghack/kinghack.github.com,noikiy/jekyll,anthonyrosengren/grasshoppergathering2.github-io,MjAbuz/jekyll,thejameskyle/jekyll,royalwang/jekyll,ramoslin02/jekyll,SQS2/Test,tugberkugurlu/jekyll,nickg33/jekyll,dansef/jekyll,AnanthaRajuC/je... |
d68529c2c3b2ff893812059b54733d729e58fe01 | publify_core/app/views/devise/registrations/new.html.erb | publify_core/app/views/devise/registrations/new.html.erb | <% content_for :page_title do %>
<%= "#{this_blog.blog_name} - #{t('.sign_up', default: 'Sign up')}" %>
<% end %>
<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
<%= devise_error_messages! %>
<div class="form-group">
<%= f.label :login %>
<%= f.text_field :logi... | <% content_for :page_title do %>
<%= "#{this_blog.blog_name} - #{t('.sign_up', default: 'Sign up')}" %>
<% end %>
<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
<%= render "devise/shared/error_messages", resource: resource %>
<div class="form-group">
<%= f.label :... | Use new way to render Devise error messages in view override | Use new way to render Devise error messages in view override
This silences a deprecation warning about #devise_error_messages.
| HTML+ERB | mit | publify/publify,publify/publify,publify/publify |
d8785f3d3de5dd7f707cb6e08fd9a2eb8b693d96 | app/assets/stylesheets/spree/frontend/spree_cwilt_theme.css.erb | app/assets/stylesheets/spree/frontend/spree_cwilt_theme.css.erb | html {
height: 100%;
}
body {
height: 100%;
background-repeat: repeat;
background-image: url(<%= asset_path 'spree/frontend/bg.png' %>);
}
.container {
height: 100%;
box-sizing: border-box;
border-top: 6px solid #bbb;
background-color: #fff;
-moz-box-shadow: 0px 0px 10px 10px #ccc;
-webkit-box... | html {
height: 100%;
}
a:hover {
color: #808080;
}
body {
height: 100%;
background-repeat: repeat;
background-image: url(<%= asset_path 'spree/frontend/bg.png' %>);
}
.container {
height: 100%;
box-sizing: border-box;
border-top: 6px solid #bbb;
background-color: #fff;
-moz-box-shadow: 0px 0p... | Change link colours in nav. | Change link colours in nav.
| HTML+ERB | bsd-3-clause | clomax/spree_cwilt_theme,clomax/spree_cwilt_theme,clomax/spree_cwilt_theme |
ceb506f9bae5003ac463b76caac243fe91f042a4 | app/views/spree/return_authorizations/labels.html.erb | app/views/spree/return_authorizations/labels.html.erb | <% content_for :head do %>
<%= render partial: 'labels_print_styles' %>
<% end %>
<div class="return-request-printing-instructions">
<h1>Return Form and Address Labels</h1>
<p>Print out this page and cut along the dotted lines.</p>
<p>Fill out the Return Form to indicate which items you are returning, and ho... | <% content_for :head do %>
<%= render partial: 'labels_print_styles' %>
<% end %>
<div class="return-request-printing-instructions">
<h1>Return Form and Address Labels</h1>
<p>Print out this page and cut along the dotted lines.</p>
<p>Fill out the Return Form to indicate which items you are returning, and ho... | Make first divider in printable return form part of instructions so it will be hidden when printing | Make first divider in printable return form part of instructions so it will be hidden when printing
| HTML+ERB | bsd-3-clause | nicedawg/spree-return-requests,nicedawg/spree-return-requests,nicedawg/spree-return-requests |
9a719c8922128fb448b7c298e6f602d39e6de2ab | app/views/accounts/_booking_list_saldo.html.erb | app/views/accounts/_booking_list_saldo.html.erb | <tr id="booking_list_saldo" style="border-top: double 2px black; background-color: grey">
<td colspan="2">Kontostand (per <%= @bookings.last.value_date.strftime("%d.%m.%Y") %>)</td>
<td/>
<td/>
<td/>
<td style="text-align: right"><%= currency_fmt(@account.saldo(@bookings.last)) %></td>
<td/>
</tr>
| <tr id="booking_list_saldo" style="border-top: double 2px black; background-color: grey">
<td colspan="2">Kontostand (per <%= @bookings.last.value_date %>)</td>
<td/>
<td/>
<td/>
<td style="text-align: right"><%= currency_fmt(@account.saldo(@bookings.last)) %></td>
<td/>
</tr>
| Drop date formatting from view as a plugin will handle that globally. | Drop date formatting from view as a plugin will handle that globally.
| HTML+ERB | agpl-3.0 | huerlisi/bookyt,gaapt/bookyt,xuewenfei/bookyt,gaapt/bookyt,gaapt/bookyt,wtag/bookyt,silvermind/bookyt,hauledev/bookyt,huerlisi/bookyt,silvermind/bookyt,silvermind/bookyt,hauledev/bookyt,wtag/bookyt,gaapt/bookyt,hauledev/bookyt,xuewenfei/bookyt,xuewenfei/bookyt,silvermind/bookyt,huerlisi/bookyt,wtag/bookyt,hauledev/book... |
035e95b627fdc62bbe053b1c791781cd1dc219d5 | app/views/paid_taxes/totals.html.erb | app/views/paid_taxes/totals.html.erb | <% content_for :heading do -%><%= t("myplaceonline.paid_taxes.totals") %><% end -%>
<h1><%= t("myplaceonline.paid_taxes.totals") %></h1>
<%= flashes! %>
<%= data_row(heading: t("myplaceonline.paid_taxes.total_agi"), prefix_heading: true, content: Myp.number_to_currency(@total_agi), wrap: false) %>
<%= data_row(headi... | <% content_for :heading do -%><%= t("myplaceonline.paid_taxes.totals") %><% end -%>
<h1><%= t("myplaceonline.paid_taxes.totals") %></h1>
<%= flashes! %>
<%= data_row(heading: t("myplaceonline.paid_taxes.total_agi"), prefix_heading: true, content: Myp.number_to_currency(@total_agi), wrap: false) %>
<%= data_row(headi... | Add donations to paid tax totals | Add donations to paid tax totals
| HTML+ERB | agpl-3.0 | myplaceonline/myplaceonline_rails,myplaceonline/myplaceonline_rails,myplaceonline/myplaceonline_rails |
b1f76d28e878fe41cbcc8647937fa76bbfb7f80b | app/views/requests/_request.html.erb | app/views/requests/_request.html.erb | <li class="request" data-id="<%= request.id %>">
<p class="content">
<%= request.requester.first_name %> said: <%= request.content %>
At <%= request.created_at %>
</p>
<% if request.requester == current_user %>
<%= button_to "Cancel Request", request, class: 'button', method: 'delete' %>
<% elsif ... | <li class="request" data-id="<%= request.id %>">
<p class="content">
<%= request.requester.first_name %> said: <%= request.content %>
At <%= request.created_at %>
</p>
<% if request.responder != nil %>
<p><%= request.responder.first_name %> has responded to the request!</p>
<% end %>
<% if reques... | Add fulfillment button and remove all views upon fulfillment | Add fulfillment button and remove all views upon fulfillment
| HTML+ERB | mit | kimchanyoung/nghborly,kimchanyoung/nghborly,kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly,nyc-mud-turtles-2015/nghborly,nyc-mud-turtles-2015/nghborly |
ffb03b6d5f84a97c57e206c1e48b98544fa06ede | app/views/requests/_request.html.erb | app/views/requests/_request.html.erb | <li class="request" data-id="<%= request.id %>">
<p class="content">
<%= request.requester.first_name %> said: <%= request.content %>
At <%= request.created_at %>
</p>
<% if request.requester == current_user %>
<%= button_to "Cancel Request", request, class: 'button', method: 'delete' %>
<% elsif ... | <li class="request" data-id="<%= request.id %>">
<p class="content">
<%= request.requester.first_name %> said: <%= request.content %>
At <%= request.created_at %>
</p>
<% if request.requester == current_user %>
<%= button_to "Cancel Request", request, class: 'button', method: 'delete' %>
<% elsif ... | Fix bug in the url fed to the link_to method. | Fix bug in the url fed to the link_to method.
| HTML+ERB | mit | nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly |
5f47f25396d594ed7177c456cd1dc84d76af2d43 | pages/pipelines/_build_states.md.erb | pages/pipelines/_build_states.md.erb | Build state can be one of `scheduled`, `running`, `passed`, `failed`, `blocked`, `canceling`, `canceled`, `skipped`, `not_run`, or `finished`.
`finished` is a shortcut for a build of `passed`, `failed`, `blocked`, and `canceled` state. | Build state can be one of `creating`, `scheduled`, `running`, `passed`, `failed`, `blocked`, `canceling`, `canceled`, `skipped`, `not_run`, or `finished`.
`finished` is a shortcut for a build of `passed`, `failed`, `blocked`, and `canceled` state.
| Include new `creating` build state | Include new `creating` build state
| HTML+ERB | mit | buildkite/docs,buildkite/docs,buildkite/docs,buildkite/docs |
9a8e591f41a65eae9b2e686a7f07c8791d26a444 | modules/govuk_jenkins/templates/jobs/govuk_content_api_docs.yaml.erb | modules/govuk_jenkins/templates/jobs/govuk_content_api_docs.yaml.erb | ---
- scm:
name: govuk-content-api-docs
scm:
- git:
url: git@github.com:alphagov/govuk-content-api-docs.git
basedir: govuk-content-api-docs
branches:
- master
- job:
name: govuk-content-api-docs
display-name: Publish GOV.UK Content API Docs
project-typ... | ---
- scm:
name: govuk-content-api-docs
scm:
- git:
url: git@github.com:alphagov/govuk-content-api-docs.git
basedir: govuk-content-api-docs
branches:
- master
- job:
name: govuk-content-api-docs
display-name: Publish GOV.UK Content API Docs
project-typ... | Create bundle path for Jenkins | Create bundle path for Jenkins
Turns out the reason this task was failing was because the directory
referred to by the BUNDLE_PATH env var didn't exist. By creating it this
starts working again.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
c9809a7b604832a58c3d5f9f50f354f7f972b724 | alert_templates/shared/loggregator/loggregator_message_reliability_from_metron_to_doppler_below_threshold.json.erb | alert_templates/shared/loggregator/loggregator_message_reliability_from_metron_to_doppler_below_threshold.json.erb | {
"escalation_message": "",
"message": "## Description:\n <%= monitoringAndMetrics_pagerduty %> \nThe count of sent messages from the Metron Agent does not match the count of received messages on the Doppler Server.\n\n## Escalation Path:\n LAMBDA Team. \n\n## Reasons this has alerted before:\n- Doppler had run ou... | {
"escalation_message": "",
"message": "## Description:\n <%= monitoringAndMetrics_pagerduty %> \nThe count of sent messages from the Metron Agent does not match the count of received messages on the Doppler Server.\n\n## Escalation Path:\n LAMBDA Team. \n\n## Reasons this has alerted before:\n- Doppler had run ou... | Fix message reliability monitor's query to contain average and threshold | Fix message reliability monitor's query to contain average and threshold
[#141211859]
Signed-off-by: Jason Keene <6860b6804203c35846513c1877d6effca68277e9@pivotal.io>
| HTML+ERB | apache-2.0 | pivotal-cf-experimental/datadog-config-oss,pivotal-cf-experimental/datadog-config-oss |
64c6156aca17e84b1a445910fdd0c0cd34d931a9 | app/views/question/new.html.erb | app/views/question/new.html.erb | <div class="hero-unit">
<h1>Ask AMEE</h1>
<p>
This is an experiment in making it quicker to get what you want from AMEE.
</p>
<p>
Got a question for AMEE? Ask away! Try things like
<%= link_to "100km in a car", "answer?q=100km+in+a+car" %>,
<%= link_to "10kg of coal", "answer?q=10kg+of+coal" %>... | <div class="hero-unit">
<h1>Ask AMEE</h1>
<p>
This is an experiment in making it quicker to get what you want from AMEE.
</p>
<p>
Got a question for AMEE? Ask away! Try things like
<%= link_to "100km in a car", "answer?q=100km+in+a+car" %>,
<%= link_to "10kg of coal", "answer?q=10kg+of+coal" %>... | Add extra help above input box. | Add extra help above input box.
| HTML+ERB | bsd-3-clause | OpenAMEE/askamee,OpenAMEE/askamee |
b76cbb69d2baf6baf29c62d66da0b965562d791a | app/views/sessions/new.html.erb | app/views/sessions/new.html.erb | <h2>Login:</h2>
<%= form_tag sessions_path do |f| %>
<div>
<%= f.label :name %>:
<%= f.text_field :name %>
</div>
<div>
<%= f.label :email %>
<%= f.text_field :email %>
</div>
<div>
<%= f.label :password %>
<%= f.password_field :password %>
</div>
<%= f.submit 'Log In'%>
<% end %> | <h2>Login:</h2>
<%= form_tag sessions_path do |f| %>
<div>
Username: <%= text_field_tag :name %>
</div>
<div>
Email: <%= email_field_tag :email %>
</div>
<div>
Password: <%= password_field_tag :password %>
</div>
<%= submit_tag 'Log In'%>
<% end %> | Change from form_for to form_tag | Change from form_for to form_tag
| HTML+ERB | mit | zlschatz/Mountain-Chat-Rails-App,zlschatz/Mountain-Chat-Rails-App,zlschatz/Mountain-Chat-Rails-App |
b1f63c39b9ee624147f6d568ca567f2a9a2d5fff | app/views/documents/_iframe_embed_code.html.erb | app/views/documents/_iframe_embed_code.html.erb | <div class="DC-embed DC-embed-document DV-container">
<div style="position:relative;padding-bottom:<%= options[:document].inverted_aspect_ratio * 100 %>%;height:0;overflow:hidden;max-width:100%;">
<%= content_tag :iframe, nil, {
src: options[:document].iframe_embed_src_url(data),
title: "#{opt... | <div class="DC-embed DC-embed-document DV-container">
<div style="position:relative;padding-bottom:<%= options[:document].inverted_aspect_ratio * 100 %>%;height:0;overflow:hidden;max-width:100%;">
<%= content_tag :iframe, nil, {
src: options[:document].iframe_embed_src_url(data),
title: "#{opt... | Allow form submission (and thus searches) on iframed documents. | Allow form submission (and thus searches) on iframed documents. | HTML+ERB | mit | documentcloud/documentcloud,documentcloud/documentcloud,documentcloud/documentcloud,documentcloud/documentcloud |
57fb69b189ccc8196f692e1c0730be02ef5d6cb2 | app/views/contact_mailer/admin_email.html.erb | app/views/contact_mailer/admin_email.html.erb | <html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
</head>
<body>
<%= image_tag("skalbanner.png", size: "250x100", alt: "SkålCon") %>
<%= @message.content %>
<hr>
<p>SkålCon and MSP Pathfinders</p>
</body>
</html>
| <html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
</head>
<body>
<div><%= image_tag("skalbanner.png", size: "250x100", alt: "SkålCon") %></div>
<div style="white-space: pre-wrap"><%= @message.content %></div>
<hr>
<p>SkålCon and MSP Pathfinders</p>
</body>
</html>
| Add divs around image and content. | Add divs around image and content.
| HTML+ERB | mit | 10000-Lakes-Gaming/registration,Acerak2/registration,Acerak2/registration,Acerak2/registration,10000-Lakes-Gaming/registration,Acerak2/registration,10000-Lakes-Gaming/registration,10000-Lakes-Gaming/registration |
f94e036e4dd98a3372026fa1114a200af9c27807 | app/views/root/_publication_metadata.html.erb | app/views/root/_publication_metadata.html.erb | <div class="meta-data group">
<% if publication.updated_at %>
<p class="modified-date"><%= t 'common.last_updated' %>: <%= l publication.updated_at, :format => '%e %B %Y' %></p>
<% end %>
</div>
<% if api_links.any? %>
<% content_for :extra_headers do %>
<% api_links.each do |type, href| %>
<link rel="altern... | <div class="meta-data group">
<% if publication.updated_at %>
<p class="modified-date"><%= t 'common.last_updated' %>: <%= l publication.updated_at, :format => '%e %B %Y' %></p>
<% end %>
</div>
<% if api_links.any? %>
<% content_for :extra_headers do %>
<% api_links.each do |type, href| %>
<link rel="altern... | Use `present?` instead of multiple method calls | Use `present?` instead of multiple method calls | HTML+ERB | mit | alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend |
18f92cb5c8015961ca90b9bdc0910a814f6348f0 | app/views/admin/courses/_edit.html.erb | app/views/admin/courses/_edit.html.erb | <%= semantic_form_for @resource, :url => admin_edition_path(@resource), :as => :edition do |f| %>
<%= f.inputs do %>
<%= render :partial => 'admin/shared/title_etc', :locals => {:f => f} %>
<%= f.input :length, :input_html => { :class => "span7", :disabled => @resource.published? } %>
<%= f.input :summary... | Add editing facility for courses | Add editing facility for courses
| HTML+ERB | mit | theodi/publisher,theodi/publisher,theodi/publisher,theodi/publisher | |
22c142c67ac3d824b4e2e92c3717176f45445981 | app/views/devise/sessions/new.html.erb | app/views/devise/sessions/new.html.erb | <h2>Sign in</h2>
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
<div><%= f.label :email %><br />
<%= f.email_field :email, :autofocus => true %></div>
<div><%= f.label :password %><br />
<%= f.password_field :password %></div>
<% if devise_mapping.rememberable? ... | <h2>Sign in</h2>
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
<div class="row">
<%= f.label :email %>
<br />
<%= f.email_field :email, :autofocus => true %>
</div>
<div class="row">
<%= f.label :password %>
<br />
<%= f.password_field :password %>
</div>
<% if dev... | Add CSS to sign in form | Add CSS to sign in form
| HTML+ERB | mit | awph/translate_community,thedarkmammouth/translate_community,thedarkmammouth/translate_community,awph/translate_community |
366384786450ca71fe3e373c1ae035c3a15f627f | app/views/layouts/constrained.html.erb | app/views/layouts/constrained.html.erb | <% content_for :main do %>
<% if content_for?(:context_bar) %>
<nav class="l-context-bar">
<div class="l-constrained">
<%= yield :context_bar %>
</div>
</nav>
<% end %>
<div class="l-constrained l-padded" id="main" tabindex="-1">
<%= yield %>
</div>
<% end %>
<%= render templa... | <% content_for :main do %>
<% if content_for?(:context_bar) %>
<nav class="l-context-bar l-padded">
<div class="l-constrained">
<%= yield :context_bar %>
</div>
</nav>
<% end %>
<div class="l-constrained l-padded" id="main" tabindex="-1">
<%= yield %>
</div>
<% end %>
<%= rend... | Add padding for mobile view to context_bar | Add padding for mobile view to context_bar
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
5e810ffbd3185213dddd30d4d35fa6a8bf37ce98 | app/views/organisations/index.html.erb | app/views/organisations/index.html.erb | <% content_for :title, "Departments, agencies and public bodies - GOV.UK" %>
<div class="grid-row">
<div class="column-two-thirds">
<%= render "govuk_publishing_components/components/title", {
title: @presented_organisations.title
} %>
</div>
</div>
<div class="organisations">
<%= render partial... | <% content_for :title, "Departments, agencies and public bodies - GOV.UK" %>
<div class="grid-row">
<div class="column-two-thirds">
<%= render "govuk_publishing_components/components/title", {
title: @presented_organisations.title
} %>
</div>
</div>
<div class="organisations">
<%= render partial... | Add contact GOV.UK link to bottom of org list page | Add contact GOV.UK link to bottom of org list page
| HTML+ERB | mit | alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections |
66f5ffeb8e40ce1da4e145ba421cf79d12b8a42d | app/views/questions/_question.html.erb | app/views/questions/_question.html.erb | <h4>
<%= link_to question.title, question_path(question) %>
<% if current_user == question.user %>
|
<%= link_to 'edit', edit_question_path(question) %>
|
<%= link_to 'delete', "/questions/#{question.id}/", method: :delete %>
<% end %>
</h4>
| <h4>
<% if logged_in? %>
<%= link_to "+", question_votes_path(question), method: :create %>
<%= "#{question.net_votes}" %>
<%= link_to "—", question_votes_path(question), method: :update %>
|
<% end %>
<%= link_to question.title, question_path(question) %>
<% if current_user == question.user %>... | Add views for voting and vote count | Add views for voting and vote count
| HTML+ERB | mit | nyc-copperheads-2016/Gold-Team-Stackoverflow,nyc-copperheads-2016/Gold-Team-Stackoverflow,nyc-copperheads-2016/Gold-Team-Stackoverflow |
61b2e540c1c39eeec78039d61ff55996eca141b2 | app/flows/marriage_abroad_flow/outcomes/countries/peru/uk/partner_other/_same_sex.erb | app/flows/marriage_abroad_flow/outcomes/countries/peru/uk/partner_other/_same_sex.erb | It’s not possible to get legal recognition for your same-sex relationship in Peru.
| You may be able to get married or register a civil partnership at the British embassy in Peru.
[Make an appointment at the embassy in Lima](https://www.book-consular-appointment.service.gov.uk/TimeSelection?location=125&service=10). You’ll need to have been in Peru for at least 7 full days before your appointment.
... | Update UK ceremony, other partner 1 | Update UK ceremony, other partner 1 | HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
9f56707cb34022aa6e7b66bcd259260e854eb6f5 | templates/agent-common.erb | templates/agent-common.erb | MESOS_ATTRIBUTES="<% @attributes.sort.each do |key, val| -%><%= key -%>:<%= val -%>;<% end %>"
<% @mesos.sort.each do |key, val| -%>
<%= key.upcase -%>=<%= val %>
<% end -%>
<% unless @resources.empty? -%>
MESOS_RESOURCES="<%= scope.function_dcos_resources([@resources]).gsub('"', '\"') %>"
<% end -%>
<% if @region or @... | MESOS_ATTRIBUTES="<% @attributes.sort.each do |key, val| -%><%= key -%>:<%= val -%>;<% end %>"
<% @mesos.sort.each do |key, val| -%>
<%= key.upcase -%>=<%= val %>
<% end -%>
<% unless @resources.empty? -%>
MESOS_RESOURCES="<%= scope.function_dcos_resources([@resources]).gsub('"', '\"') %>"
<% end -%>
<% if @region or @... | Revert "Set hostname if defined" | Revert "Set hostname if defined"
This reverts commit 9c20b29cd30c38c70b40c0f6b5daf53f91e00544.
| HTML+ERB | apache-2.0 | deric/puppet-dcos,deric/puppet-dcos,deric/puppet-dcos |
ad3e305d4637d1224ce2e16c3bc6ecf35ff1cce2 | app/views/parties/_representative_gallery.html.erb | app/views/parties/_representative_gallery.html.erb | <div id="representative-carousel" class="carousel slide">
<div class="carousel-inner">
<% representatives.each_slice(4).with_index do |representative_group, index| %>
<%= render partial: "active_carousel_item", locals: { representative_group: representative_group } if index == 0 %>
<%= render partial:... | <div id="representative-carousel" class="carousel slide">
<div class="carousel-inner">
<% representatives.each_slice(4).with_index do |representative_group, index| %>
<%= render partial: "active_carousel_item", locals: { representative_group: representative_group } if index == 0 %>
<%= render partial:... | Remove unused option from carousel initialization. | Remove unused option from carousel initialization.
| HTML+ERB | bsd-3-clause | holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site |
b156661dde6ff72e09d615469752c69247797e06 | lib/smart_answer_flows/am-i-getting-minimum-wage/am_i_getting_minimum_wage.govspeak.erb | lib/smart_answer_flows/am-i-getting-minimum-wage/am_i_getting_minimum_wage.govspeak.erb | <% content_for :title do %>
National Minimum Wage calculator for workers
<% end %>
<% content_for :meta_description do %>
Check if your pay matches the National Minimum Wage, the national living wage or if your employer owes you payments from past years.
<% end %>
<% content_for :body do %>
Check if your pay ma... | <% content_for :title do %>
Minimum wage calculator for workers
<% end %>
<% content_for :meta_description do %>
Check if your pay matches the National Minimum Wage, the national living wage or if your employer owes you payments from past years.
<% end %>
<% content_for :body do %>
Check if:
- you’re get... | Update copy in landing page for employee flow. | Update copy in landing page for employee flow.
After 1 April 2016 the copy need to be updated.
It also updates `national living wage` into `National Living Wage` as
this is the agreed convention across the calculator.
| HTML+ERB | mit | stwalsh/smart-answers,aledelcueto/smart-answers,stwalsh/smart-answers,alphagov/smart-answers,stwalsh/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,stwalsh/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
c32668d5a2c361ef61a535800a294bb819798aef | views/offline.appcache.erb | views/offline.appcache.erb | CACHE MANIFEST
CACHE:
<%= asset_path("application.css") %>
<%= asset_path("application.js") %>
/font/fontawesome-webfont.woff
/font/fontawesome-webfont.eot
/font/fontawesome-webfont.ttf
/font/fontawesome-webfont.woff
/font/FontAwesome.otf
NETWORK:
* | CACHE MANIFEST
CACHE:
<%= asset_path("application.css") %>
<%= asset_path("application.js") %>
/font/fontawesome-webfont.woff?v=3.0.1
/font/fontawesome-webfont.eot?v=3.0.1
/font/fontawesome-webfont.ttf?v=3.0.1
/font/fontawesome-webfont.svg
/font/FontAwesome.otf
NETWORK:
* | Update cache for font awesome. | Update cache for font awesome.
| HTML+ERB | mit | brandonhilkert/ironman,brandonhilkert/ironman,brandonhilkert/ironman |
35ade68116a6764c27e3552838e1adc8d0dbf2af | views/partials/job_new.erb | views/partials/job_new.erb | <form name="new_job" action="/jobs" method="post" accept-charset="utf-8">
<input type="text" name="job[job_title]" placeholder="Job title"> at
<input type="text" name="job[company_name]" placeholder="Company name">
<br>
<label for="job[job_description]">Job Description</label><br>
<textarea name="job[job_des... | <form name="new_job" action="/jobs" method="post" accept-charset="utf-8">
<input type="text" name="job[job_title]" placeholder="Job title"> at
<input type="text" name="job[company_name]" placeholder="Company name">
<br>
<label for="job[job_description]">Job Description</label><br>
<textarea name="job[job_des... | Use placeholder attribute of textarea | Use placeholder attribute of textarea
| HTML+ERB | mit | chrisswk/linkedout-example,chrisswk/linkedout-example,codeunion/linkedout-example,codeunion/linkedout-example,chrisswk/linkedout-example,codeunion/linkedout-example |
3cc24931b62bc7f0e31b5e01a8dcceb80aef426d | app/views/glsa/_status_legend.html.erb | app/views/glsa/_status_legend.html.erb | <div class="legend box">
<h2>Legend</h2>
<strong>Status:</strong> Request: <%= status_icon "request" %>; Draft: <%= status_icon "draft" %>; Sent GLSA: <%= status_icon "sent" %>
<strong>Bugs:</strong> ready: <%= bugready_icon true %>; not ready: <%= bugready_icon false %>
<strong>Approval:</strong> approved: <%=... | <div class="legend box">
<h2>Legend</h2>
<strong>Status:</strong> Request: <%= status_icon "request" %>; Draft: <%= status_icon "draft" %>; Sent GLSA: <%= status_icon "release" %>
<strong>Bugs:</strong> ready: <%= bugready_icon true %>; not ready: <%= bugready_icon false %>
<strong>Approval:</strong> approved: ... | Fix status icon for sent GLSAs in the legend | Fix status icon for sent GLSAs in the legend
| HTML+ERB | agpl-3.0 | ackle/glsamaker-dev,ackle/glsamaker-dev |
b78f49c54b57bff5c900b6fa3835808b902defff | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>TheHive</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<%= javascript_include_tag 'application... | <!DOCTYPE html>
<html>
<head>
<title>TheHive</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<%= javascript_include_tag 'application... | Add if else current_user to render nav bar | Add if else current_user to render nav bar
| HTML+ERB | mit | nyc-bumblebees-2015/the-hive,Jguzik83/the-hive,Jguzik83/the-hive,AlinaJahnes/the-hive,Jguzik83/the-hive,AlinaJahnes/the-hive,ChristineSchatz/the-hive,ChristineSchatz/the-hive,nyc-bumblebees-2015/the-hive,nyc-bumblebees-2015/the-hive,ChristineSchatz/the-hive,AlinaJahnes/the-hive |
eca4c64fc3afa8b70d24aa42a6b8a43bb72e989c | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>WriteNow</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<%= yield %>
</body>
</html>
| <!DOCTYPE html>
<html>
<head>
<title>WriteNow</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<%= render partial: 'shared/global_nav' %>
<%= ... | Add partial render to main layout - partial renders global nav. | Add partial render to main layout - partial renders global nav.
| HTML+ERB | mit | tiger-swallowtails-2014/write-now,tiger-swallowtails-2014/write-now |
f74045d323dfcead813cc5adf06b69fe2ee525b5 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>StuffIBuy</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<%= yield %>
</body>
</html>
| <!DOCTYPE html>
<html>
<head>
<title>Stuff-I-Buy</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<div id="main-container" class="container"> ... | Add Boostrap styles to layout | Add Boostrap styles to layout
| HTML+ERB | mit | withtwoemms/stuff-i-buy,withtwoemms/stuff-i-buy,withtwoemms/stuff-i-buy |
a7e96463350db4a424b6e16529a2f48571bba409 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Costper</title>
<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
</head>
<body>
<%= yield %>
</body>
</html>... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1">
<title>Costper</title>
<%= csrf_meta_tags %>
<script
src="https://code.jquery.com... | Add boostrap 4, jquery to layout | Add boostrap 4, jquery to layout
| HTML+ERB | mit | dnguyensr/costper,dnguyensr/costper,dnguyensr/costper |
8a23be42cecc0bb31ee738a9ab34a4d64d37ab7d | source/templates/academia.html.erb | source/templates/academia.html.erb | <section class="timeline">
<% data.academia.each do |slug, project| %>
<div class="timeline-instance">
<div class="timeline-point"></div>
<div class="card timeline-card">
<%= link_to '', slug, :class => "card-link no-hvr" %>
<div class="card-header">
<h3 class="card-title">
... | Create a template for showing a timeline of cards for the Academia section | Create a template for showing a timeline of cards for the Academia section
| HTML+ERB | mit | fractaledmind/fractaled_mind,fractaledmind/fractaled_mind,smargh/fractaled_mind,smargh/fractaled_mind,smargh/fractaled_mind,smargh/fractaled_mind,fractaledmind/fractaled_mind,fractaledmind/fractaled_mind | |
f9a7d5815780435e12c4721059ca8939372c716a | app/views/my_modules/_card_due_date_label.html.erb | app/views/my_modules/_card_due_date_label.html.erb | <% if my_module.completed? %>
<%= t("my_modules.states.completed") %>
<span class="due-date-label">
<%= l(my_module.completed_on.utc, format: :full_date) %>
<span class="fas fa-check"></span>
</span>
<% elsif my_module.is_one_day_prior? %>
<%= t("my_modules.states.due_soon") %>
<span class="due-date-l... | <% if my_module.completed? %>
<%= t('my_modules.states.completed') %>
<span class="due-date-label">
<%= l(my_module.completed_on, format: :full_date) %>
<span class="fas fa-check"></span>
</span>
<% elsif my_module.is_one_day_prior? %>
<%= t('my_modules.states.due_soon') %>
<span class="due-date-label... | Fix due dates on task cards in the canvas | Fix due dates on task cards in the canvas [SCI-4487]
| HTML+ERB | mpl-2.0 | mlorb/scinote-web,mlorb/scinote-web,mlorb/scinote-web |
c40035df0f552b75aff2200af1ab368216f23d09 | app/views/layouts/frontend.html.erb | app/views/layouts/frontend.html.erb | <%= render :layout => 'layouts/frontend_base' do %>
<nav id="proposition-menu" class="no-proposition-name">
<ul id="proposition-links">
<li><%= main_navigation_link_to "Departments", organisations_path %></li>
<li><%= main_navigation_link_to "Worldwide", world_locations_path(locale: :en) %></li>
... | <%= render :layout => 'layouts/frontend_base' do %>
<nav id="proposition-menu" class="no-proposition-name">
<ul id="proposition-links">
<li><%= main_navigation_link_to "Departments", organisations_path %></li>
<li><%= main_navigation_link_to "Worldwide", world_locations_path(locale: :en) %></li>
... | Remove `Policies` from the shared nav bar | Remove `Policies` from the shared nav bar
Due to the retiring of `Policies`, the link to the policy finder has
been removed from the shared nav-bar accross whitehall-frontend as the
page will soon be deprecated.
| HTML+ERB | mit | alphagov/whitehall,alphagov/whitehall,alphagov/whitehall,alphagov/whitehall |
39417238fcd92b8bdb7221851417628158d99845 | app/views/layouts/koi/body.html.erb | app/views/layouts/koi/body.html.erb | <% content_for :html do %>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<%= link_to koi_engine.dashboard_path, class: "logo-header" do %>
<%= image_tag "koi/application/logo-katalyst.png", border: 0 %>
<% end %>
... | <% content_for :html do %>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<%= link_to koi_engine.dashboard_path, class: "logo-header" do %>
<%= image_tag "koi/application/logo-katalyst.png", border: 0 %>
<% end %>
... | Make some space between the bottom of the page and the window. | Make some space between the bottom of the page and the window.
| HTML+ERB | mit | katalyst/koi,katalyst/koi,katalyst/koi |
6f4255b74ad62c96dd73ff42725e98279cc90d7c | templates/oio-event-agent.conf.erb | templates/oio-event-agent.conf.erb | [event-agent]
namespace = <%= @ns %>
user = %= scope['openiosds::user'] %>
bind_addr = <%= @_bind_addr %>
workers = <%= @workers %>
queue_location = <%= scope['openiosds::sharedstatedir'] %>/oio-event-queue.db
retry_interval = 30
log_facility = <%= @log_facility %>
log_level = <%= @log_level %>
log_name = <%= @_log_nam... | [event-agent]
namespace = <%= @ns %>
user = <%= scope['openiosds::user'] %>
bind_addr = <%= @_bind_addr %>
workers = <%= @workers %>
queue_location = <%= scope['openiosds::sharedstatedir'] %>/oio-event-queue.db
retry_interval = 30
log_facility = <%= @log_facility %>
log_level = <%= @log_level %>
log_name = <%= @_log_na... | Fix user and syslog prefix | Fix user and syslog prefix
| HTML+ERB | apache-2.0 | sebastienlapierre/puppet-openiosds,sebastienlapierre/puppet-openiosds,open-io/puppet-openiosds,open-io/puppet-openiosds,racciari/puppet-openiosds,racciari/puppet-openiosds |
f8874f086048dc104df0f744355f0d32fff947d9 | app/views/admin/whitelisted_hosts/index.html.erb | app/views/admin/whitelisted_hosts/index.html.erb | <% content_for :page_title, 'Redirect whitelist' %>
<div class="page-title">
<h1>
Redirection whitelist<br/>
<small>
You can only create redirects if they go to a domain on this list or the domain ends in .gov.uk or .mod.uk.
</small>
</h1>
</div>
<div class="pull-left add-bottom-margin">
<h2><... | <% content_for :page_title, 'Redirect whitelist' %>
<div class="page-title">
<h1>
Redirection whitelist<br/>
<small>
You can only create redirects if they go to a domain on this list or the domain ends in .gov.uk or .mod.uk.
</small>
</h1>
</div>
<div class="pull-left add-bottom-margin">
<h2><... | Add filtering to the whitelist view | Add filtering to the whitelist view
- This behaves more like the organisation view.
| HTML+ERB | mit | alphagov/transition,alphagov/transition,alphagov/transition |
a27aacfd79001adf5aa5403569a1a3d29b763658 | app/views/admin/topics/show.html.erb | app/views/admin/topics/show.html.erb | <% title "#{admin_title} #{t(:discussions, default: 'Discussions')}: #{@topic.id} #{@topic.name.titleize}" %>
<div class="row">
<div id="admin-left-nav" class="hidden-xs col-md-3 col-sm-2 ticket-stats">
<%= render partial: 'admin/topics/tiny' %>
</div>
<div id="tickets" class="col-md-9 main-panel">
<%= ... | <% title "#{admin_title} #{t(:discussions, default: 'Discussions')}: #{@topic.id} #{@topic.name.titleize}" %>
<div class="row">
<div id="admin-left-nav" class="hidden-xs hidden-sm col-md-3 ticket-stats">
<%= render partial: 'admin/topics/tiny' %>
</div>
<div id="tickets" class="col-md-9 main-panel">
<%=... | Fix ticket show upper gap bug | Fix ticket show upper gap bug
| HTML+ERB | mit | scott/helpy__helpdesk_knowledgebase,scott/helpy__helpdesk_knowledgebase,scott/helpy__helpdesk_knowledgebase,helpyio/helpy,helpyio/helpy,helpyio/helpy,helpyio/helpy |
c2e103de91c02ef86dbdd23e6f8eba3c81342934 | app/views/game_events/_form.html.erb | app/views/game_events/_form.html.erb | <%= form_for(@game_event) do |f| %>
<% if @game_event.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@game_event.errors.count, "error") %> prohibited this game_event from being saved:</h2>
<ul>
<% @game_event.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
... | <%= form_for(@game_event) do |f| %>
<% if @game_event.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@game_event.errors.count, "error") %> prohibited this game_event from being saved:</h2>
<ul>
<% @game_event.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
... | Choose turn in game_events form | Choose turn in game_events form
| HTML+ERB | mit | bmordue/littlegreenmen,bmordue/littlegreenmen,bmordue/littlegreenmen |
4d9d8f18ca9ef3d43646ed6dc530b58de640f62d | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>SoapStone</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<%= csrf_meta_tags %>
</head>
<body>
<%= yield %>
</body>
</html>
| <!DOCTYPE html>
<html>
<head>
<title>SoapStone</title>
<script src="http://maps.googleapis.com/maps/api/js"></script>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<%= csrf_meta_tags %>
</head>
<body>
<%= yield %>
</body>
</html> | Add google maps api src | Add google maps api src
| HTML+ERB | mit | nyc-mud-turtles-2015/Soap-Stone,nyc-mud-turtles-2015/Soap-Stone,nyc-mud-turtles-2015/Soap-Stone |
5d8cf2dbae92772eb9dfa90974e352552c13cc5b | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title><%= content_for?(:title) ? yield(:title) : "foundation-rails" %></title>
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag "vendor... | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title><%= content_for?(:title) ? yield(:title) : "GovScores" %></title>
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag "vendor/modern... | Update head title tag in layout. | Update head title tag in layout.
| HTML+ERB | mpl-2.0 | kahdojay/govscores,kahdojay/govscores,kahdojay/govscores |
b643e8053ce2a105e45551f0a992faad23104e35 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>BlogSample</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<a href="/users/sign_in">Sign In</a> |
<a href="/u... | <!DOCTYPE html>
<html>
<head>
<title>BlogSample</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<%= link_to 'Sign In', new_user_session_path %> | ... | Add better 'Sign In' and 'Sign Out' links (rails style) | Add better 'Sign In' and 'Sign Out' links (rails style)
| HTML+ERB | mit | Kraykin/Blog-sample,Kraykin/Blog-sample,Kraykin/Blog-sample |
6f8a24adcf4db4bb4bf8cf17f2200b4798cb85ad | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Homeworkr</title>
<%= stylesheet_link_tag :all %>
<%= javascript_include_tag :defaults %>
<%= csrf_meta_tag %>
</head>
<body>
<% if user_signed_in? %>
<div style="float:right"><%= link_to('View submissions', submissions_path, :class=>"command") %> or <%= link_to('Log out', d... | <!DOCTYPE html>
<html>
<head>
<title>Homeworkr</title>
<%= stylesheet_link_tag :all %>
<%= javascript_include_tag :defaults %>
<%= csrf_meta_tag %>
</head>
<body>
<% if user_signed_in? %>
<div style="float:right"><%= link_to('View submissions', submissions_path, :class=>"command") %> or <%= link_to('Log out', d... | Remove class header from application layout. | Remove class header from application layout. | HTML+ERB | mit | briantemple/homeworkr,briantemple/homeworkr |
712f4a5ec052437be33aadabae7f835b3372a88e | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html ng-app="LDT" ng-controller="PageCtrl">
<head>
<title ng-bind-template="{{title}}">LDT</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<%= stylesheet_link_tag "application", :media => "all" %>
<%= stylesheet_link_tag "print", :media => "print" %>
<%= javascript_i... | <!DOCTYPE html>
<html ng-app="LDT" ng-controller="PageCtrl">
<head>
<title ng-bind-template="{{title}}"></title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<%= stylesheet_link_tag "application", :media => "all" %>
<%= stylesheet_link_tag "print", :media => "print" %>
<%= javascript_incl... | Remove LDT from loading page title | Remove LDT from loading page title
| HTML+ERB | mit | allantokuda/LDT,allantokuda/LDT,allantokuda/LDT,allantokuda/LDT |
d63d4f1416fdbb4bbf70eb35e6a9b147db4701da | app/views/songs/_edit_section.html.erb | app/views/songs/_edit_section.html.erb | <div class="edit-section">
<input type="hidden" name="section-id" value="<%= section.id %>">
<!-- refactor for section artists -->
<h5> <%= section.section_type %> by <%= section.song.artists.first.name %></h5>
<button class="delete-section">Delete Section</button>
<!-- refactor for different beats per measur... | <div class="edit-section">
<input type="hidden" name="section-id" value="<%= section.id %>">
<!-- refactor for section artists -->
<h5> <%= section.section_type %> by <%= section.song.artists.first.name %></h5>
<button type="button" class="tiny alert button delete-section">Delete Section</button>
<!-- refacto... | Use foundation styles to change appearance of delete section button | Use foundation styles to change appearance of delete section button
| HTML+ERB | mit | markjanzer/rap-analysis,markjanzer/rap-analysis,markjanzer/rap-analysis |
23e603d0b858e00c95e3be855d577b0668168d35 | app/views/beta/index.html.erb | app/views/beta/index.html.erb | <%= csrf_meta_tags %>
<div id="page"></div>
<script src="//cdn.jsdelivr.net/mithril/0.1.18/mithril.min.js"></script>
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.get... | <%= csrf_meta_tags %>
<div id="page"></div>
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
... | Remove mithril include now that we are bundling it in main.js | Remove mithril include now that we are bundling it in main.js
| HTML+ERB | mit | ScienceCommons/api,ScienceCommons/api,ScienceCommons/api,ScienceCommons/api |
f8d7ffa5ae0739df91a6cd3284482324c3eae2e8 | app/views/bookmarks/index.erb | app/views/bookmarks/index.erb | <h1>List of Bookmarks</h1>
<a href="/users">Home</a>
<% @bookmarks.each do |bookmark| %>
<div>
<p>
<a href="http://www.<%= bookmark.url %>" target="_blank"><%= bookmark.title %></a><br>
<%= bookmark.description %><br>
<%= bookmark.url %> <br>
<%= bookmark.created_at.strftime("%b %d %Y") ... | <h1>List of Bookmarks</h1>
<a href="/users">Home</a>
<% @bookmarks.each do |bookmark| %>
<div>
<p>
<a href="http://<%= bookmark.url %>" target="_blank"><%= bookmark.title %></a><br>
<%= bookmark.description %><br>
<%= bookmark.url %> <br>
<%= bookmark.created_at.strftime("%b %d %Y") %>
... | Fix issue with href attribute for bookmarked URL | Fix issue with href attribute for bookmarked URL
| HTML+ERB | mit | surla/bookmark-list,surla/bookmark-list |
184680d5d49851a86ecfd27faf9f9ab34de39c1e | app/views/needs/show.html.erb | app/views/needs/show.html.erb | <%= link_to 'Edit', edit_need_path(@need) %> |
<%= link_to 'Back', needs_path %>
| <h2><%= @need.title %></h2>
<p><%= @need.description %></p>
<dl>
<dt>Format Type</dt>
<dd><%= @need.kind %></dd>
<dt>Created</dt>
<dd><%= @need.created_at %></dd>
<dt>Updated</dt>
<dd><%= @need.updated_at %></dd>
<dt>Added By</dt>
<dd>tbd</dd>
<dt>Priority</dt>
<dd><%= @need.priority %></dd>
</dl>
... | Add very simple detail page for needs | Add very simple detail page for needs
| HTML+ERB | mit | gds-attic/need-o-tron,gds-attic/need-o-tron,gds-attic/need-o-tron |
3e8578be6a9e83f926454d8ae497f077dd613845 | app/views/tags/index.html.erb | app/views/tags/index.html.erb | <h4>Tags</h4>
<ol>
<% @tags.each do |tag| %>
<%= link_to tag.name, tag_path(tag), :class => "user-show-link"%>
<% end %>
</ol> | <h4>Tags</h4>
<ol>
<% @tags.each do |tag| %>
<%= link_to tag.name, question_tags_path(tag), :class => "user-show-link"%>
<% end %>
</ol> | Fix route in link to show tags | Fix route in link to show tags
| HTML+ERB | mit | jeder28/stack_overphil,jeder28/stack_overphil,jeder28/stack_overphil |
6ff63cf70b73179c3b0471ac5cd1d536b819b3ed | app/views/gallery/index.erb | app/views/gallery/index.erb | <h1>Hi <%= session[:foody][:name] %></h1>
<h4>Here are your galleries</h4>
<% @galleries.each do |gallery| %>
<ul>
<li><%= gallery.name %></li>
</ul>
<% end %>
| Add view to show all galleries for one Foody. | Add view to show all galleries for one Foody.
| HTML+ERB | cc0-1.0 | pc3sq/foodiemon,pc3sq/foodiemon | |
319ae1d775184a38375aed63ebc4a7d28526983d | app/views/home/index.html.erb | app/views/home/index.html.erb | <% unless current_user %>
<p>
<%= link_to "Login", new_session_path %> to upload source images and create source sets.
</p>
<% end %>
<% unless @src_images.empty? %>
<%= render partial: 'src_images/src_images' %>
<% end %>
<% unless @src_sets.empty? %>
<%= render :partial => 'src_sets/src_sets' ... | <% unless current_user %>
<p>
<%= link_to "Login", new_session_path %> to upload source images and create source sets.
</p>
<% end %>
<% unless @src_images.empty? %>
<%= render partial: 'src_images/src_images' %>
<% end %>
<% unless @src_sets.empty? %>
<%= render partial: 'src_sets/src_sets' %>
... | Use ruby 1.9 style hashes. | Use ruby 1.9 style hashes.
| HTML+ERB | mit | mmb/meme_captain_web,mmb/meme_captain_web,mmb/meme_captain_web,mmb/meme_captain_web |
40ed0b579030ca4b372a54d4176a5f19b6e47fcb | app/views/layers/new.html.erb | app/views/layers/new.html.erb | <h2>New Mosaic</h2>
<em>Note: All Mosaics are public, you can add unlisted maps to them they won't be listed but they could be seen on the final map image.</em>
<%= error_messages_for @layer %>
<%= render :partial => "form", :locals => {:page => "new"} %>
| <h2>New Mosaic</h2>
<em>Note: All Mosaics are public, you can add unlisted maps to them they won't be listed<br />
but they could be seen on the final map image.</em>
<%= error_messages_for @layer %>
<%= render :partial => "form", :locals => {:page => "new"} %>
| Add better formating to new mosaic page | Add better formating to new mosaic page
| HTML+ERB | mit | kartta-labs/mapwarper,dfurber/mapwarper,timwaters/mapwarper,dfurber/historyforge,timwaters/mapwarper,dfurber/historyforge,timwaters/mapwarper,kartta-labs/mapwarper,kartta-labs/mapwarper,kartta-labs/mapwarper,dfurber/mapwarper,dfurber/mapwarper,timwaters/mapwarper,kartta-labs/mapwarper,dfurber/historyforge,dfurber/mapwa... |
039571682b9d9205ceda89fb297273ad5adf2c71 | app/views/pages/home.html.erb | app/views/pages/home.html.erb | <div class="beta_invites">
<div class="content_wrapper group">
<%= render '/beta_invites/new' %>
</div>
<div class="footer_waves"></div>
<div class="footer">
<div class="footer_wrapper">
<div class="life_saver"></div>
</div>
</div>
</div>
<div id="embed_target" style="margin-l... | <div class="beta_invites">
<div class="content_wrapper group">
<%= render '/beta_invites/new' %>
</div>
<div class="footer_waves"></div>
<div class="footer">
<div class="footer_wrapper">
<div class="life_saver"></div>
</div>
</div>
</div>
<div id="embed_target" style="margin-l... | Make overlay open when life saver is clicked | Make overlay open when life saver is clicked
| HTML+ERB | agpl-3.0 | nikhilmat/helpful-web,nikhilmat/helpful-web,nikhilmat/helpful-web,asm-helpful/helpful-web,asm-helpful/helpful-web,asm-helpful/helpful-web,asm-helpful/helpful-web |
6fabf45b30844fafa605c5f45ffa836f955f8100 | app/views/users/show.html.erb | app/views/users/show.html.erb | <%= render :partial => 'convo_stats' %>
<%= render "user_links" %>
<!-- <%#= render :partial => 'users/user_tags'%> -->
<h6>Convos started by <%= @user.login %></h6>
<div class="item">
<div id="convos">
<% unless @conversations.blank? %>
<%= will_paginate @conversations %>
<ul class="list">
<%... | <%= render :partial => 'convo_stats' %>
<%= render "user_links" %>
<!-- <%#= render :partial => 'users/user_tags'%> -->
<h6>Convos started by <%= @user.login %></h6>
<div class="item">
<div id="convos">
<% unless @conversations.blank? %>
<%= will_paginate @conversations %>
<ul class="list">
<%... | Remove redundant link from profile page | Remove redundant link from profile page
| HTML+ERB | mit | dmitryame/echowaves,dmitryame/echowaves |
7946a98e58e994296a5e5666a2b1f728aed44206 | modules/govuk_jenkins/templates/jobs/publishing_api_archive_events.yaml.erb | modules/govuk_jenkins/templates/jobs/publishing_api_archive_events.yaml.erb | ---
- job:
name: Publishing_API_Archive_Events
display-name: Publishing_API_Archive_Events
project-type: freestyle
description: "This job periodically archives publishing API events to S3"
builders:
- shell: ssh deploy@$(govuk_node_list -c publishing_api --single-node) "cd /var/apps/publishing... | ---
- job:
name: Publishing_API_Archive_Events
display-name: Publishing_API_Archive_Events
project-type: freestyle
description: "This job periodically archives publishing API events to S3"
builders:
- shell: ssh deploy@$(govuk_node_list -c publishing_api --single-node) "cd /var/apps/publishing... | Add email notifications if publishing-api task fails | Add email notifications if publishing-api task fails
This job has been broken for a while now. This setting *should* email
2nd line that something is wrong for each failure. But I haven't tested
this.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
814571da310b1d463d271b8aeefa722a777589b8 | views/appointments/f2f/results.erb | views/appointments/f2f/results.erb | <% content_for :proposition do %>
<%= erb :"partials/proposition" %>
<% end %>
<% content_for :page_title do %>
Local guidance branches
<% end %>
<div class="inner-block">
<p>Contact the branch directly to book a session.</p>
<ol class="list-number">
<li>
<strong class="bold-medium">Earls... | <% content_for :proposition do %>
<%= erb :"partials/proposition" %>
<% end %>
<% content_for :page_title do %>
Local guidance branches
<% end %>
<div class="inner-block">
<p>Contact the branch directly to book a session.</p>
<ol class="list-number">
<li>
<strong class="bold-medium">Earls... | Correct postcode form field label. | Correct postcode form field label.
| HTML+ERB | mit | guidance-guarantee-programme/alpha,guidance-guarantee-programme/alpha,guidance-guarantee-programme/alpha |
b3f11286bd1046c67e285a54f96322f14355e26c | app/views/admin/shared/_list.html.erb | app/views/admin/shared/_list.html.erb | <h2><%= header %></h2>
<% unless options[:selector] %>
<ul>
<% items.each do |item| %>
<li><%= item %></li>
<% end %>
</ul>
<% end %> | <%= content_tag('h2', header) if header %>
<% unless options[:selector] %>
<ul>
<% items.each do |item| %>
<li><%= item %></li>
<% end %>
</ul>
<% end %> | Use content_tag to display header if available. | Use content_tag to display header if available.
| HTML+ERB | mit | chiragshah/typus,gkleiman/typus_3dglabs,wollzelle/typus,brainsome-de/typus,burn-notice/typus,readyfor/typus,brainsome-de/typus,typus/typus,burn-notice/typus,typus/typus,readyfor/typus,brainsome-de/typus,thirdthing/typus,readyfor/typus,gkleiman/typus_3dglabs,thirdthing/typus,wollzelle/typus,readyfor/typus,baban/typus,th... |
e4d403aa1f41b17f8a02e7d17ed517c6e2415d5b | app/views/albums/_album_list.html.erb | app/views/albums/_album_list.html.erb | <% if @album.images.first %>
<li class="album-tile">
<a href='<%= album_path(@album) %>'>
<h3 class="img-count"><%= @album.images.count %></h3>
<%= image_tag(@album.images.first.location, :type => "fetch", :width => 500, :height => 500, :crop => :thumb) %>
<h2><span class="title"><%= @album.titl... | <% if @album.images.first %>
<li class="album-tile">
<a href='<%= album_path(@album) %>'>
<h3 class="img-count"><%= @album.images.count %></h3>
<%= image_tag(@album.images.first.location, :type => "fetch", :width => 500, :height => 500, :crop => :thumb) %>
<h2><span class="title"><%= @album.titl... | Add default image for empty albums | Add default image for empty albums
| HTML+ERB | mit | chi-fiddler-crabs-2015/Photo-Plop,chi-fiddler-crabs-2015/Photo-Plop,chi-fiddler-crabs-2015/Photo-Plop |
dc33efd1f17213ed3d18d5d1965ee2a1496133b7 | templates/pam_sudo_deb.erb | templates/pam_sudo_deb.erb | #%PAM-1.0
# This file is managed by Puppet
auth required pam_env.so readenv=1 user_readenv=0
auth required pam_env.so readenv=1 envfile=/etc/default/locale user_readenv=0
<%- if @pam_radius_enforce_real == 'strict'-%>
# strict - don't allow failback to local password
auth [success=1 default=ignore... | #%PAM-1.0
# This file is managed by Puppet
auth required pam_env.so readenv=1 user_readenv=0
auth required pam_env.so readenv=1 envfile=/etc/default/locale user_readenv=0
<%- if @pam_radius_enforce_real == 'strict'-%>
# strict - don't allow failback to local password
auth [success=1 default=ignore... | Add path to radius users file template for debian | Add path to radius users file template for debian
| HTML+ERB | mit | dieterdemeyer/puppet-pam_radius_auth,dieterdemeyer/puppet-pam_radius_auth,cegeka/puppet-pam_radius_auth |
9bb3e9e832b7b34d4fe72ee206a5208c979e1e2c | cookbooks/mediawiki/templates/default/mw-ext-MobileFrontend.inc.php.erb | cookbooks/mediawiki/templates/default/mw-ext-MobileFrontend.inc.php.erb | <?php
# DO NOT EDIT - This file is being maintained by Chef
#!!! NEEDS REQUIRE !!!
require_once($IP .'/extensions/MobileFrontend/MobileFrontend.php');
#!!! NEEDS REQUIRE !!!
// Enable detection in PHP. Disable this if you put MW behind a caching layer
$wgMFAutodetectMobileView = true;
| <?php
# DO NOT EDIT - This file is being maintained by Chef
wfLoadExtension('MobileFrontend');
// Enable detection in PHP. Disable this if you put MW behind a caching layer
$wgMFAutodetectMobileView = true;
| Convert MobileFrontend mediawiki extension to use wfLoadExtension | Convert MobileFrontend mediawiki extension to use wfLoadExtension
| HTML+ERB | apache-2.0 | zerebubuth/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,Firefishy/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,openstreetmap/chef,Firefishy/chef,Firefishy/chef,Firefishy/chef,tomhug... |
7b16e367b8848061281762f44f7b8e2d5ff32ddd | app/views/spree/admin/shared/_comment_list.html.erb | app/views/spree/admin/shared/_comment_list.html.erb | <table class="index">
<colgroup>
<col style="width: 18%" />
<col style="width: 15%" />
<col style="width: 20%" />
<col style="width: 47%" />
</colgroup>
<thead>
<tr>
<th><%= "#{t('spree.date')}/#{t('spree.time')}" %></th>
<th><%= Spree.t(:type) %></th>
<th><%= Spree.t(:commen... | <table class="index">
<colgroup>
<col style="width: 18%" />
<col style="width: 15%" />
<col style="width: 20%" />
<col style="width: 47%" />
</colgroup>
<thead>
<tr>
<th><%= "#{t('spree.date')}/#{t('spree.time')}" %></th>
<th><%= Spree.t(:type) %></th>
<th><%= Spree.t(:commen... | Allow for comments without a user | Allow for comments without a user
Fixes #36
Conflicts:
app/views/spree/admin/shared/_comment_list.html.erb
| HTML+ERB | bsd-3-clause | nebulab/spree_comments,spree-contrib/spree_comments,spree-contrib/spree_comments,surfdome/spree_comments,nebulab/spree_comments |
9fb0e8e3c483f302cf4b0f5a03b2e8e5ac7e24a3 | lib/generators/templates/app/views/edit.html.erb | lib/generators/templates/app/views/edit.html.erb | <h2><%%= t(:editing, :default => 'Editing') %><%= singular_table_name %></h2>
<%%= render 'form' %>
<%%= link_to t(:back, :default => "Back"), <%= namespace_for_route %><%= plural_table_name %>_path, :class => "btn" %> | <h2><%%= t(:editing, :default => 'Editing') %> <%= singular_table_name %></h2>
<%%= render 'form' %>
<%%= link_to t(:back, :default => "Back"), <%= namespace_for_route %><%= plural_table_name %>_path, :class => "btn" %> | Add space between 'Edit' and model name | Add space between 'Edit' and model name
| HTML+ERB | mit | rivsc/Beautiful-Scaffold,rivsc/Beautiful-Scaffold,rivsc/Beautiful-Scaffold |
b056b9ec194e6b4ae007fee57eb7a7659cb12a8f | modules/govuk_jenkins/templates/jobs/check_github_ip_ranges.yaml.erb | modules/govuk_jenkins/templates/jobs/check_github_ip_ranges.yaml.erb | ---
- scm:
name: govuk-provisioning_Check_GitHub_IP_Ranges
scm:
- git:
url: git@github.com:alphagov/govuk-provisioning.git
branches:
- master
wipe-workspace: false
- job:
name: Check_GitHub_IP_Ranges
display-name: Check GitHub IP Ranges
proj... | ---
- scm:
name: govuk-provisioning_Check_GitHub_IP_Ranges
scm:
- git:
url: git@github.com:alphagov/govuk-provisioning.git
branches:
- main
wipe-workspace: false
- job:
name: Check_GitHub_IP_Ranges
display-name: Check GitHub IP Ranges
projec... | Update "Check GitHub IP Ranges" job's default branch | Update "Check GitHub IP Ranges" job's default branch
We are updating the https://github.com/alphagov/govuk-provisioning
repo to use `main` as the default branch name.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
77df0e1eb8791f9d8c7834739099048eb15723b5 | app/views/calendar/_calendar.html.erb | app/views/calendar/_calendar.html.erb | <table class="calendar">
<caption>
<%= caption %>
</caption>
<thead>
<tr>
<th scope="col">Date</th>
<th scope="col">Day</th>
<th scope="col">Holiday Name</th>
<th scope="col">Notes</th>
</tr>
</thead>
<tbody>
<% calendar.events.each do |event| -%>
<tr>
<td... | <table class="calendar">
<caption>
<%= caption %>
</caption>
<thead>
<tr>
<th scope="col">Date</th>
<th scope="col">Day</th>
<th scope="col">Holiday Name</th>
<th scope="col">Notes</th>
</tr>
</thead>
<tbody>
<% calendar.events.each do |event| -%>
<tr>
<td... | Revert "Removed unused classes from calendar table cells" | Revert "Removed unused classes from calendar table cells"
These classes are used by tests. Reverting for now; there may be a better
solution.
This reverts commit 105d3d5b363b60499b0fee31193f07647bbafdd8.
| HTML+ERB | mit | alphagov/calendars,ministryofjustice/calendars,alphagov/calendars,alphagov/calendars,ministryofjustice/calendars,alphagov/calendars |
feabf8bf998822102ffe717cbb3ec0f5294db5f4 | app/views/lunch/_restaurants.html.erb | app/views/lunch/_restaurants.html.erb | <% restaurants.each do |restaurant| %>
<h3><%= restaurant[:name] %></h3>
<dl>
<% restaurant[:meals].each do |meal| %>
<dt><%= meal[:title] %><span class=allergens><%= meal[:allergens] %></span></dt>
<dd><%= meal[:summary] %></dd>
<% end %>
</dl>
<% end %>
| <% restaurants.each do |restaurant| %>
<h3><%= restaurant[:name] %></h3>
<dl>
<% restaurant[:meals].each do |meal| %>
<dt><%= meal[:title] %><span class="allergens"><%= format_allergens(meal[:allergens]) %></span></dt>
<dd><%= meal[:summary] %></dd>
<% end %>
</dl>
<% end %>
| Make use of the formatting helper method | Make use of the formatting helper method
| HTML+ERB | mit | cthit/chalmersit-rails,cthit/chalmersit-rails,cthit/chalmersit-rails,cthit/chalmersit-rails |
897233f673f2b54baeef2c97803e80848712afbb | app/views/questions/_comment.html.erb | app/views/questions/_comment.html.erb | <div class="comment col-center col-10">
<h4><i class="fa fa-user"></i> <%= comment.user ? comment.user.name : 'Default' %></h4>
<p><%= comment.body %></p>
<%= link_to 'Edit', edit_comment_path(comment) %>
<%= link_to 'Delete', comment, method: :delete, data: {confirm: "You sure bub?" } %>
</div>
| <div class="comment col-center col-10">
<h4><i class="fa fa-user"></i> <%= comment.user ? comment.user.name : 'Default' %></h4>
<p><%= comment.body %></p>
<%= link_to 'Edit', edit_comment_path(comment) %>
<%= link_to 'Delete', comment, method: :delete, data: {confirm: "You sure bub?" } %>
<button data-id="<... | Prepare upvote button for ajax call. | Prepare upvote button for ajax call.
| HTML+ERB | mit | great-horned-owls-2014/dbc-what-is-this,great-horned-owls-2014/dbc-what-is-this |
49559318892795cc46dc5b694dd303d51bb1a525 | app/views/backend/pages/edit_translation.html.erb | app/views/backend/pages/edit_translation.html.erb | <% breadcrumb.add @model.description, edit_backend_page_path(@model) %>
<% breadcrumb.add t('b.edit'), edit_backend_page_path(@model) %>
<%= render 'backend/breadcrumbs' %>
<%= render 'backend/form_errors', object: @translation %>
<%= simple_form_for([:backend, @translation], url: edit_translation_backend_page_path) d... | <% breadcrumb.add @model.description, edit_backend_page_path(@model) %>
<% breadcrumb.add t('b.edit'), edit_backend_page_path(@model) %>
<%= render 'backend/breadcrumbs' %>
<%= simple_form_for([:backend, @translation], url: edit_translation_backend_page_path) do |f| %>
<ul class="tabs">
<li class="tab-title">
... | Use simple form for errors. | Use simple form for errors.
| HTML+ERB | mit | udongo/udongo,udongo/udongo,udongo/udongo |
02796949edfe1902780cfe19ce7c86a56693ebbd | app/views/shared/_common_part_attributes.html.erb | app/views/shared/_common_part_attributes.html.erb | <div class="panel panel-part part">
<div class="panel-heading js-sort-handle">
<h4 class="panel-title">
<a class="js-part-toggle" data-toggle="collapse" data-parent="#parts" href="#<%= f.object.slug || 'untitled-part' %>">
<i class="glyphicon glyphicon-chevron-down pull-left add-right-margin"></i>
... | Add a view partial for the common Part and Variant attributes | Add a view partial for the common Part and Variant attributes
The Part and Variant models both have title and slug attributes.
However, there are differences between the HTML currently used for these
input fields in the Part and Variant view partials. Notably, the errors
list is within the form-wrapper for Variants a... | HTML+ERB | mit | alphagov/publisher,alphagov/publisher,alphagov/publisher | |
0b6fb9a7f4585f2d094d49002db01ef1a4bebbe2 | app/views/sir_trevor/blocks/_image_block.html.erb | app/views/sir_trevor/blocks/_image_block.html.erb | <% if image_block.file && image_block.file[:url] -%>
<figure class="item__content-block item__content-block--image">
<%= image_tag image_block.file[:url] %>
</figure>
<% end -%>
| <% if image_block.file && image_block.file[:url] -%>
<figure class="st__content-block st__content-block--image">
<%= image_tag image_block.file[:url] %>
</figure>
<% end -%>
| Fix class names for image block | Fix class names for image block | HTML+ERB | mit | jonduarte/sir-trevor-rails,jonduarte/sir-trevor-rails,sul-dlss/sir-trevor-rails,cbeer/sir-trevor-rails,madebymany/sir-trevor-rails,sul-dlss/sir-trevor-rails,sul-dlss/sir-trevor-rails,madebymany/sir-trevor-rails,cbeer/sir-trevor-rails,madebymany/sir-trevor-rails,jonduarte/sir-trevor-rails |
dfa843a407f23a11e78c69a040b565d8fca8a121 | lib/smart_answer_flows/coronavirus-employee-risk-assessment/questions/is_your_employer_asking_you_to_work.govspeak.erb | lib/smart_answer_flows/coronavirus-employee-risk-assessment/questions/is_your_employer_asking_you_to_work.govspeak.erb | <% render_content_for :pretext do %>
##Your workplace should be closed
If there is still work to do despite your workplace being closed, your employer might ask you to work from home or come into work.
<% end %>
<% render_content_for :title do %>
Is your employer asking you to work?
<% end %>
<% options(
"ye... | <% render_content_for :pretext do %>
##Your workplace should be closed
If there is still work to do despite your workplace being closed, your employer might ask you to work from home or come into work.
<% end %>
<% render_content_for :title do %>
Is your employer asking you to work or to start work from 4 July ... | Update content in the Coronavirus employee risk assessment flow | Update content in the Coronavirus employee risk assessment flow
Updates the question title for when employees might be asked to come
back to work.
| HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
e83a03f4b7761abdcbd6c8b5845125a3ea2b696a | templates/default/procps.init-rhel.erb | templates/default/procps.init-rhel.erb | #!/bin/bash
#
# /etc/rc.d/init.d/procps
# chkconfig: 2345 95 05
# description: procps compatible apply_sysctl
#
# this was installed by the sysctl cookbook
# https://supermarket.chef.io/cookbooks/sysctl
# Source function library.
. /etc/rc.d/init.d/functions
<% if platform?('rhel') && node['platform_version'].to_f <... | #!/bin/bash
#
# /etc/rc.d/init.d/procps
# chkconfig: 2345 95 05
# description: procps compatible apply_sysctl
#
# this was installed by the sysctl cookbook
# https://supermarket.chef.io/cookbooks/sysctl
# Source function library.
. /etc/rc.d/init.d/functions
<% if node['platform_family'] == 'rhel' && node['platform_... | Fix to work for both RHEL and Centos | Fix to work for both RHEL and Centos | HTML+ERB | apache-2.0 | svanzoest-cookbooks/sysctl,svanzoest-cookbooks/sysctl,svanzoest-cookbooks/sysctl |
ca661d3971855779e57492adc8e7d24c607795f0 | app/views/products/search.html.erb | app/views/products/search.html.erb | <h1><%= "Resultados de productos: #{@key}" %></h1>
<br>
<br>
<ul>
<% @products.each do |product| %>
<li>
<h3><%= product.name %></h3>
<%= link_to image_tag(product.picture, width: '200'), product %>
<%= number_to_currency product.price, precision: 0 %>
<%= link_to 'Detalle', product %></li... | <h3>Resultados de productos:
<em><%= @product_name %></em>
</h3>
<br>
<br>
<% @products.in_groups_of(4, false).each do |products| %>
<div class="row">
<% products.each do |product| %>
<div class="col-md-3">
<div class="product-cont thumbnail">
<h3><%= product.name %></h3>
<%= ... | Add basic style to products search results | Add basic style to products search results
| HTML+ERB | mit | CaliRuby/railsgirlscali-example-store,CaliRuby/railsgirlscali-example-store,CaliRuby/railsgirlscali-example-store |
04c94b8cce24ed4a0c4dca9ec69c6055fc02bab0 | lib/views/general/_nav_items.html.erb | lib/views/general/_nav_items.html.erb | <li class="<%= 'selected' if controller?('request') && action?('new', 'select_authority') %>">
<%= link_to _("Make a request"), select_authority_path, :id => 'make-request-link' %>
</li>
<li class="<%= 'selected' if controller?('request') && !action?('new', 'select_authority') %>">
<%= link_to _("Browse requests")... | <li class="<%= 'selected' if controller?('request') && action?('new', 'select_authority') %>">
<%= link_to _("Make a request"), select_authority_path, :id => 'make-request-link' %>
</li>
<li class="<%= 'selected' if controller?('request') && !action?('new', 'select_authority') %>">
<%= link_to _("Browse requests")... | Add Pro page to main navigation | Add Pro page to main navigation
| HTML+ERB | mit | mysociety/whatdotheyknow-theme,mysociety/whatdotheyknow-theme,mysociety/whatdotheyknow-theme |
6bd656e182d59ead67b5a0fef5d208a680d7f42d | app/views/_user_util_links.html.erb | app/views/_user_util_links.html.erb | <% if has_user_authentication_provider? %>
<div class="util-links-login">
<% if current_user %>
<%= link_to t('blacklight.header_links.logout'), destroy_user_session_path %> <%= "[#{ link_to current_user, edit_user_registration_path }]".html_safe unless current_user.to_s.blank? %>
<% else %>
... | Add another partial used in header | Add another partial used in header
| HTML+ERB | apache-2.0 | APTrust/fluctus,APTrust/fluctus,APTrust/fluctus |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.