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
cc1741b1037bcf4f79be00cd3bf43c642cc01a34
app/views/user_site_settings/_form.html.erb
app/views/user_site_settings/_form.html.erb
<%= form_for @preference do |f| %> <div class="field"> <%= f.label :max_flags, "Maximum autoflags per day" %><br/> <%= f.number_field :max_flags, :class => "form-control" %> </div><br/> <div class="field"> <%= f.label :sites, "Sites" %><br/> <%= f.select :sites, options_for_select(Site.mains.orde...
<%= form_for @preference do |f| %> <div class="field"> <%= f.label :max_flags, "Maximum autoflags per day (per site)" %><br/> <%= f.number_field :max_flags, :class => "form-control" %> </div><br/> <div class="field"> <%= f.label :sites, "Sites" %><br/> <%= f.select :sites, options_for_select(Site...
Add clarification to max autoflags preferences
Add clarification to max autoflags preferences See #106
HTML+ERB
cc0-1.0
angussidney/metasmoke,j-f1/forked-metasmoke,j-f1/forked-metasmoke,Charcoal-SE/metasmoke,angussidney/metasmoke,Charcoal-SE/metasmoke,angussidney/metasmoke,j-f1/forked-metasmoke,SulphurDioxide/metasmoke,j-f1/forked-metasmoke,Charcoal-SE/metasmoke,Charcoal-SE/metasmoke,angussidney/metasmoke,SulphurDioxide/metasmoke,Sulphu...
eadd29d9616a86c1a059b170dc01307b0b715c17
source/feedback.html.erb
source/feedback.html.erb
--- title: Feedback --- <div class="hidden-xs"> <iframe src="https://docs.google.com/forms/d/1Ix-5grMUdFm00ilb4_EqCLUd5jfJaOC900r-kfUHjqk/viewform?embedded=true" width="800" height="800" frameborder="0" marginheight="0" marginwidth="0">Loading...</iframe> </div> <div class="visible-xs"> <iframe src="https://docs....
Add feedback form for students
Add feedback form for students
HTML+ERB
mit
portlandcodeschool/portlandcodeschool,portlandcodeschool/portlandcodeschool,portlandcodeschool/portlandcodeschool,portlandcodeschool/portlandcodeschool,portlandcodeschool/portlandcodeschool,portlandcodeschool/portlandcodeschool,portlandcodeschool/portlandcodeschool,portlandcodeschool/portlandcodeschool
bc04cc734e0f16b38a80200a6b0d0ae9b558a60c
templates/common/custom_jail.conf.erb
templates/common/custom_jail.conf.erb
# # Custom jail <%= @name %> # Managed by Puppet # [<%= @name %>] enabled = <%= @enabled %> <% if @action -%> action = <%= @action %> <% end -%> filter = <%= @filter %> logpath = <%= @logpath %> maxretry = <%= @maxretry %> <% if @findtime -%> findtime = <%= @findtime %> <% end -%> bantime = <%= @bantime %> ...
# # Custom jail <%= @name %> # Managed by Puppet # [<%= @name %>] enabled = <%= @enabled %> <% if @action -%> action = <%= @action %> <% end -%> filter = <%= @filter %> logpath = <%= @logpath %> maxretry = <%= @maxretry %> <% if @findtime -%> findtime = <%= @findtime %> <% end -%> bantime = <%= @bantime %> ...
Check for empty ignoreip in custom_jail template
Check for empty ignoreip in custom_jail template
HTML+ERB
apache-2.0
dhoppe/puppet-fail2ban
751c3c47b4b3a67a67b7d82d051b56a861970a65
puppet/modules/role/templates/growthexperiments/conf.php.erb
puppet/modules/role/templates/growthexperiments/conf.php.erb
//<?php // Welcome survey $wgWelcomeSurveyExperimentalGroups['exp2_target_popup']['range'] = '0-9'; // Help panel $wgGEHelpPanelLinks = [ [ 'title' => 'Main_Page', 'text' => 'Amazing help page' ], [ 'title' => 'Talk:Main_Page', 'text' => 'Another great resource' ] ]; $wgGEHelpPanelHelpDeskTitl...
//<?php // Welcome survey $wgWelcomeSurveyExperimentalGroups['exp2_target_specialpage']['range'] = '0-9'; // Help panel $wgGEHelpPanelLinks = [ [ 'title' => 'Main_Page', 'text' => 'Amazing help page' ], [ 'title' => 'Talk:Main_Page', 'text' => 'Another great resource' ] ]; $wgGEHelpPanelHelpDe...
Use special page version of welcome survey
growthexperiments: Use special page version of welcome survey ...to match production config. Change-Id: Ic7a324a7fa794b86c4f63213b97589be77022325
HTML+ERB
mit
wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant
67016f5ca12eb3f1e8c615ccfa75d495e0c41c31
app/views/ideas/new.html.erb
app/views/ideas/new.html.erb
<!-- create a new idea, has a form for title and body, as well as information about how to create an idea -->
<!-- create a new idea, has a form for title and body, as well as information about how to create an idea --> <h1>Create an Idea</h1> <p>There will be text here about how to create an idea.</p> <% if @errors %> <% @errors.full_messages.each do |e| %> <p><%= e %></p> <% end %> <% end %> <%= form_for :idea, url: ...
Add old missing new idea view file
Add old missing new idea view file
HTML+ERB
mit
chi-fiddler-crabs-2015/yesand,chi-fiddler-crabs-2015/yesand,chi-fiddler-crabs-2015/yesand
d1354833c13df4dbc704d5e1b3227d45474b5eec
app/views/users/new.html.erb
app/views/users/new.html.erb
<% provide(:title, 'Sign Up') %> <h1>Formulario de Registro</h1> <div class="row"> <div class="col-md-6 col-md-offset-3"> <%= form_for @user, url: {action: "create"} do |f| %> <%= f.label :username, "Usuario:" %> <%= f.text_field :username %> <%= f.label :dni_number, "Cédula:" %> <%= f.t...
<% provide(:title, 'Sign Up') %> <h1>Formulario de Registro</h1> <div class="row"> <div class="col-md-6 col-md-offset-3"> <%= form_for @user, url: {action: "create"} do |f| %> <%= f.label :username, "Usuario:" %> <%= f.text_field :username %> <%= f.label :identity, "Cédula:" %> <%= f.tex...
Modify fields naming to fit with user model.
Modify fields naming to fit with user model.
HTML+ERB
apache-2.0
gtrujillop/RealEstateWeb,gtrujillop/RealEstateWeb,gtrujillop/RealEstateWeb
fad903676f579861d654d7a353a96c5c7a305062
template.html.erb
template.html.erb
<!doctype html> <html> <head> <title>Books to read on Goodreads</title> <meta charset="utf-8"> <meta name="generator" content="what2read - https://github.com/agorf/what2read"> </head> <body> <table> <tr> <th>Rank</th> <th>Title</th> <th>Authors</th> <th>Score<...
<!doctype html> <html> <head> <title>Books to read on Goodreads</title> <meta charset="utf-8"> <meta name="generator" content="what2read - https://github.com/agorf/what2read"> </head> <body> <table> <tr> <th>Rank</th> <th>Title</th> <th>Authors</th> <th>Score<...
Print book average rating with 2 decimals
Print book average rating with 2 decimals
HTML+ERB
mit
agorf/what2read,agorf/what2read,agorf/what2read
4b71af595a48f6694dc0079fc5f4994a8e112cec
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>Mguides</title> <%= stylesheet_link_tag '/guide-assets/stylesheets/formtastic.css', '/guide-assets/stylesheets/formtastic_changes.css', '/stylesheets/admin/jquery-ui-1.8.14.css' %> <%= csrf_meta_tag %> <%= yield :extra_headers %> </head> <body> <div id="wrapper" class="wr...
<!DOCTYPE html> <html> <head> <title>Mguides</title> <%= stylesheet_link_tag '/guide-assets/stylesheets/formtastic.css', '/guide-assets/stylesheets/formtastic_changes.css', '/stylesheets/admin/jquery-ui-1.8.14.css' %> <%= csrf_meta_tag %> <%= yield :extra_headers %> </head> <body> <div id="wrapper" class="wr...
Add 'return to dashboard' link into layout
Add 'return to dashboard' link into layout
HTML+ERB
mit
telekomatrix/publisher,alphagov/publisher,telekomatrix/publisher,theodi/publisher,alphagov/publisher,theodi/publisher,telekomatrix/publisher,leftees/publisher,alphagov/publisher,theodi/publisher,leftees/publisher,telekomatrix/publisher,leftees/publisher,leftees/publisher,theodi/publisher
fe43c4b85e1349ba97ed6889079e616ef9b867e5
app/views/users/_user_form.html.erb
app/views/users/_user_form.html.erb
<%= form_for @user, :html => { class: "user-form" } do |f| %> <% if @user.errors.any? %> <%= render partial: 'shared/error_message', locals: { errors: @user.errors }%> <% end %> <div class="large-12 columns"> <%= f.label :first_name %> <%= f.text_field :first_name %> </div> <div class="large-12 columns"> ...
<%= form_for @user, :html => { class: "user-form" } do |f| %> <% if @user.errors.any? %> <%= render partial: 'shared/error_message', locals: { errors: @user.errors }%> <% end %> <div class="large-12 columns"> <%= f.label :first_name %> <%= f.text_field :first_name %> </div> <div class="large-12 columns"> ...
Add Placeholder To User Form, Show Correct Format
Add Placeholder To User Form, Show Correct Format
HTML+ERB
mit
CivicHaxx/ok_councillr,CivicHaxx/ok_councillr,CivicHaxx/ok_councillr
b6c571c48d8247266ea850dfbdb282a3cf21cada
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>Hrdb</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 %> <% if current_user %> Logged in as <%= c...
<!DOCTYPE html> <html> <head> <title>Hrdb</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 %> <p> <%= link_to "People", people_path %> |...
Add index links to main layout.
Add index links to main layout.
HTML+ERB
agpl-3.0
DavidS/hrdb,DavidS/hrdb,DavidS/hrdb
51ce1e545b267476b88013cd8dc9f173c4f56051
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) : "photoplop" %></title> <%= stylesheet_link_tag "application" %> <%= javascript_include_tag "vendor/modern...
<!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) : "photoplop" %></title> <%= stylesheet_link_tag "application" %> <%= javascript_include_tag "vendor/modern...
Change nav bar to off canvas menu
Change nav bar to off canvas menu
HTML+ERB
mit
chi-fiddler-crabs-2015/Photo-Plop,chi-fiddler-crabs-2015/Photo-Plop,chi-fiddler-crabs-2015/Photo-Plop
9ee251a901c47d8d6d896686d957abc9724676f7
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html lang="en"> <head> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5"> <title>Feeder</title> <%= javascript_pack_tag 'application' %> <%= stylesheet_pack_tag 'application' %> <%= csrf_meta_tags %> <link rel="icon" href="data:,"> <%= re...
<!DOCTYPE html> <html lang="en"> <head> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5"> <meta name="description" content="Imaginary friends automata for Freefeed.net"> <title>Feeder</title> <%= javascript_pack_tag 'application' %> <%= stylesheet_pack_tag 'appl...
Add service description to the page layout header
Add service description to the page layout header
HTML+ERB
mit
dreikanter/feeder,dreikanter/feeder,dreikanter/feeder
b6e4fb5a37cd651ef97afa8b3613e701be276f45
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>BestThingEver</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>Best Thing Ever</title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> </head> <body> <header> <div class="brand"> Best ...
Add navbar to application view
Add navbar to application view
HTML+ERB
mit
pdynowski/best-thing-ever,pdynowski/best-thing-ever,pdynowski/best-thing-ever
52bcf5deca3906531601d9a523aa1f0309fdedda
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>Release</title> <%= stylesheet_link_tag "application", :media => "all" %> <%= javascript_include_tag "application" %> <%= csrf_meta_tags %> </head> <body> <%= yield %> </body> </html>
<!DOCTYPE html> <html> <head> <title><%= yield :page_title %> | GOV.UK Release</title> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- HTML5 shim, for IE6-8 support of HTML5 elements --> <!--[if...
Update the wrapper to use bootstrap
Update the wrapper to use bootstrap
HTML+ERB
mit
alphagov/release,alphagov/release,alphagov/release
b2308491a4af39d9913f92212be75fa6fd6d0975
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <%= javascript_include_tag "webcomponentsjs/webcomponents" unless Rails.env.test? %> <title>The Open Journal</title> <%= stylesheet_link_tag "application", media: "all"%> <%= html_import_tag "application" %> <%= javascript_include_tag "application" %> <scri...
<!DOCTYPE html> <html> <head> <%= javascript_include_tag "webcomponentsjs/webcomponents" unless Rails.env.test? %> <title>The Open Journal</title> <%= stylesheet_link_tag "application", media: "all"%> <%= html_import_tag "application" %> <%= javascript_include_tag "application" %> <scri...
Load textlayerbuilder over http instead of https to get rid of errors.
Load textlayerbuilder over http instead of https to get rid of errors.
HTML+ERB
mit
erferf/DD,openjournals/theoj,erferf/DD,openjournals/theoj,erferf/DD,openjournals/theoj
113c9bc31b8bc37d7e744c5257a25deba1673918
app/views/shared/_footer_page.html.erb
app/views/shared/_footer_page.html.erb
<footer class="footer-bottom full-width text-center "> <h2> <a href="/#top" class="footer-link">トップ</a> | <a href="/kata#top" class="footer-link">Kata (Wiki)</a> | <a href="/sotechsha" class="footer-link">公式ブック</a> </h2> <p>本WEBサイトのソースコードや社団法人の定款などは <a href="https://github.com/coderdojo-japan/" class=...
<footer class="footer-bottom full-width text-center "> <h2> <a href="/#top" class="footer-link">トップ</a> | <a href="/kata#top" class="footer-link">Kata (Wiki)</a> | <a href="/sotechsha" class="footer-link">公式ブック</a> </h2> <p>本WEBサイトのソースコードや社団法人の定款などは <a href="https://github.com/coderdojo-japan/" class=...
Cut 'Copyright' to shorten footer more
Cut 'Copyright' to shorten footer more
HTML+ERB
mit
yasslab/coderdojo.jp,coderdojo-japan/coderdojo.jp,yasslab/coderdojo.jp,coderdojo-japan/coderdojo.jp,coderdojo-japan/coderdojo.jp,yasslab/coderdojo.jp,coderdojo-japan/coderdojo.jp
27a8af8b9adc9b7ad0380b6d249934b8db09f23e
vendor/assets/javascripts/frontend_editor/templates/toolbar_views.jst.eco.erb
vendor/assets/javascripts/frontend_editor/templates/toolbar_views.jst.eco.erb
<footer> <a class="editing-mode">Mode edition</a> <a class="save">Sauvegarder</a> <a class="cancel">Annuler</a> </footer>
<footer> <a class="editing-mode">Mode edition</a> <a class="save">Sauvegarder</a> <a class="cancel">Annuler</a> <a href="/refinery/"> Aller au panneau d'administration</a> </footer>
Revert "remove dependence with refinery"
Revert "remove dependence with refinery" This reverts commit e727b354e209e49173f87ebd9c0d33b3f617eb63.
HTML+ERB
mit
GCorbel/frontendeditor,GCorbel/frontendeditor,GCorbel/frontendeditor
46ae347f39c93cef8080fd4ff68c878e0a02560a
views/hyde/list.erb
views/hyde/list.erb
<h1 class="page-header">Jekyll websites</h1> <div class="table-responsive"> <table class="table table-striped"> <thead> <tr> <th>Name</th> <th>Title</th> <th>Production URL</th> </tr> </thead> <tbody> <% @sites.each do |site| ...
<a class="btn btn-primary pull-right" href="/hyde/create" role="button">Create website</a> <h1 class="page-header">Jekyll websites</h1> <div class="table-responsive"> <table class="table table-striped"> <thead> <tr> <th>Name</th> <th>Title</th> <th>Production U...
Move create site button to upper right corner
Move create site button to upper right corner Just like we have it on the Posts list page.
HTML+ERB
bsd-3-clause
gabriel-john/utterson,gabriel-john/utterson
a0c56f31c7756ccfe58034a5b48b9f4b91d5a534
app/views/spree/shared/_google_analytics.html.erb
app/views/spree/shared/_google_analytics.html.erb
<% if tracker = Spree::Tracker.current %> <%= javascript_tag do %> var _gaq = _gaq || []; _gaq.push(['_setAccount', '<%= tracker.analytics_id %>']); _gaq.push(['_trackPageview']); <% if flash[:commerce_tracking] && @order.present? %> <%# more info: https://developers.google.com/analytics/devgu...
Move Google Analytics script from spree_frontend to ofn: this is one of the very last dependencies to spree_frontend code
Move Google Analytics script from spree_frontend to ofn: this is one of the very last dependencies to spree_frontend code
HTML+ERB
agpl-3.0
Matt-Yorkley/openfoodnetwork,Matt-Yorkley/openfoodnetwork,mkllnk/openfoodnetwork,Matt-Yorkley/openfoodnetwork,lin-d-hop/openfoodnetwork,mkllnk/openfoodnetwork,lin-d-hop/openfoodnetwork,lin-d-hop/openfoodnetwork,openfoodfoundation/openfoodnetwork,mkllnk/openfoodnetwork,openfoodfoundation/openfoodnetwork,openfoodfoundati...
09ff844ed0b364345cb3a444d91d097045e797f6
templates/default/puma.rb.erb
templates/default/puma.rb.erb
#!/usr/bin/env puma directory "<%= @working_dir %>" <%- if @tag -%> tag <%= @tag %> <% end -%> <%= @app if @app %> <%- if @rackup -%> rackup "<%= @rackup %>" <% end -%> <%- if @preload_app && @phased_restart == false -%> preload_app! <% end -%> <%- if @prune_bundler -%> prune_bundler <%- end -%> environment "<%= @envi...
#!/usr/bin/env puma directory "<%= @working_dir %>" <%- if @tag -%> tag <%= @tag %> <% end -%> <%= @app if @app %> <%- if @rackup -%> rackup "<%= @rackup %>" <% end -%> <%- if @preload_app && @phased_restarts == false -%> preload_app! <% end -%> <%- if @prune_bundler -%> prune_bundler <%- end -%> environment "<%= @env...
Fix typo preventing preload_app from enabling
Fix typo preventing preload_app from enabling
HTML+ERB
apache-2.0
wallgig/chef-puma
abb54efd768d791c1369cc847e73242800be38f4
templates/freebsd/profile.erb
templates/freebsd/profile.erb
$ cat /etc/profile # $FreeBSD: releng/10.1/etc/profile 208116 2010-05-15 17:49:56Z jilles $ # # System-wide .profile file for sh(1). # # This file is managed by Chef # Do not edit this file by hand! # # Uncomment this to give you the default 4.2 behavior, where disk # information is shown in K-Blocks # BLOCKSIZE=K; exp...
# $FreeBSD: releng/10.1/etc/profile 208116 2010-05-15 17:49:56Z jilles $ # # System-wide .profile file for sh(1). # # This file is managed by Chef # Do not edit this file by hand! # # Uncomment this to give you the default 4.2 behavior, where disk # information is shown in K-Blocks # BLOCKSIZE=K; export BLOCKSIZE # # F...
Remove accidentally included command in template.
Remove accidentally included command in template.
HTML+ERB
apache-2.0
PaytmLabs/chef-system,PaytmLabs/chef-system,crossroads/system,xhost-cookbooks/system,crossroads/system,xhost-cookbooks/system
d0b2a786ba46a0ca1d34ef5c9fceb7abd6931ab5
kiwi/app/views/questions/show.html.erb
kiwi/app/views/questions/show.html.erb
<div id="question-info" class="container"> <h3><%= @question.title %></h3> <p><%= @question.content%></p> <p>Asked by <%= @question.user.name %> on <%= std_format_date(@question.created_at) %></p> </div> <%= link_to "Edit my question", edit_question_path %> <%= link_to "Delete my question", question_path, method...
<div id="question-info" class="container"> <h3><%= @question.title %></h3> <p><%= @question.content%></p> <p>Asked by <%= @question.user.name %> on <%= std_format_date(@question.created_at) %></p> </div> <% if current_user == @question.user %> <%= link_to "Edit my question", edit_question_path %> <%= link_to...
Hide edit and delete questions links on qeustions/show view from all users except question owner
Hide edit and delete questions links on qeustions/show view from all users except question owner
HTML+ERB
mit
nyc-island-foxes-2016/kiwi-overflow,nyc-island-foxes-2016/kiwi-overflow,nyc-island-foxes-2016/kiwi-overflow
3ebcba885bb4436077d5b9f299ece4580e40ee9d
app/views/layouts/_rails_default.html.erb
app/views/layouts/_rails_default.html.erb
<%= csrf_meta_tags %> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
<%= csrf_meta_tags %> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload', debug: false %> <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload', debug: false %>
Set debug to false to concatenate css and js files in development
Set debug to false to concatenate css and js files in development
HTML+ERB
mit
Dom-Mc/fetch_it,Dom-Mc/fetch_it,Dom-Mc/fetch_it
d6dfa61dd4ff7fc4297c79cf8119c2c944159102
modules/govuk/templates/node/s_apt/vhost.conf.erb
modules/govuk/templates/node/s_apt/vhost.conf.erb
server { # This serves: # - `apt.cluster` internally. # - `apt.production.alphagov.co.uk` externally. server_name apt.* apt-origin.*; root <%= @root_dir -%>/public; access_log /var/log/nginx/apt-access.log timed_combined; access_log /var/log/nginx/apt-json.event.access.log json_event; error_log /va...
server { # This serves: # - `apt.cluster` internally. # - `apt.production.alphagov.co.uk` externally. server_name apt.* apt-origin.*; root <%= @root_dir -%>/public; <% if @real_ip_header != '' -%> # Use an unspoofable header from an upstream CDN or L7 load balancer real_ip_header <%= @real_ip_h...
Allow use of RealIpModule if enabled in Nginx
Allow use of RealIpModule if enabled in Nginx The Nginx RealIpModule allows us to log the value of the X-True-Client-IP header as the IP we appear to receive requests from in the Nginx logs. This is important as otherwise we see all requests as coming from the CDN edge. The value of `set_real_ip_from` is set to 0.0.0....
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
36183064890d2f012cd82adcb2158e4be439e20d
modules/backup/templates/directory.erb
modules/backup/templates/directory.erb
#!/bin/bash BACKUPROOT="/data/backups" CLIENTNAME="<%= @host_name %>" SOURCEDIR="<%= @directory %>" # Not currently used here, probably will use it for auto-cleanup later FREQUENCY="<%= @frequency %>" DATE=`date +"%Y%m%d"` logger -p local3.info -t govuk-backup Backup of $CLIENTNAME:$SOURCEDIR started mkdir -p ${BACKUPR...
#!/bin/bash BACKUPROOT="/data/backups" CLIENTNAME="<%= @host_name %>" SOURCEDIR="<%= @directory %>" # Not currently used here, probably will use it for auto-cleanup later FREQUENCY="<%= @frequency %>" DATE=`date +"%Y%m%d"` logger -p local3.info -t govuk-backup Backup of $CLIENTNAME:$SOURCEDIR started mkdir -p ${BACKUPR...
Fix the rsync command so that we do not have subdirs of the backup
Fix the rsync command so that we do not have subdirs of the backup
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
f6bede715987be33347d2fe48cfd9ea5b621b662
app/views/artists/show.html.erb
app/views/artists/show.html.erb
<div class="container"> <div class="artist-header"> <h1><%=@artist.name%></h1> <%= image_tag @artist.avatar.url(:thumb) %> </div> <div class="row"> <div class="col s12"> <ul class="tabs"> <li class="tab col s3"><a class="active" href="#test1">Collections</a></li> <li class="tab...
<div class="container"> <div class="artist-header"> <h1><%=@artist.name%></h1> <%= image_tag @artist.avatar.url(:thumb) %> </div> <div class="row"> <div class="col s12"> <ul class="tabs"> <li class="tab col s3"><a class="active" href="#test1">Collections</a></li> <li class="tab...
Add fallback for artist having no collections to prevent an error
Add fallback for artist having no collections to prevent an error
HTML+ERB
mit
chi-cicadas-2015/galleriamia,chi-cicadas-2015/galleriamia,chi-cicadas-2015/galleriamia
0dacd3642055e621c3c1452463a6b19be9475fdc
app/views/events/_list.html.erb
app/views/events/_list.html.erb
<table> <tr> <th></th> <th>User</th> <th>Title</th> <th>Start</th> <th>End</th> </tr> <% for vent in @latest %> <tr> <td><%= image_tag vent.user.gravatar_url %></td> <td><%=h vent.user.username %></td> <td><%=h vent.title %></td> <td><%=h vent.start_date.to_s %></td> <td><...
Add some model for latest
Add some model for latest
HTML+ERB
mit
darrenhinderer/lifeline,darrenhinderer/lifeline
e4fd49fd4e07b6cbba6c3344a2d02f58b41ff51d
app/views/books/search.html.erb
app/views/books/search.html.erb
<% provide(:title, "Sökning") %> <div class="col-md-12"> <h3>Alla böcker som matchar sökningen <%= params[:query] %> ( <% unless @books.nil? %> <%= @books.count %> <% else %> 0 <% end %> )</h3> <ul class="books"> <%unless @books.nil? %> <%= render @books %> ...
<% provide(:title, "Sökning") %> <div class="col-md-12"> <h3>Alla böcker som matchar sökningen <%= params[:query] %> ( <% unless @books.nil? %> <%= @books.count %> <% else %> 0 <% end %> )</h3> <ul class="books"> <%unless @books.nil? %> <%= render @books %> ...
Add credit to js function
Add credit to js function
HTML+ERB
mit
johan-andersson01/biblion,johan-andersson01/biblion,johan-andersson01/biblion,johan-andersson01/biblion
20a42ee217216014fa68ce7c3f2230351f989567
app/views/comments/create.html.erb
app/views/comments/create.html.erb
<h2>Contact Us</h2> <p>Thank you for your interest in the project. We have receieved your comments and will respond as soon as possible.</p> <p><p>You can also continue to <%= link_to 'Browse the system', root_url %> as a guest or learn more through the following resources.</p> <ul class="unstyled"> <li><a href="h...
<h2>Contact Us</h2> <p>Thank you for your interest in the project. We have receieved your comments and will respond as soon as possible.</p> <p><p>You can also continue to <%= link_to 'Browse the system', root_url %> as a guest or learn more through the following resources.</p> <ul class="unstyled"> <li><a href="h...
Fix links in the comment acceptance page
Fix links in the comment acceptance page
HTML+ERB
apache-2.0
tessafallon/dhf,tessafallon/dhf,tessafallon/dhf
3a49349bb2e7c786d833a0f99254c45e440041c5
app/views/community_support_mailer/send_to_support_team.text.erb
app/views/community_support_mailer/send_to_support_team.text.erb
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 %...
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 %...
Fix indentation in email for osm username and logged in
Fix indentation in email for osm username and logged in
HTML+ERB
agpl-3.0
sozialhelden/wheelmap,sozialhelden/wheelmap,sozialhelden/wheelmap,sozialhelden/wheelmap,sozialhelden/wheelmap
ebb98e422df23e1f0b83dd2726165632af1794c1
app/views/gobierto_plans/plan_types/_planification_sdgs.html.erb
app/views/gobierto_plans/plan_types/_planification_sdgs.html.erb
<div class=""> <%= render partial: "gobierto_plans/plan_types/sdg/header" %> <div class="sdg_list_grid"> <%= render partial: "gobierto_plans/plan_types/sdg/icons" %> </div> <% @sdgs.sdgs_distribution.each do |sdg, projects| %> <%= render partial: "gobierto_plans/plan_types/sdg/projects", locals: { s...
<div class=""> <%= render partial: "gobierto_plans/plan_types/sdg/header" %> <div class="sdg_list_grid"> <%= render partial: "gobierto_plans/plan_types/sdg/icons" %> </div> </div>
Hide projects list in plan home
Hide projects list in plan home
HTML+ERB
agpl-3.0
PopulateTools/gobierto-dev,PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto,PopulateTools/gobierto,PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto-dev
ab630563b08e1dce825319a9ca13fb21b0f66928
app/views/layout.erb
app/views/layout.erb
<!DOCTYPE html> <html lang="en"> <head> <!-- normalize.css removes cross-browser differences in defaults, e.g., differences in how form elements appear between Firefox and IE See: http://necolas.github.com/normalize.css/ --> <link rel="stylesheet" href="/css/normalize.css"> <!-- application.css...
<!DOCTYPE html> <html lang="en"> <head> <!-- normalize.css removes cross-browser differences in defaults, e.g., differences in how form elements appear between Firefox and IE See: http://necolas.github.com/normalize.css/ --> <link rel="stylesheet" href="/css/normalize.css"> <!-- application.css...
Move home button and allow only users to create videos
Move home button and allow only users to create videos
HTML+ERB
mit
ElliottAYoung/Commentate,ElliottAYoung/Commentate,ElliottAYoung/Commentate
78271e974636e8ccdef642bdbd1bcc9fb55b9c16
templates/nginx.conf.erb
templates/nginx.conf.erb
upstream api-gateway { server <%= @ip %>:8080 weight=5; } upstream backendmonitor { server <%= @ip %>:22000 weight=5; } server { listen 443 ssl; server_name <%= @hostname %>; ssl_certificate /etc/nginx/ssl/<%= @hostname %>.crt; ssl_certificate_key /etc/nginx/ssl/<%= @hostname %>.key...
upstream api-gateway { server <%= @ip %>:8080 weight=5; } upstream backendmonitor { server <%= @ip %>:22000 weight=5; } server { listen 443 ssl; server_name <%= @hostname %>; ssl_certificate /etc/nginx/ssl/<%= @hostname %>.crt; ssl_certificate_key /etc/nginx/ssl/<%= @hostname %>.key...
Fix path for the API
Fix path for the API
HTML+ERB
mpl-2.0
ErnestIO/ernest-vagrant,ErnestIO/ernest-vagrant,ErnestIO/ernest-vagrant
42968db0936f6febc1d2a3a037d4bfbfb1fe1034
app/views/events/_new.html.erb
app/views/events/_new.html.erb
<h3>Record Event</h3> <%= form_for event, url: { action: "create" }, html: { class: "new_event" } do |f| %> <%= f.label :details, "What happened?" %> <%= f.text_area :details %> <%= f.label :date, "When?" %> <%= f.date_field :date ...
<h3>Record Event</h3> <%= form_for event, url: { action: "create" }, html: { class: "new_event" } do |f| %> <%= f.label :details, "What happened?" %> <%= f.text_area :details %> <%= f.label :date, "When?" %> <%= f.date_field :date ...
Add photo upload form to event creation page
Add photo upload form to event creation page
HTML+ERB
mit
gopher-snakes-2014/shieldED,gopher-snakes-2014/shieldED
0b5864ff9093977aa6a801c5c89bc720ea0dde96
app/views/games/index.html.erb
app/views/games/index.html.erb
<h1 class="alt">Past Games</h1> <h2 class="alt">Year</h2> <ul class="game-years"> <% for year in Game.years %> <% if year == @selected_year %> <li class="nobr"><strong><%= "#{year} - #{year + 1}" %></strong></li> <% else %> <li class="nobr"><%= link_to "#{year} - #{year + 1...
<h1 class="alt">Past Games</h1> <h2 class="alt">Year</h2> <ul class="game-years"> <% for year in Game.years %> <% if year == @selected_year %> <li><strong><%= "#{year} - #{year + 1}" %></strong></li> <% else %> <li><%= link_to "#{year} - #{year + 1}", past_games_path(year) ...
Stop year labels overlapping in mobile.
Stop year labels overlapping in mobile.
HTML+ERB
mit
dantarian/bladesdb,dantarian/bladesdb,dantarian/bladesdb,dantarian/bladesdb
0a39ea87556523e8df4cff7e7341b5d31a683bde
app/views/users/_user.html.erb
app/views/users/_user.html.erb
<p><%= user.name %></p> <p><%= link_to 'Delete', user_path(user), method: :delete, data: { confirm: 'Are you sure?' } %></p>
<h1><%= user.name %></h1> <p><%= user.email %></h1> <p><%= link_to 'Delete', user_path(user), method: :delete, data: { confirm: 'Are you sure?' } %></p>
Add email to user partial
Add email to user partial
HTML+ERB
mit
laurennicoleroth/WatOverflow,laurennicoleroth/WatOverflow,laurennicoleroth/WatOverflow
d36ceb29c2bde3f5d6c47f450aff458a0c5f0f21
app/views/costs/index.html.erb
app/views/costs/index.html.erb
<section class="costs-container"> <p id="notice"><%= notice %></p> <h1 class="costs-title">Listing Costs</h1> <table class="costs-table"> <thead> <tr> <th>Title</th> <th>Due</th> <th>Amount</th> <th>Parent</th> <th colspan="3"></th> </tr> </thead> ...
<section class="costs-container"> <p id="notice"><%= notice %></p> <h1 class="costs-title">Listing Costs</h1> <table class="costs-table"> <thead> <tr> <th class="costs-col">Title</th> <th class="costs-col">Due</th> <th class="costs-col">Amount</th> <th class="costs-col...
Add class names to all things needing styling
Add class names to all things needing styling
HTML+ERB
mit
Communicant/app,Communicant/app,Communicant/app
08d4a0e9abdacf3b74bcb226f89c91e15c2db30d
app/views/course/edit.html.erb
app/views/course/edit.html.erb
<h1>Edit Course</h1> <%= form_tag :action => 'update', :id => @course.id do %> <%= render :partial => 'course' %> <%= submit_tag "Update" %> <% end %> <br/> <%= render :partial => '/shared_scripts/back' %>
<h1>Edit Course</h1> <%= form_for @course do %> <%= render :partial => 'course' %> <%= submit_tag "Update" %> <% end %> <br/> <%= render :partial => '/shared_scripts/back' %>
Allow editing of a course.
Allow editing of a course. This was caused by a difference in form_for vs. form_tag helper in Rails 2 to Rails 3.
HTML+ERB
mit
joshio1/expertiza,ApertureScienceInnovators/expertiza,rmmaily/expertiza,expertiza/expertiza,michaelamoran/expertiza,rmmaily/expertiza,kira0992/expertiza,expertiza/expertiza,KunmiaoYang/expertiza,redsock88/expertiza,akshayjain114/expertiza,redsock88/expertiza,expertiza/expertiza,akshayjain114/expertiza,akshayjain114/exp...
c25e32e61a88aba967129cb53c18ee2b5eae3314
app/views/items/_form.html.erb
app/views/items/_form.html.erb
<%= form_for(item) do |f| %> <div> <%= f.label :name %>: <%= f.text_field :name %> </div> <div> <%= f.label :description %>: <%= f.text_field :description %> </div> <div> <%= f.label :image %>: <%= f.text_field :image %> </div> <div> <%= f.label :price %>: <%= f.text_fie...
<%= form_for(item) do |f| %> <div> <%= f.label :name %>: <%= f.text_field :name %> </div> <div> <%= f.label :description %>: <%= f.text_field :description %> </div> <div> <%= f.label :image %>: <%= f.text_field :image %> </div> <div> <%= f.label :price %>: <%= f.text_fie...
Add logic that loops through Item error messages and displays appropriate messages
Add logic that loops through Item error messages and displays appropriate messages
HTML+ERB
mit
benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop
3c4e0d2843dacc25cf864842c2fc0b7ce523ee3a
app/views/stars/_star.html.erb
app/views/stars/_star.html.erb
<li class="star sheer round clearfix"> <%= render :partial => 'shared/photo_pair', :locals => {:star => star, :size => :square} %> <div class="info"> <div class="reason"> <%= star.reason %> </div> <div class="time"> <%= friendly_time(star.created_at) %> </div> </div> <%=...
<li class="star sheer round clearfix"> <%= render :partial => 'shared/photo_pair', :locals => {:star => star, :size => :square} %> <div class="info"> <div class="reason"> <%= star.reason %> </div> <div class="time"> <%= friendly_time(star.created_at) %> </div> <div clas...
Add the comment form for each star
Add the comment form for each star
HTML+ERB
mit
causes/stars-causes,causes/stars-causes
43012df49de76e18e9e8a2421d98ca78f4303970
templates/default/hosts.cfg.erb
templates/default/hosts.cfg.erb
# Host definitions # # Autogenerated by Chef. define host { use server address <%= node['ipaddress'] %> host_name <%= node['hostname'] %> hostgroups <%= node['nagios']['server_role'] %>,<%= node['os'] %> } <% @nodes.each do |n| -%> <% unless n.name == node.name -%> define host { use server address <%= n['...
# Host definitions # # Autogenerated by Chef. define host { use server address <%= node['ipaddress'] %> host_name <%= node['hostname'] %> hostgroups <%= node['nagios']['server_role'] %>,<%= node['os'] %> } <% @nodes.each do |n| -%> <% unless n.name == node.name -%> define host { use server address <%= n['...
Write out hosts with environments if enabled
Write out hosts with environments if enabled
HTML+ERB
apache-2.0
firebase/nagios,JulianNL/nagios,cookbooks/oc-nagios,OpenGov/nagios,mattupstate/nagios,Piousbox-cookbooks/nagios,pierreozoux/nagios,popsikle/nagios-5.3.5,CanaryTek/nagios,jtimberman/nagios,polamjag/nagios,schubergphilis/nagios,hnakamur/nagios,JulianNL/nagios,mattupstate/nagios,OpenGov/nagios,OpenGov/nagios,mconf-cookboo...
50be107e73e7d543cdd9265e7b018bc33f87dc97
views/partials/proposition.erb
views/partials/proposition.erb
<div class="header-proposition"> <div class="content"> <a href="#proposition-links" class="js-header-toggle menu">Menu</a> <nav id="proposition-menu"> <a href="/" id="proposition-name">The Pensions Guidance Service</a> </nav> </div> </div>
<div class="header-proposition"> <div class="content"> <a href="#proposition-links" class="js-header-toggle menu">Menu</a> <nav id="proposition-menu"> <a href="/session-type" id="proposition-name">Book a pension guidance session</a> </nav> </div> </div>
Update service header text and link
Update service header text and link
HTML+ERB
mit
guidance-guarantee-programme/alpha,guidance-guarantee-programme/alpha,guidance-guarantee-programme/alpha
6770044a89f2ebe4214faa03e14f8c81523f09a6
lib/instana/eum/eum.js.erb
lib/instana/eum/eum.js.erb
<script> (function(i,s,o,g,r,a,m){i['InstanaEumObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//eum.instana.io/eum.min.js','ine...
<script> (function(i,s,o,g,r,a,m){i['InstanaEumObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//eum.instana.io/eum.min.js','ine...
Revert "Flip to trace id"
Revert "Flip to trace id" This reverts commit 1b7ecf27a978bcec28f2a4e1478733d9569737e1.
HTML+ERB
mit
nguyenquangminh0711/ruby-sensor,nguyenquangminh0711/ruby-sensor,nguyenquangminh0711/ruby-sensor
6f0ea61d8bd1b7873b5449de89c2170c4b793687
LunchOverflow/app/views/comments/new.html.erb
LunchOverflow/app/views/comments/new.html.erb
<%= form_for(@comment) do |f| %> <%= f.label(:content) %> <%= f.text_field(:content) %> <%= f.submit %> <% end %>
<%= form_for(:comment, url: post_comments_path) do |f| %> <%= f.label(:content) %> <%= f.text_field(:content) %> <%= f.submit %> <% end %>
Change form on comment creation
Change form on comment creation
HTML+ERB
mit
rock-doves-2014/LunchOverflow,rock-doves-2014/LunchOverflow
a2d69bc4fb797a5518c8c8cec0334863f105988b
app/views/shared/_head.html.erb
app/views/shared/_head.html.erb
<head> <meta charset="utf-8" > <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width" /> <title><%= yield_content :title %></title> <meta name="description" content="<%= yield_content :description %>" /> <meta name="keywords" content="<%= yield_co...
<head> <meta charset="utf-8" > <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width" /> <title><%= yield_content :title %></title> <meta name="description" content="<%= yield_content :description %>" /> <meta name="keywords" content="<%= yield_co...
Remove duplicate reference to "all"
Remove duplicate reference to "all"
HTML+ERB
mit
madetech/ydtd-frontend,madetech/ydtd-frontend
b9906431fe2d339fb107ea82e4d3191bf605c8f3
app/views/welcome/home.html.erb
app/views/welcome/home.html.erb
<h1>Welcome to Sorter!</h1> <p>The perfect place to organize all your web resources on anything coding. And see what others are learning.</p> <% if user_signed_in? %> <h3>Here's what people have been reading:</h3> <ul> <% @resources.by_language.each do |resource| %> <li><%= link_to resource.title, resource...
<h1>Welcome to Sorter!</h1> <p>The perfect place to organize all your web resources on anything coding. And see what others are learning.</p> <% if user_signed_in? %> <h3>Here's what people have been reading:</h3> <ul> <% @resources.by_language.each do |resource| %> <li><%= link_to resource.title, resource...
Hide github omniauth link when logged in.
Hide github omniauth link when logged in.
HTML+ERB
mit
abonner1/sorter,abonner1/code_learning_resources_manager,abonner1/code_learning_resources_manager,abonner1/code_learning_resources_manager,abonner1/sorter,abonner1/sorter
333eef9d5db645b0cea81bc9315cfd9adbd5cbad
app/views/preferences/index.html.erb
app/views/preferences/index.html.erb
<h1>You are invited to an event!</h1> <div id = "error"><%= flash[:notice] %></div> <%= form_for :preference do |f| %> <p> <%= f.label :is_fancy %><br> <%= f.select :is_fancy, [['',''],['true','true'],['false','false']] %> </p> <p> <%= f.label :cuisine %><br> <%= f.select :cuisine, [['',''],['J...
<h1>You are invited to an event!</h1> <div id = "error"><%= flash[:notice] %></div> <%= form_for :preference do |f| %> <p> <%= f.label :is_fancy %><br> <%= f.select :is_fancy, [['',''],['true','true'],['false','false']] %> </p> <p> <%= f.label :cuisine %><br> <%= f.select :cuisine, [['',''],['J...
Update form for selecting cuisines with correct yelp terms
Update form for selecting cuisines with correct yelp terms
HTML+ERB
mit
annewchen/Restaurant_Roulette,annewchen/Restaurant_Roulette,annewchen/Restaurant_Roulette
71ecbc9757dc02695fda5dbaf3b4da94abdf0249
app/views/static_pages/home.html.erb
app/views/static_pages/home.html.erb
<div class="center hero-unit"> <h1>GLF!</h1> <p>It's time to vote for GLF! (or possibly some other "GL" day). Awesome!</p> <% if current_user.nil? %> <%= link_to "Sign up now!", new_user_registration_path, class: "btn btn-large btn-primary" %> <% end %> </div> <%= link_to image_tag("rails.png", alt: "Rails"...
<div class="center hero-unit"> <h1>GLF!</h1> <p>It's time to vote for GLF! (or possibly some other "GL" day). Awesome!</p> <% if current_user.nil? %> <%= link_to "Sign up now!", new_user_registration_path, class: "btn btn-large btn-primary" %> <% end %> </div> <%#= link_to image_tag("rails.png", alt: "Rails...
Disable logo images on home page
Disable logo images on home page
HTML+ERB
mit
localstatic/glf,localstatic/glf
8c3b10d3f884cbb9a95a1605022f232bacf6a26e
app/views/users/from_wishlist.js.erb
app/views/users/from_wishlist.js.erb
$("#expenses_grid").html("<%= escape_javascript(render partial: 'expenses_list', locals: { expenses: @selected, wishlist: @wishlist } ) %>").html_safe;
$("#expenses_grid").html("<%= escape_javascript(render partial: 'expenses_list', locals: { expenses: @selected, wishlist: @wishlist } ) %>").html_safe; var old_budget = parseFloat($('h4 .best_in_place[data-bip-attribute="budget"]').text().replace(/[A-Za-z$-,]/g, "")); var balance = parseFloat($('#balance-field').t...
Move global variable to approprite view
Move global variable to approprite view
HTML+ERB
mit
mud-turtles-2014/GoBug,mud-turtles-2014/GoBug
30dd3cb55a4e30bf4e833f42b1407ff5db9aeb48
source/layouts/blog-layout.erb
source/layouts/blog-layout.erb
<% wrap_layout :layout do %> <article class='article-detail'> <h4 class='detail-post-date'><%= date %></h3> <h2 class='detail-post-title'><%= title %></h2> <h3 class='detail-post-topic-list'><%= topic_list %></h3> <% if soundcloud_id %> <section class='soundcloud-player-big'> <iframe ...
<% wrap_layout :layout do %> <article class='article-detail'> <h4 class='detail-post-date'><%= date %></h3> <h2 class='detail-post-title'><%= title %></h2> <section class='tag-list-section'> <% current_page.tags.each do |tag| %> <% if tag == current_page.tags.last %> <%= link_to "#...
Replace static tag list w/ link lis in blog detail
Replace static tag list w/ link lis in blog detail
HTML+ERB
mit
vis-kid/betweenscreens,vis-kid/betweenscreens,vis-kid/betweenscreens
13fa3f5675a1df1855ed840fb4f0a37e1cfc79f7
app/views/confessions/index.html.erb
app/views/confessions/index.html.erb
<% content_for :body_classes, "users confession--index" %> <p class="notice"><%= notice %></p> <section class="confession--index__container"> <main class="confession--index__main"> <div class="confession--index__new"> <%= link_to 'Ny bekännelse', new_confession_path, :class => "button button--green" %> ...
<% content_for :body_classes, "users confession--index" %> <p class="notice"><%= notice %></p> <section class="confession--index__container"> <main class="confession--index__main"> <div class="confession--index__new"> <%= link_to 'Ny bekännelse', new_confession_path, :class => "button button--green" %> ...
Add remove button for non featured confessions
Add remove button for non featured confessions
HTML+ERB
mit
kollegorna/badrumsbekannelser,kollegorna/badrumsbekannelser,kollegorna/badrumsbekannelser,kollegorna/badrumsbekannelser
b9851cf454658d0e8bab6bd22c1d491c3264a500
app/views/src_sets/show.html.erb
app/views/src_sets/show.html.erb
<% content_for(:title) do %> <%- "#{@src_set.name} memes" -%> <% end %> <h1><%= @src_set.name %></h1> <%= render(partial: 'src_images/src_images', locals: { user: current_user, show_remove_from_set: @src_set.try(:user) == current_user, show_delete: false, src_images: @src_images, more_images: false }) %...
<% content_for(:title) do %> <%- "#{@src_set.name} memes" -%> <% end %> <h1><%= @src_set.name %></h1> <%= render(partial: 'src_images/src_images', locals: { user: current_user, show_remove_from_set: @src_set.try(:user) == current_user, show_delete: false, src_images: @src_images, more_images: false }) %...
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
357b3406ed1d0a531b2b48f2de1e982339726d97
app/views/welcome/index.html.erb
app/views/welcome/index.html.erb
<% content_for :body_class, "home-page" %> <% content_for :canonical do %> <%= render "shared/canonical", href: root_url %> <% end %> <% if has_banners? %> <%= render "shared/banner" %> <% end %> <% provide :social_media_meta_tags do %> <%= render "shared/social_media_meta_tags", social_url: root...
<% content_for :body_class, "home-page" %> <% content_for :canonical do %> <%= render "shared/canonical", href: root_url %> <% end %> <% if has_banners? %> <%= render "shared/banner" %> <% end %> <% provide :social_media_meta_tags do %> <%= render "shared/social_media_meta_tags", social_url: root...
Hide Featured section on Home Page if there are no cards
Hide Featured section on Home Page if there are no cards
HTML+ERB
agpl-3.0
consul/consul,AjuntamentdeCastello/consul,AyuntamientoPuertoReal/decidePuertoReal,AjuntamentdeCastello/consul,AjuntamentdeCastello/consul,usabi/consul_san_borondon,consul/consul,consul/consul,consul/consul,consul/consul,AjuntamentdeCastello/consul,usabi/consul_san_borondon,AyuntamientoMadrid/participacion,AyuntamientoM...
d2dbc1222e8234e95af6d872f0791c31884a60ad
app/views/welcome/pilot.html.erb
app/views/welcome/pilot.html.erb
<div class="container" id="pilot-page"> <div class="row"> <h2 class="stylish-title">Pilot</h2> </div> <div class="row"> <iframe width="100%" height="520" frameborder="0" src="https://williamcodes.cartodb.com/viz/0fa4d186-e4a5-11e5-be27-0ef7f98ade21/embed_map" allowfullsc...
<div class="container" id="pilot-page"> <div class="row"> <h2 class="stylish-title">Pilot</h2> </div> <div class="row"> <% if Time.zone.now < Time.zone.parse('May 1, 2016') %> <iframe width="100%" height="520" frameborder="0" src="https://williamcodes.cartodb.com/viz/0fa4...
Add auto-removal after heating season so we make a better map
Add auto-removal after heating season so we make a better map
HTML+ERB
mit
ramillim/heatseeknyc,ramillim/heatseeknyc,ramillim/heatseeknyc,heatseeknyc/heatseeknyc,heatseeknyc/heatseeknyc,heatseeknyc/heatseeknyc
821487977479cd0d7800d3a0a3c56a3be466f884
app/views/projects/confirm_delete.html.erb
app/views/projects/confirm_delete.html.erb
<header class="heading-with-actions"> <h1><%= project.name %></h1> </header> <div class="lead"> You are about to <strong>delete</strong> this project - this will remove the project and any participant suggested tags that may still be outstanding, and cannot be undone. </div> <div class="confirmation-box"> <...
<header class="heading-with-actions"> <h1><%= project.name %></h1> </header> <div class="lead"> You are about to permanently <strong>delete</strong> this project - this action will remove all unsaved progress. </div> <div class="confirmation-box"> <%= button_to "Confirm delete", project_path(project), ...
Simplify project delete message to remove ambiguity
Simplify project delete message to remove ambiguity
HTML+ERB
mit
alphagov/content-tagger,alphagov/content-tagger,alphagov/content-tagger
737c95ab946738acf45e7886ef23a607578c31d7
app/views/spree/products/_sharing.html.erb
app/views/spree/products/_sharing.html.erb
<div id="social" class="product"> <a class="facebook icon" href="http://www.facebook.com/sharer/sharer.php?u=<%= product_url(@product) %>" target="_blank">fb</a> <a class="twitter icon" href="http://twitter.com/share?text=<%= accurate_title %> by @nys&url=<%= product_url(@product) %>" target="_blank">tw</a> <a cl...
<div id="social" class="product"> <a class="facebook icon" href="http://www.facebook.com/sharer/sharer.php?u=<%= product_url(@product) %>" target="_blank"></a> <a class="twitter icon" href="http://twitter.com/share?text=<%= accurate_title %> by @NYSunshine3&url=<%= product_url(@product) %>" target="_blank"></a> <...
Update twitter handle in sharing
Update twitter handle in sharing
HTML+ERB
bsd-3-clause
dhiraj28691/spree_newyorksunshine,human-nyc/spree_newyorksunshine,michaelburtonray/spree_newyorksunshine,dhiraj28691/spree_newyorksunshine,michaelburtonray/spree_newyorksunshine,human-nyc/spree_newyorksunshine,dhiraj28691/spree_newyorksunshine,michaelburtonray/spree_newyorksunshine,human-nyc/spree_newyorksunshine
3f956bf36e700dacd25a3529fc8d99edc2daa74a
app/views/invite/index.html.erb
app/views/invite/index.html.erb
<% unless @message %> <%= form_tag("/submit", method: "post") do %> <p>Inscrivez vous pour recevoir une version beta<br /> de l'app sur votre iPhone</p> <%= email_field_tag :email, '', class: "form-control", placeholder: t(:email_placeholder) %> <%= submit_tag t(:get_beta_access), class: 'btn b...
<% unless @message %> <%= form_tag("/submit", method: "post") do %> <p>Inscrivez vous pour recevoir une version beta<br /> de l'app sur votre iPhone</p> <%= email_field_tag :email, '', class: "form-control", placeholder: t(:email_placeholder) %><%= submit_tag t(:get_beta_access), class: 'btn btn-lg b...
Remove space between field and submit
Remove space between field and submit
HTML+ERB
mit
Palleas/Rewatch-boarding,Palleas/Rewatch-boarding,Palleas/Rewatch-boarding
6318662b68a2b7167a1438061317d87bd66f8949
app/views/layouts/_nav.html.erb
app/views/layouts/_nav.html.erb
<nav> <div class="nav-wrapper blue-grey darken-1"> <a href="#" class="brand-logo center">TeamTracker</a> <ul id="nav-mobile" class="right hide-on-med-and-down" > <li><%= link_to('Home', teams_path) %></li> <% if user_signed_in? %> <li><%= link_to('Logout', destroy_user_session_path, method: ...
<nav> <div class="nav-wrapper blue-grey darken-1"> <a href="#" class="brand-logo center">TeamTracker</a> <ul id="nav-mobile" class="right hide-on-med-and-down" > <li><%= link_to('Home', teams_path) %></li> <% if user_signed_in? %> <li><%= link_to('Games', games_path) %></li> <li><%= li...
Edit navbar to have links to the various model categories
Edit navbar to have links to the various model categories
HTML+ERB
mit
blakeynwa/teamtracker,blakeynwa/teamtracker,blakeynwa/teamtracker
3c3ae0582adec6b0b7516c5b49e5be42f732d10f
app/views/sessions/new.html.erb
app/views/sessions/new.html.erb
<%= render 'form' %> <ul class="user-login-links"> <li> <%= link_to 'Signup', new_user_url %> </li> <li> <%= link_to 'Recover lost password', recover_users_url %> </li> </ul> <%# # Copyright (c) 2008 Todd Willey <todd@rubidine.com> # # Permission is hereby granted, free of charge, to any person obtaining # a copy...
<%= render 'form' %> <ul class="user-login-links"> <% if UserSystem.public_account_creation -%> <li> <%= link_to 'Signup', new_user_url %> </li> <% end -%> <li> <%= link_to 'Recover lost password', recover_users_url %> </li> </ul> <%# # Copyright (c) 2008 Todd Willey <todd@rubidine.com> # # Permission is he...
Hide link to create new accounts if there is no public registration.
Hide link to create new accounts if there is no public registration.
HTML+ERB
mit
rubidine/user_system
bf09fd721f102c3b0742c14760dc68355702e47d
app/views/shared/_head.html.erb
app/views/shared/_head.html.erb
<head> <meta name="viewport" content="initial-scale=1.0,maximum-scale=1.0;"> <meta name="apple-mobile-web-app-capable" content="yes"> <link href='/favicon.ico' rel='icon' type='image/x-icon'> <title>CatchLater</title> <%= stylesheet_link_tag 'application' %> <link href="http://fonts.googleapis.com/css?family=M...
<head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="description" content="Save online videos across the web for later viewing"> <meta id="viewport" name="viewport" content="initial-scale=1.0,user-scalable=no,minimum-scale=1.0,maximum-scale=1.0"> <meta name=...
Modify viewport meta; add charset, ua, description meta
Modify viewport meta; add charset, ua, description meta
HTML+ERB
mit
BrettBukowski/CatchLater,BrettBukowski/CatchLater,BrettBukowski/CatchLater
d3153c94d0e7931d2d3d92ce892bb27b61aaa997
app/views/trails/index.html.erb
app/views/trails/index.html.erb
<div> <h2>List of Trails</h2> </div> <% @trails.each do |trail| %> <div> <h3><%= trail.name %></h3> </div> <% end %>
Create view for mountain trails
Create view for mountain trails
HTML+ERB
mit
zlschatz/Mountain-Chat-Rails-App,zlschatz/Mountain-Chat-Rails-App,zlschatz/Mountain-Chat-Rails-App
bb921c57ed19f0dc2a6335ac73d97ea9d50f527b
templates/localConfig.js.erb
templates/localConfig.js.erb
{ backends: [<% backends.each do |backend| -%> "<%= backend %>", <% end -%>] , graphitePort: "<%= graphiteport %>" , graphiteHost: "<%= graphiteserver %>" , address: "<%= address %>" , port: "<%= listenport %>" , flushInterval: "<%= flushinterval %>" , percentThreshold: [<%= percentthreshold.join(', ') %>] <% con...
{ backends: [<% @backends.each do |backend| -%> "<%= backend %>", <% end -%>] , graphitePort: "<%= @graphiteport %>" , graphiteHost: "<%= @graphiteserver %>" , address: "<%= @address %>" , port: "<%= @listenport %>" , flushInterval: "<%= @flushinterval %>" , percentThreshold: [<%= @percentthreshold.join(', ') %>]...
Use instance-variable syntax in templates
Use instance-variable syntax in templates to avoid deprecation warnings in puppet 3.2
HTML+ERB
apache-2.0
justindowning/puppet-statsd,justindowning/puppet-statsd,justindowning/puppet-statsd
ac0da0105091da6f8e574e567ad0705a8eaaf18a
app/views/application/_appearance_fields.html.erb
app/views/application/_appearance_fields.html.erb
<div class="appearance field-group well"> <h3 class="number">Teilnehmer</h3> <%= f.fields_for :participant do |p| %> <%= p.input :first_name %> <%= p.input :last_name %> <%= f.input :role_id, collection: Role.all, prompt: "Bitte wählen" %> <%= f.input :instrument_id, collection: Instrument.all(or...
<div class="appearance field-group well"> <h3 class="number">Teilnehmer</h3> <%= f.fields_for :participant do |p| %> <%= p.input :first_name %> <%= p.input :last_name %> <%= f.input :role_id, collection: Role.all, prompt: "Bitte wählen" %> <%= f.input :instrument_id, collection: Instrument.all(or...
Add hint for country field of participant
Add hint for country field of participant
HTML+ERB
mit
richeterre/jumubase-rails,richeterre/jumubase-rails,richeterre/jumubase-rails
51bcab518ab2a024ca5320cac1bceeafd292d76e
cookbooks/imagery/templates/default/nginx_imagery_layer_fragment.conf.erb
cookbooks/imagery/templates/default/nginx_imagery_layer_fragment.conf.erb
# DO NOT EDIT - This file is being maintained by Chef location ~* "^/layer/<%= @layer %>/(\d+)/(\d+)/(\d+)\.(png|jpg|jpeg)$" { # Override QUERY_STRING to force mapserver query parameters fastcgi_param QUERY_STRING "map=/srv/imagery/mapserver/layer-<%= @layer %>.map&mode=tile&layers=<%= @layer %>&tilemode=gmap&tile...
# DO NOT EDIT - This file is being maintained by Chef location ~* "^/layer/<%= @layer %>/(\d+)/(\d+)/(\d+)\.(png|jpg|jpeg)$" { # Override QUERY_STRING to force mapserver query parameters fastcgi_param QUERY_STRING "map=/srv/imagery/mapserver/layer-<%= @layer %>.map&mode=tile&layers=<%= @layer %>&tilemode=gmap&tile...
Fix nginx cache zone in imagery
Fix nginx cache zone in imagery
HTML+ERB
apache-2.0
openstreetmap/chef,Firefishy/chef,tomhughes/openstreetmap-chef,gravitystorm/chef,gravitystorm/chef,Firefishy/chef,tomhughes/openstreetmap-chef,Firefishy/chef,Firefishy/chef,Firefishy/chef,Firefishy/chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,Firefishy/chef,zerebubuth/openstreetmap-chef,open...
7eea7d87045465dcb383b93e5b8f2c359c67f613
guides/source/contents.json.erb
guides/source/contents.json.erb
<% pages = sitemap.resources.find_all { |p| p.source_file.match(/\.md/) } entries = [] pages.each_with_index do |page, index| object = {} entry = { :id => index, :title => retrieve_page_header(page), :url => page.url, :content => page.render({:layout => false }) } entries << en...
<% pages = sitemap.resources.find_all do |p| p.source_file.match(/\.md/) if p.source_file end entries = [] pages.each_with_index do |page, index| object = {} entry = { :id => index, :title => retrieve_page_header(page), :url => page.url, :content => page.render({:layout => false })...
Allow guides nav to be used without a title
Allow guides nav to be used without a title This was raising an error in the middleman console
HTML+ERB
bsd-3-clause
pervino/solidus,pervino/solidus,pervino/solidus,pervino/solidus
5a53ed6160e4554e636513b96a18635022bc08cc
app/views/layouts/application/_header.html.erb
app/views/layouts/application/_header.html.erb
<ul id="nav"> <% if user_signed_in? %> <% if current_user.admin? %> <%= link_to "Admin", admin_path %> <% end %> <%= link_to "Sign out", destroy_user_session_path %></li> <% else %> <%= link_to "Sign up", new_user_registration_path %> <%= link_to "Sign in", new_user_session_path %> <%=...
<ul id="nav"> <% if user_signed_in? %> <% if current_user.admin? %> <%= link_to "Admin", admin_path %> <% end %> <%= link_to "Sign out", destroy_user_session_path %></li> <%= link_to "Settings", edit_user_registration_path %> <% else %> <%= link_to "Sign up", new_user_registration_path %> ...
Add Devise page for user to edit his email, password or cancel account.
Add Devise page for user to edit his email, password or cancel account.
HTML+ERB
mit
codeclimate-test/base-app,codeclimate-test/base-app,tycoool/QADemo,geremih/recollab,sammarcus/base-app,renderedtext/base-app,geremih/recollab,mfolsom/therafinder,renderedtext/base-app,tycoool/QADemo,codeclimate-test/base-app,andjosh/invoiceapp,andjosh/invoiceapp,sammarcus/base-app,sammarcus/base-app,mfolsom/therafinder
8ddf5f20df53d4f91cac03f77361f50b4bd9d780
app/views/smart_answers/shared/_debug.html.erb
app/views/smart_answers/shared/_debug.html.erb
<% if debug? %> <article> <pre class="application-notice info-notice debug"> Debug info: <% @presenter.current_state.to_hash.each do |k, v| %> <%= "#{k}: #{v.to_s}"%> <% end %> Session store: <% @session_store.hash.each do |k, v| %> <%= "#{k}: #{v.inspect}"%> <...
<% if debug? %> <article> <pre class="application-notice info-notice debug"> Debug info: <% @presenter.state.to_hash.each do |k, v| %> <%= "#{k}: #{v.to_s}"%> <% end %> </pre> </article> <% end %>
Update debug for updated state object
Update debug for updated state object FlowPresenter now uses state rather than current_state as it has no other types of states. State now encapsulates the information from a session store so the extra code isn't needed. This resolves an inconsistency for query string based flows that weren't output here.
HTML+ERB
mit
alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers
d0ce2ea1e371740a95a3845bb80244ffd6c81081
app/assets/javascripts/application.js.erb
app/assets/javascripts/application.js.erb
//= require require_config if(MAS.supports.fonts && MAS.bootstrap.fontsUrl) { require(['webfonts'], function () { var fontConfig = { custom: { families: ['museo_sans', 'icon-font'], urls: [MAS.bootstrap.fontsUrl] } }; WebFont.load(fontConfig); }) } require(['analytics'], f...
//= require require_config if(MAS.supports.fonts && MAS.bootstrap.fontsUrl) { require(['webfonts'], function () { var fontConfig = { custom: { families: ['museo_sans', 'icon-font'], urls: [MAS.bootstrap.fontsUrl] } }; WebFont.load(fontConfig); }) } require(['analytics'], f...
Disable menu closing on focusout
Disable menu closing on focusout
HTML+ERB
mit
moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend
fd7f63d8a548c1d25c35021e0ce5bf4f3c177fd1
cookbooks/dev/templates/default/rails.setup.rb.erb
cookbooks/dev/templates/default/rails.setup.rb.erb
unless Object.const_defined?(:Rake) or Object.const_defined?(:POTLATCH2_KEY) OpenStreetMap::Application.config.after_initialize do unless webmaster = User.find_by_email("webmaster@openstreetmap.org") webmaster = User.new webmaster.display_name = "OpenStreetMap Webmaster" webmaster.email = "webma...
unless Object.const_defined?(:Rake) or Object.const_defined?(:POTLATCH2_KEY) OpenStreetMap::Application.config.after_initialize do unless webmaster = User.find_by_email("webmaster@openstreetmap.org") webmaster = User.new webmaster.display_name = "OpenStreetMap Webmaster" webmaster.email = "webma...
Fix up issues in dev server rails setup script
Fix up issues in dev server rails setup script
HTML+ERB
apache-2.0
openstreetmap/chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,Firefishy/chef,zerebubuth/openstreetmap-chef,gravitystorm/chef,tomhughes/openstreetmap-chef,gravitystorm/chef,Firefishy/chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,zerebubuth/...
c6a994ffd81e11a1c4048049044bc56fa535dd2f
app/views/spots/show.html.erb
app/views/spots/show.html.erb
<%= link_to 'Back', spots_path %><br> <h1><%= @spot.name %></h1> <%= link_to 'Edit', edit_spot_path(@spot) %><br> <%= button_to "Delete", @spot, method: :delete, action: 'destroy' %> <%= button_to "Edit", edit_spot_path(@spot), method: :get %> <%= @spot.address %><br> <%= @spot.phone %><br> <% if @spot.website %> <%=...
<%= link_to 'Back', spots_path %><br> <h1><%= @spot.name %></h1> <%= link_to 'Edit', edit_spot_path(@spot) %><br> <%= button_to "Delete", @spot, method: :delete, action: 'destroy' %> <%= button_to "Edit", edit_spot_path(@spot), method: :get %> <%= @spot.address %><br> <%= @spot.phone %><br> <% if @spot.website %> <%=...
Add leave comment form, print comments out via partial
Add leave comment form, print comments out via partial
HTML+ERB
mit
mud-turtles-2014/TheSpot,mud-turtles-2014/TheSpot,mud-turtles-2014/TheSpot
462285efe2de23d2e309b7a6237bcfe6dcbf9e51
app/views/admin_data/search/search/_listing.html.erb
app/views/admin_data/search/search/_listing.html.erb
<%= render :partial => 'admin_data/search/search/title', :locals => { :records => @records, :total_num_of_children => @total_num_of_children } %> <div class="pagination"> <%= will_paginate @records, :con...
<%= render :partial => 'admin_data/search/search/title', :locals => { :records => @records, :total_num_of_children => @total_num_of_children } %> <div class="pagination"> <%= will_paginate @records, :con...
Fix routing error when viewing certain pages caused by id paramter being pass record object instead of record id
Fix routing error when viewing certain pages caused by id paramter being pass record object instead of record id
HTML+ERB
mit
bigbinary/admin_data,bigbinary/admin_data
caca65d314903f284f116222db44400e6ce0fc07
views/quotes.erb
views/quotes.erb
<h1>#powder Quote Database (qdb)</h1> <div class="quotes"> <% @quotes.each do |q| %> <div class="quote"> <h4>Quote #<%=q.id%> by <%=q.author%></h4> <div class="quote"> <%= q.quote %> </div> </div> <% end %> </div>
<h1>#powder Quote Database (qdb)</h1> <div class="quotes"> <% @quotes.each do |q| %> <div class="quote"> <h4>Quote <a href="/quote/<%=q.id%>">#<%=q.id%></a> by <%=q.author%></h4> <div class="quote"> <%= q.quote %> </div> </div> <% end %> </div>
Add a link to the quote page from the quote listing
Add a link to the quote page from the quote listing
HTML+ERB
mit
nucular/qdb,boxmein/qdb,nucular/qdb,boxmein/qdb,boxmein/qdb,nucular/qdb,nucular/qdb,boxmein/qdb
4df216051c66c82d8a3ac3618408cf74f150d6b3
app/views/gobierto_cms/pages/meta_welcome.html.erb
app/views/gobierto_cms/pages/meta_welcome.html.erb
<% cache(["gobierto_cms/pages/meta_welcome", current_site, I18n.locale]) do %> <% title(@page.title) %> <% description(truncate(strip_tags(@page.body), length: 100)) %> <% content_for :javascript_module_link do %> <%= javascript_packs_with_chunks_tag 'cms', 'data-turbolinks-track': true %> <% end %> <% ...
<% content_for :javascript_module_link do %> <%= javascript_packs_with_chunks_tag 'cms', 'data-turbolinks-track': true %> <% end %> <% content_for :stylesheet_module_link do %> <%= stylesheet_packs_with_chunks_tag 'cms' %> <% end %> <% cache(["gobierto_cms/pages/meta_welcome", current_site, I18n.locale]) do %> ...
Load resources outside the cache
Load resources outside the cache
HTML+ERB
agpl-3.0
PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto,PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto-dev
c65af6157cdd4d748e8fc8a881571c4d3f090e7e
app/views/sheet_variables/show/_signature.html.erb
app/views/sheet_variables/show/_signature.html.erb
<canvas class="pad" width="300" height="55" data-object="signature-display" data-signature-string="<%= object.get_response(:raw) %>"></canvas>
<canvas class="pad" width="300" height="55" data-object="signature-display" data-signature-string="<%= object.get_response(:raw) if object %>"></canvas>
Check if object exists first before trying signature
Check if object exists first before trying signature
HTML+ERB
mit
remomueller/slice,remomueller/slice,remomueller/slice
7410758343071dd92a77d63b9c1124805eeef8f2
jobs/haproxy/templates/haproxy.config.erb
jobs/haproxy/templates/haproxy.config.erb
global log 127.0.0.1 local1 info daemon user vcap group vcap maxconn 64000 defaults log global timeout connect 30000ms timeout client <%= p("request_timeout_in_seconds").to_i * 1000 %>ms timeout server <%= p("request_timeout_in_seconds").to_i * 1000 %>ms listen mysql-cluster ...
global log 127.0.0.1 local1 info daemon user vcap group vcap maxconn 64000 defaults log global timeout connect 30000ms timeout client <%= p("request_timeout_in_seconds").to_i * 1000 %>ms timeout server <%= p("request_timeout_in_seconds").to_i * 1000 %>ms listen mysql-cluster ...
Increase HAProxy stick table size.
Increase HAProxy stick table size. [#77823944]
HTML+ERB
apache-2.0
krishna-mk/cf-mysql-release,cloudfoundry/cf-mysql-release,krishna-mk/cf-mysql-release,CloudCredo/cf-mysql-release,ruanbinfeng/cf-mysql-release,cloudfoundry/cf-mysql-release,CloudCredo/cf-mysql-release,ruanbinfeng/cf-mysql-release,kbastani/cf-mysql-release,krishna-mk/cf-mysql-release,ruanbinfeng/cf-mysql-release,cloudfo...
33b96a341718a291c58d1c4c6a07d36b6986e586
templates/default/prometheus.yml.erb
templates/default/prometheus.yml.erb
# Global default settings. global: scrape_interval: "15s" # By default, scrape targets every 15 seconds. evaluation_interval: "15s" # By default, evaluate rules every 15 seconds. scrape_configs: <% for job in @jobs||[] %> - job_name: "<%= job.name %>" <% if job.scrape_interval %> scrape_interval: "<%= job....
# Global default settings. global: scrape_interval: "15s" # By default, scrape targets every 15 seconds. evaluation_interval: "15s" # By default, evaluate rules every 15 seconds. scrape_configs: <% for job in @jobs||[] %> - job_name: "<%= job.name %>" <% if job.scrape_interval %> scrape_interval: "<%= job....
Fix missing end in template
Fix missing end in template
HTML+ERB
apache-2.0
elijah/chef-prometheus,elijah/chef-prometheus,elijah/chef-prometheus,rayrod2030/chef-prometheus,rayrod2030/chef-prometheus,rayrod2030/chef-prometheus
4aedf81cb36f25ba8dff9a9091fa00dfc0f253e1
app/views/elements/show.html.erb
app/views/elements/show.html.erb
<div class="element card"> <% if element.file.file? %> <div class="card-image"><%= image_tag element.image.url %></div> <% end %> <div class="title"><%= element.title %></div> <div class="description"><%= element.description %></div> <% if element.element_link %> <%= link_to "View More", element.eleme...
<div class="element card"> <% if element.image.file? %> <div class="card-image"><%= image_tag element.image.url %></div> <% end %> <div class="title"><%= element.title %></div> <div class="description"><%= element.description %></div> <% if element.element_link %> <%= link_to "View More", element.ele...
Change file to image in element view
Change file to image in element view
HTML+ERB
mit
beccanelson/brightfolio,beccanelson/brightfolio,beccanelson/brightfolio
0ad35fabc54a06ec4f66d2989ba2c3588fff5790
cookbooks/postgresql/templates/default/ohai.rb.erb
cookbooks/postgresql/templates/default/ohai.rb.erb
provides "postgresql" postgresql Mash.new Dir.glob("/etc/postgresql/*/*/postgresql.conf").each do |conf| cluster = conf.sub("/etc/postgresql/", "").sub("/postgresql.conf", "") postgresql[:clusters] = Mash.new unless postgresql[:clusters] postgresql[:clusters][cluster] = Mash.new unless postgresql[:clusters][cl...
Ohai.plugin(:Postgresql) do provides "postgresql" collect_data(:default) do postgresql Mash.new Dir.glob("/etc/postgresql/*/*/postgresql.conf").each do |conf| cluster = conf.sub("/etc/postgresql/", "").sub("/postgresql.conf", "") postgresql[:clusters] = Mash.new unless postgresql[:clusters] ...
Rework postgresql ohai plugin as a version 7 plugin
Rework postgresql ohai plugin as a version 7 plugin
HTML+ERB
apache-2.0
Firefishy/chef,gravitystorm/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,Firefishy/chef,gravitystorm/chef,gravitystorm/chef,gravitystorm/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,gravitystorm/chef,tomhughes/openstreetmap-c...
86d9a29a44abe936785eb92c83479a5b8d89ff99
app/views/sessions/new.html.erb
app/views/sessions/new.html.erb
<div class="container-fluid container"> <div class="row"> <div class="col-md-12" style="margin-top: 15%"> <div class="jumbotron"> <h2> Tweetable </h2> <p>Helping people to be concise while expressing themselves.</p> <p> <%= link_to 'Login with Google', '/a...
<div class="container-fluid container"> <div class="row"> <div class="col-md-12" style="margin-top: 13%"> <div class="jumbotron"> <h2> Tweetable </h2> <p>Helping people to be concise, Precisely. </p> <p> <%= link_to 'Login with TW Mail', '/auth/google_oaut...
Change the tagline for the App in Login Page
[Abhishek] Change the tagline for the App in Login Page
HTML+ERB
apache-2.0
twi-step/tweetable,twi-step/tweetable,twi-step/tweetable,twi-step/tweetable
ea08cfe2eb63ba385c352d71193827137f7497b8
templates/configure_wrapper.erb
templates/configure_wrapper.erb
#!/bin/bash ./configure \ --disable-interactive \ <% @compile_extra_modules.each do |value| -%> --enable-extras=m_<%= value %>.cpp \ <% end -%> <% if @gnutls -%> --enable-gnutls \ <% end -%> <% if @openssl -%> --enable-openssl \ <% end -%> <% if @epoll -%> --enable-epoll \ <% end -%> <% if @kqueue -%> --en...
#!/bin/bash export PERL5LIB=<%= @install_dir %> ./configure \ --disable-interactive \ <% @compile_extra_modules.each do |value| -%> --enable-extras=m_<%= value %>.cpp \ <% end -%> <% if @gnutls -%> --enable-gnutls \ <% end -%> <% if @openssl -%> --enable-openssl \ <% end -%> <% if @epoll -%> --enable-epoll \...
Fix perl issue with running configure script
Fix perl issue with running configure script
HTML+ERB
mit
tedivm/puppet-inspircd,tedivm/puppet-inspircd,tedivm/puppet-inspircd
39dc3ea751e09c752a2905be5ecc73c21ae93c5a
templates/default/motd.tail.erb
templates/default/motd.tail.erb
*** Chef-Client - <%= node.name %> Hostname: <%= node['cloud'] ? node['cloud']['public_hostname'] : node['fqdn'] %> <% if ! Chef::Config[:solo] -%> Chef Server: <%= Chef::Config[:chef_server_url] %> <% end -%> <% if node.chef_environment != '_default' -%> Environment: <%= node.chef_environment %> <% end -%> Last Run: <...
*** Chef-Client - <%= node.name %> Hostname: <%= node['cloud'] ? node['cloud']['public_hostname'] : node['fqdn'] %> <% if ! Chef::Config[:solo] -%> Chef Server: <%= Chef::Config[:chef_server_url] %> <% end -%> <% if node.chef_environment != '_default' -%> Environment: <%= node.chef_environment %> <% end -%> Last Run: <...
Add recipes to the motd
Add recipes to the motd
HTML+ERB
apache-2.0
rackspace-cookbooks/motd-tail-deprecated
17abb7ce663c00b5ea9ed4700ba1aed85eb1fb58
app/views/browse/browse_applet_tab.html.erb
app/views/browse/browse_applet_tab.html.erb
<div> <% if @model.name =~ /3D/ %> <p>Sorry, but 3D models cannot be viewed as applets. You must download this model to try it.</p> <% else %> <applet code="org.nlogo.applet.LiteApplet" align="baseline" width="<%= @model.dimensions[:width] -%>" height="<%= @model.dimensions[:height] -%>" ar...
<div> <% if @model.name =~ /3D/ %> <p>Sorry, but 3D models cannot be viewed as applets. You must download this model to try it.</p> <% else %> <applet code="org.nlogo.lite.Applet" align="baseline" width="<%= @model.dimensions[:width] -%>" height="<%= @model.dimensions[:height] -%>" archive=...
Revert "Perhaps the applet class was changed?!?"
Revert "Perhaps the applet class was changed?!?" This reverts commit 5cd28ec78282655440754afec35c372dbb7e50d4 [formerly 0232dd575b86c12ff18b4cb1f283b86bca2f5c45]. Former-commit-id: 26e1cab5c95d1ed89931b43ddf5cd53b3715db10
HTML+ERB
agpl-3.0
reuven/modelingcommons,reuven/modelingcommons,reuven/modelingcommons,reuven/modelingcommons,reuven/modelingcommons,reuven/modelingcommons,reuven/modelingcommons
65fd88ef32519a986c8481d3ceceb84dd10f9f73
app/views/polls/_poll_subnav.html.erb
app/views/polls/_poll_subnav.html.erb
<% if show_stats_or_results? %> <div class="row margin-top"> <div class="small-12 column"> <ul class="menu simple clear"> <% if @poll.results_enabled? %> <% if results_menu? %> <li class="is-active"> <h2><%= t("polls.show.results_menu") %></h2> </li> ...
<% if show_stats_or_results? %> <div class="row margin-top"> <div class="small-12 column"> <ul class="menu simple clear"> <% if @poll.results_enabled? %> <% if results_menu? %> <li class="is-active"> <h2><%= t("polls.show.results_menu") %></h2> </li> ...
Use poll slug on stats and results paths
Use poll slug on stats and results paths
HTML+ERB
agpl-3.0
AyuntamientoPuertoReal/decidePuertoReal,usabi/consul_san_borondon,usabi/consul_san_borondon,consul/consul,usabi/consul_san_borondon,consul/consul,AyuntamientoPuertoReal/decidePuertoReal,consul/consul,consul/consul,AyuntamientoPuertoReal/decidePuertoReal,consul/consul,usabi/consul_san_borondon
2a7ee0a95ff90699df4bc95eeb6c57f6ed6b92dc
app/views/shipit/stacks/show.html.erb
app/views/shipit/stacks/show.html.erb
<% subscribe events_path(channels: ["stack.#{@stack.id}"]), '#layout-content' %> <%= render partial: 'shipit/stacks/header', locals: {stack: @stack} %> <%= render partial: 'shipit/stacks/banners', locals: {stack: @stack} %> <div class="wrapper"> <section> <header class="section-header"> <h2>Undeployed Com...
<% subscribe events_path(channels: ["stack.#{@stack.id}"]), '#layout-content' %> <%= render partial: 'shipit/stacks/header', locals: {stack: @stack} %> <%= render partial: 'shipit/stacks/banners', locals: {stack: @stack} %> <div class="wrapper"> <section> <header class="section-header"> <h2>Undeployed Com...
Add `force` to stack cache key
Add `force` to stack cache key
HTML+ERB
mit
Shopify/shipit-engine,Shopify/shipit-engine,Shopify/shipit-engine,Shopify/shipit-engine,Shopify/shipit-engine
c956c8e4f4a5ec40b283a601625657182af36bce
app/views/smart_answers/show.html.erb
app/views/smart_answers/show.html.erb
<% content_for :title do %><%= @presenter.title %><% end %> <section id="content"<% if @presenter.started? %> class="smart-answer-questions group"<% end %>> <%= render partial: "content" %> </section>
<% content_for :title do %><%= @presenter.title %><% end %> <main id="content" role="main" <% if @presenter.started? %> class="smart-answer-questions group"<% end %>> <%= render partial: "content" %> </main>
Replace sections with role=main with main element
Replace sections with role=main with main element
HTML+ERB
mit
keithiopia/smart-answers,keithiopia/smart-answers,tadast/smart-answers,tadast/smart-answers,ministryofjustice/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,lutgendorff/smart-answers,lutgendorff/smart-answers,aledelcueto/smart-answers,tadast/smart-answers,askl56/smart-answers,keithiopia/smart-answers,st...
5c2eee11c6f469456e5cbba9a35948d9c48c192e
app/views/sessions/new.html.erb
app/views/sessions/new.html.erb
<h1>Please login</h1> <%= form_for @user do |f| %> <%= f.label :name %> <%= f.text_field :name %> <%= f.label :password %> <%= f.text_field :password %> <%= f.submit %> <% end %>
Add new template to sessions views
Add new template to sessions views
HTML+ERB
mit
apalski/wodapp,apalski/wodapp,apalski/wodapp
3293dc5159ddf396a6fa6658c93c91beb5c6b839
app/views/users/_stats.html.erb
app/views/users/_stats.html.erb
<div class="row"> <div class="card-panel z-depth-3 amber accent-4"> <span class="white-text"> <div class="stats"> <table style= "padding: 5px;"> <tr> <td> <a href="<%= following_user_path(@user) %>" style="color: white;">Following </a><br/> <a href="<%= following_user_path(...
<div class="row"> <div class="card-panel z-depth-3 amber accent-4"> <span class="white-text"> <div class="stats"> <table style= "padding: 5px;"> <tr> <td> Following <br/> <%= @user.following.count %> </td> <td> Followers<br/> <%= @user.follower...
Remove links from stats card
Remove links from stats card
HTML+ERB
mit
chi-dragonflies-2015/FAQrator,chi-dragonflies-2015/FAQrator,chi-dragonflies-2015/FAQrator
bf797ce68a486597b4cb6a439c88bfd77984ac34
app/views/coronavirus_landing_page/components/landing_page/_live_stream_section.html.erb
app/views/coronavirus_landing_page/components/landing_page/_live_stream_section.html.erb
<section class="covid__topic-wrapper"> <%= render "govuk_publishing_components/components/heading", { text: details.live_stream["title"], heading_level: 2, margin_bottom: 6, padding: true, border_top: 2 } %> <%= render partial: 'coronavirus_landing_page/components/landing_page/live_stream', l...
<section class="covid__topic-wrapper"> <%= render "govuk_publishing_components/components/heading", { text: details.live_stream["title"], heading_level: 2, margin_bottom: 6, padding: true, border_top: 2 } %> <%= render partial: 'coronavirus_landing_page/components/landing_page/live_stream', l...
Add a new link to the transcript collections page
Add a new link to the transcript collections page
HTML+ERB
mit
alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections
a361d325ed985261929cc7b4710db2e58bba33c0
app/views/walls/_wall_post.html.erb
app/views/walls/_wall_post.html.erb
<%= link_to_function 'Post a message', "Element.show('wall_message'); $('message_body').focus();" %> on <%=h @person.name_possessive %> wall. <div id="wall_message"> <% form_for(:message, nil, :url => messages_path, :method => 'post', :html => {:style => 'border:none;'}) do |form| %> <%= hidden_field_tag :wall_i...
<%= link_to_function 'Post a message', "Element.show('wall_message'); $('message_body').focus();" %> on <%=h @person.name_possessive %> wall. <div id="wall_message"> <% form_for Message.new(:wall => @person), :html => {:style => 'border:none;'} do |form| %> <%= form.hidden_field :wall_id %> <em>All users wil...
Fix bug saving wall message.
Fix bug saving wall message.
HTML+ERB
agpl-3.0
seethemhigh/onebody,acbilimoria/onebody,acbilimoria/onebody,powerchurch/onebody,ebennaga/onebody,fadiwissa/onebody,moss-zc/sns_shop,hooray4me/onebody2,fadiwissa/onebody,Capriatto/onebody,mattraykowski/onebody,cessien/onebody,hooray4me/onebody,moss-zc/sns_shop,pgmcgee/onebody,dorman/onebody,tmecklem/onebody,calsaviour/o...
03062122ae8788aaecb0adf8e5c2d08f34a18007
templates/init_systemd.erb
templates/init_systemd.erb
# Systemd unit file for tomcat_<%= @instance %> [Unit] Description=<%= @instance %> Apache Tomcat Application After=syslog.target network.target [Service] Type=forking <% @env_vars.each do |h| -%> <% h.each_pair do |k,v| -%> Environment="<%= k -%>=<%= v %>" <% end -%> <% end -%> ExecStart=<%= @install_path %>/b...
# Systemd unit file for tomcat_<%= @instance %> [Unit] Description=<%= @instance %> Apache Tomcat Application After=syslog.target network.target [Service] Type=simple <% @env_vars.each do |h| -%> <% h.each_pair do |k,v| -%> Environment="<%= k -%>=<%= v %>" <% end -%> <% end -%> ExecStart=<%= @install_path %>/bi...
Fix Tomcat 7 installs with systemd
Fix Tomcat 7 installs with systemd The catalina.sh script seems to fail when we fork in the script. If we run in the foreground with catalina.sh and let systemd handle it things seem to work.
HTML+ERB
apache-2.0
yakara-ltd/tomcat,opscode-cookbooks/tomcat,nickptrvc/tomcat,chef-cookbooks/tomcat,nickptrvc/tomcat,Lianping/tomcat,Lianping/tomcat,chef-cookbooks/tomcat,Lianping/tomcat,yakara-ltd/tomcat,opscode-cookbooks/tomcat,GannettDigital/chef-tomcat,yakara-ltd/tomcat,nickptrvc/tomcat,GannettDigital/chef-tomcat,opscode-cookbooks/t...
864f2dceff4580620d21630107000795d5382a9c
files/ca.conf.erb
files/ca.conf.erb
certificate-authority: { certificate-status: { client-whitelist: [ <%= @dashboard_fqdn -%> <% @cert_fqdn_names.each do |fqdn_name| -%> <%= fqdn_name.chomp %> <% end -%> ] } }
certificate-authority: { certificate-status: { client-whitelist: [ <%= @console_client_certname %>, example.cert.com ] } }
Correct template file to be dropped in puppet_enterprise module template dir
Correct template file to be dropped in puppet_enterprise module template dir
HTML+ERB
apache-2.0
DBMoUK/certwhitelist,DBMoUK/certwhitelist
4f8c419c97c24a028b8f3e3c7c945c32f8a4e0b3
app/views/progress_updates/show.html.erb
app/views/progress_updates/show.html.erb
<div class="box"> <%= render partial: "progress_updates/progress_update_content", locals: {progress_update: @update} %> <hr><br> <ul class="list-unstyled"><%= render @update.comments %></ul> <% if can? :create, Comment %> <h3>Add New Comment</h3> <%= form_for [@update.project, @upda...
<div class="box"> <%= render partial: "progress_updates/progress_update_content", locals: {progress_update: @update} %> <hr><br> <ul class="list-unstyled"><%= render @update.comments %></ul> <% if can? :create, Comment %> <h3>Add New Comment</h3> <%= form_for [@update.project, @upda...
Fix new comment button to work multiple times without page reload
Fix new comment button to work multiple times without page reload
HTML+ERB
mit
Cecily2/writing-project-tracker,Cecily2/writing-project-tracker,Cecily2/writing-project-tracker
054778fc887d98552266342c3facffe33007b77a
app/views/admin/buildings/index.html.erb
app/views/admin/buildings/index.html.erb
<div class="bg-blue"> <div class="container"> <div class="row"> <h1 class="styled-header col-md-6">Buildings</h1> <div class="admin-button-container pull-right"> <%= link_to new_admin_building_path, class: "admin-button" do %> Add Building <div class="admin-button-icon"...
<div class="bg-blue"> <div class="container"> <div class="row"> <h1 class="styled-header col-md-6">Buildings</h1> <div class="admin-button-container pull-right"> <%= link_to new_admin_building_path, class: "admin-button" do %> Add Building <div class="admin-button-icon"...
Reformat building index name and address
Reformat building index name and address
HTML+ERB
mit
heatseeknyc/heatseeknyc,heatseeknyc/heatseeknyc,heatseeknyc/heatseeknyc
17339c74b6cdbe36ce91f2d4aaca79fca064e8e8
app/views/github/_github_button.html.erb
app/views/github/_github_button.html.erb
<a class="Sessions-oauthButton Sessions-githubButton" <% if @button_color %>style="background-color: <%= @button_color %>;"<% end %> href="<%= config.redirect_url %>"></a>
<a class="Sessions-oauthButton Sessions-githubButton fs-Sessions-githubButton" <% if @button_color %>style="background-color: <%= @button_color %>;"<% end %> href="<%= config.redirect_url %>"></a>
Add fs event to github button
Add fs event to github button
HTML+ERB
bsd-3-clause
splashblot/dronedb,CartoDB/cartodb,CartoDB/cartodb,splashblot/dronedb,splashblot/dronedb,splashblot/dronedb,CartoDB/cartodb,CartoDB/cartodb,splashblot/dronedb,CartoDB/cartodb
825323ab80b626de907118a94fcc85d665daf6a9
app/views/learning_objects/show.html.erb
app/views/learning_objects/show.html.erb
<%= link_to "Deletar", @learning_object, method: :delete, class: "btn btn-primary pull-right", style: "margin-left: 10px", data: { confirm: "Tem certeza que deseja excluir?" } %> <%= link_to "Editar", edit_learning_object_path(@learning_object), ...
<%= provide(:header, "Objeto de Aprendizagem") %> <%= provide(:description, "Vizualize, edite e adicione novos exercícios") %> <%= link_to "Deletar", @learning_object, method: :delete, class: "btn btn-primary pull-right", style: "margin-left: 10px", ...
Add a header to the show page
Add a header to the show page
HTML+ERB
mit
rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn
f9d4a390a091fd66ed8e34157daac79be55fee72
app/views/pages/_bib_alma_forms.html.erb
app/views/pages/_bib_alma_forms.html.erb
<%# Get an Alma Record %> <%= form_tag('/bibliographic', method: 'get', class: 'form-horizontal') do %> <div class="form-group"> <%= label_tag(:bib_id, 'Get an Alma Record:', class: 'col-sm-2 control-label') %> <div class="col-sm-2"> <%= hidden_field_tag(:items_only, 0) %> <%= hidden_field_tag(:ho...
<%# Get an Alma Record %> <%= form_tag('/bibliographic', method: 'get', class: 'form-horizontal') do %> <div class="form-group"> <%= label_tag(:bib_id, 'Get an Alma Record:', class: 'col-sm-2 control-label') %> <div class="col-sm-2"> <%= hidden_field_tag(:items_only, 0) %> <%= hidden_field_tag(:ho...
Update the Alma input placeholder on the homepage
Update the Alma input placeholder on the homepage
HTML+ERB
bsd-2-clause
pulibrary/marc_liberation,pulibrary/marc_liberation,pulibrary/marc_liberation
65d53de541de3602b7000314915cc9230da9a179
app/views/styleguide/pages_home.html.erb
app/views/styleguide/pages_home.html.erb
<%= render 'shared/homepage_feature', strapline: t('home.show.strapline'), items: t('home.show.featured') %> <%= render 'shared/home_contact', title: t('home.show.contact.title'), introduction: t('home.show.contact.introduction_html'), details: t('...
<%= render 'shared/homepage_feature', strapline: t('home.show.strapline'), items: t('home.show.featured') %> <%= render 'shared/home_contact', title: t('home.show.contact.title'), introduction: t('home.show.contact.introduction_html'), details: t('...
Add new contact component to the demo page
Add new contact component to the demo page
HTML+ERB
mit
moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend
ecbcd61f1c16184d2cdd6f2fe612b57de8a2b1b0
app/views/articles/edit.html.erb
app/views/articles/edit.html.erb
<div class="col-xs-12"> <% if @article.author_id == current_user.id %> <h2><%= t('edit_article.subject') %></h2> <%= form_for :article, url: article_path(@article), method: :put do |f| %> <% if @article && @article.errors.any? %> <p> <ul> <% @article.errors.full_messages.each do |m...
<div class="col-xs-12"> <% if @article.author_id == current_user.id %> <h2><%= t('edit_article.subject') %></h2> <%= form_for :article, url: article_path(@article), method: :put do |f| %> <% if @article && @article.errors.any? %> <p> <ul> <% @article.errors.full_messages.each do |m...
Add labels text to locales on edit article view
Add labels text to locales on edit article view
HTML+ERB
mit
Kraykin/Blog-sample,Kraykin/Blog-sample,Kraykin/Blog-sample
c5b6f741642989cdd7dc57c5337cbbcd291fe177
app/views/channels/show.html.erb
app/views/channels/show.html.erb
<h1><%= @channel.name %></h1> <p><%= channel_action_links @channel %></p> <div class="col-sm-6"> <ul> <li>Type: <%= @channel.type_name %></li> <li>Description: <%= @channel.description %></li> <li>Entity: <%= link_to @channel.entity.name, @channel.entity %></li> <li><%= @channel.service_id_name %>: <%...
<h1><%= @channel.name %></h1> <p><%= channel_action_links @channel %></p> <div class="col-sm-6"> <ul> <li>Type: <%= @channel.type_name %></li> <li>Description: <%= @channel.description %></li> <li>Entity: <%= link_to @channel.entity.name, @channel.entity %></li> <li><%= @channel.service_id_name %>: <%...
Change field name in view
Change field name in view
HTML+ERB
agpl-3.0
osucomm/mediamagnet,osucomm/mediamagnet
e411ab36a84d2376a76609063826bd49b278aff3
app/views/layouts/embed.html.erb
app/views/layouts/embed.html.erb
<!DOCTYPE html> <html> <head> <%= csrf_meta_tags %> <%= display_meta_tags site: 'hcxp', description: 'Indepenent online hardcore punk events directory', reverse: true, separator: '/', 'fb:app_id' => ENV['FACEBOOK_APP_ID'] %> <script src="https://use.fontawesome.com/54c3771c61.js"></script> <link rel=...
<!DOCTYPE html> <html> <head> <%= csrf_meta_tags %> <%= display_meta_tags site: 'hcxp', description: 'Indepenent online hardcore punk events directory', reverse: true, separator: '/', 'fb:app_id' => ENV['FACEBOOK_APP_ID'] %> <script src="https://use.fontawesome.com/54c3771c61.js"></script> <link rel=...
Disable analytics on embed pages
Disable analytics on embed pages
HTML+ERB
apache-2.0
hcxp/hcxp,hcxp/hcxp,hcxp/hcxp