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 |
|---|---|---|---|---|---|---|---|---|---|
0005f22e5cfe6deefbf7458a04baa2c8cfde642d | app/views/orders/index.html.erb | app/views/orders/index.html.erb | <% content_for :title, "Orders" %>
<% content_for :content do %>
<div class="row input-row">
<div class="col-xs-12">
<div class="pull-right">
<%= link_to 'New Order', {controller: "orders", action: "new"}, class: 'btn btn-primary pull-right' %>
</div>
</div>
</div>
<table class="tabl... | <% content_for :title, "Orders" %>
<% content_for :content do %>
<div class="row input-row">
<div class="col-xs-12">
<div class="pull-right">
<%= link_to 'New Order', {controller: "orders", action: "new"}, class: 'btn btn-primary pull-right' %>
</div>
</div>
</div>
<table class="tabl... | Move away from the order detail modal | Move away from the order detail modal
We decided to not use modals so this is the removal of one more.
| HTML+ERB | mit | on-site/StockAid,icodeclean/StockAid,on-site/StockAid,icodeclean/StockAid,icodeclean/StockAid,on-site/StockAid |
ecb5a656089f80432093d108ff85f80b8398ce68 | app/views/backend/notas/_form.html.erb | app/views/backend/notas/_form.html.erb | <% #TODO: Session necesita mostrarse como en AA en vez de mostrar el id %>
<% #TODO: Autocompletar: AREA Y SESSION %>
<% #TODO: Arreglar los datepicker que estan de mas %>
<%= simple_form_for [:backend, resource] do |f| %>
<%= f.input :numero, :label =>"Numero" %>
<%= f.association :organization, input_html: {c... | <% #TODO: Session necesita mostrarse como en AA en vez de mostrar el id %>
<% #TODO: Autocompletar: AREA Y SESSION %>
<% #TODO: Arreglar los datepicker que estan de mas %>
<%= simple_form_for [:backend, resource] do |f| %>
<div>
<div class="span6">
<%= f.input :numero, :label =>"Numero" %>
<%= f.a... | Change the notas form into columns | Change the notas form into columns | HTML+ERB | agpl-3.0 | bluelemons/diputados,bluelemons/diputados |
0fbc6783ebcc491572f78736784ddc54826646d2 | app/views/iphone/issues/index.html.erb | app/views/iphone/issues/index.html.erb | <div id="issues">
<div class="toolbar">
<h1><%=h @project.name %></h1>
<% if !User.current.logged? %>
<a class="button slideup" id="infoButton" href="#login">Login</a>
<% end %>
<a href="#" class="back">Back</a>
</div>
<h2>Issues > <%= @tracker.name %></h2>
<ul... | <div id="issues">
<div class="toolbar">
<h1><%=h @project.name %></h1>
<% if !User.current.logged? %>
<a class="button slideup" id="infoButton" href="#login">Login</a>
<% end %>
<a href="#" class="back">Back</a>
</div>
<h2>Issues > <%= @tracker.name %></h2>
<ul... | Remove the mini-label of tracker name | Remove the mini-label of tracker name
| HTML+ERB | mit | hlb/redmine_iphone_plugin |
ccb9ce1154145963005e0bca5c91a4eb68d0ceaf | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>My Restaurant Review</title>
<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
</head>
<body>
<nav>
<%= link_to "Home", root_path %>
<%= link_to "See Reviews", reviews_p... | <!DOCTYPE html>
<html>
<head>
<title>My Restaurant Review</title>
<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
</head>
<body>
<nav>
<%= link_to "Home", root_path %>
<%= link_to "See Reviews", reviews_p... | Move login link to last place in footer of layout | Move login link to last place in footer of layout
| HTML+ERB | mit | jffernan/rails-my-restaurant-review,jffernan/rails-my-restaurant-review,jffernan/rails-my-restaurant-review |
15f38a72c8883d3e5392239265f837ed254d04eb | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>ExampleRailsImageGallery</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<nav>
<a id="create_account" href="... | <!DOCTYPE html>
<html>
<head>
<title>ExampleRailsImageGallery</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<nav>
<%= link_to("Create an Accoun... | Use `link_to` in place of <a> tags. | Use `link_to` in place of <a> tags.
Sometimes I forget to Rails. This is because I <3 sinatra and clojure
and don't find much value in the form and html helpers that come with
rails.
| HTML+ERB | mit | codeunion/example-rails-4-image-gallery,chrisswk/example-rails-4-image-gallery,chrisswk/example-rails-4-image-gallery,codeunion/example-rails-4-image-gallery,chrisswk/example-rails-4-image-gallery |
9554dde4bf272e8f40fcf034aa86e21287b01cfe | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Data Verification Tool</title>
<link href='http://fonts.googleapis.com/css?family=Press+Start+2P' rel='stylesheet' type='text/css'>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
<meta name="... | <!DOCTYPE html>
<html>
<head>
<title>Data Verification Tool</title>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body>
<div id="header">
<%... | Remove obsolete google webfont link to Press Start 2P | Remove obsolete google webfont link to Press Start 2P
| HTML+ERB | apache-2.0 | NSWPlanning/data-verification-tool,NSWPlanning/data-verification-tool,NSWPlanning/data-verification-tool |
7c9a4b4c02ea0df99dd1faf15b1666f748737718 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Rock Enroll</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 class='navigation' role='banner'>
<%=... | <!DOCTYPE html>
<html lang='en'>
<head>
<title>Rock Enroll</title>
<meta charset='utf-8' />
<meta name='viewport' content='width=device-width, initial-scale=1' />
<%= stylesheet_link_tag('application', media: 'all', 'data-turbolinks-track' => true) %>
<%= javascript_include_tag('application', 'data-turbolinks... | Add some tags & attributes to application layout | Add some tags & attributes to application layout
Specifying viewport attribute will let responsive rules kick in as needed.
| HTML+ERB | isc | NerdDiffer/rockenroll,NerdDiffer/rockenroll,NerdDiffer/rockenroll |
01d548c402f45a4acc742118849e12fffc00bf56 | modules/govuk_jenkins/templates/jobs/content_performance_manager.yaml.erb | modules/govuk_jenkins/templates/jobs/content_performance_manager.yaml.erb | ---
- job:
name: content_performance_manager_import_etl_master_process
display-name: Content Performance Manager - ETL master
project-type: freestyle
description: "<p>Run the etl:master rake task.</p>"
builders:
- shell: ssh deploy@$(govuk_node_list -c backend --single-node) "cd /var/apps/cont... | ---
- job:
name: content_performance_manager_import_etl_master_process
display-name: Content Performance Manager - ETL master
project-type: freestyle
description: "<p>Run the etl:master rake task.</p>"
builders:
- trigger-builds:
- project: run-rake-task
block: true
... | Use run-rake-task in content-performance-manager jobs | Use run-rake-task in content-performance-manager jobs
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
5ce4a403f31ed90545d3abf6b0bdf4d2c6bf7f19 | app/views/flag_log/index.html.erb | app/views/flag_log/index.html.erb | <h3>
Flag logs
<% if @individual_post.present? %>
for <%= link_to @individual_post.title, "/post/#{@individual_post.id}" %>
<% end %>
</h3>
<% if @individual_post.nil? %>
<%= line_chart FlagLog.group_by_day(:created_at, :range => 1.month.ago.to_date..Time.now).count %>
<% end %>
<table class="table">
<t... | <h3>
Flag logs
<% if @individual_post.present? %>
for <%= link_to @individual_post.title, "/post/#{@individual_post.id}" %>
<% end %>
</h3>
<% if @individual_post.nil? %>
<%= line_chart FlagLog.group_by_day(:created_at, :range => 1.month.ago.to_date..Time.now).count %>
<% end %>
<table class="table">
<t... | Move flag log error message to tooltip | Move flag log error message to tooltip
| HTML+ERB | cc0-1.0 | j-f1/forked-metasmoke,SulphurDioxide/metasmoke,angussidney/metasmoke,angussidney/metasmoke,angussidney/metasmoke,Charcoal-SE/metasmoke,angussidney/metasmoke,Charcoal-SE/metasmoke,SulphurDioxide/metasmoke,Charcoal-SE/metasmoke,SulphurDioxide/metasmoke,j-f1/forked-metasmoke,Charcoal-SE/metasmoke,j-f1/forked-metasmoke,j-f... |
712996b2274d9428753657e061583ac56d1629d9 | app/views/users/show.erb | app/views/users/show.erb | <h3><%= @user.first_name %>'s Account</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil, sed culpa animi dignissimos ab aspernatur ex quam aperiam quae ipsum impedit officiis, fugit, adipisci, delectus aliquam quod consequatur quo voluptatem.</p> | Add basic user profile view | Add basic user profile view
| HTML+ERB | mit | kenworthyc/weeker,kenworthyc/weeker | |
6e4901d48808a175b8d1b9eb920b22bb77dbb66f | app/views/questions/show.html.erb | app/views/questions/show.html.erb | <%= render @question %>
<%= render "votes/vote_count", :object => @question%>
<%= render "votes/questions_vote_form", :object => @question, :vote => @vote %>
<%= link_to "comment", new_question_response_path(@question) %>
<% if @question.responses %>
<%= render :partial => "responses/response", :collection => @questi... | <%= render @question %>
<%= render "votes/vote_count", :object => @question%>
<%= render "votes/vote_form", :object => @question, :vote => @vote %>
<%= link_to "comment", new_question_response_path(@question) %>
<% if @question.responses %>
<%= render :partial => "responses/response", :collection => @question.respons... | Update questions/show view with updated name of partial vote form | Update questions/show view with updated name of partial vote form
| HTML+ERB | mit | jeder28/stack_overphil,jeder28/stack_overphil,jeder28/stack_overphil |
a978ec2bbaee648d08421b3c2580487a3076e63e | app/views/questions/show.html.erb | app/views/questions/show.html.erb | <p>
<strong>Question:</strong><br />
<%= @question.title %>
</p>
<p>
<strong>* * *</strong><br />
<%= @question.content %>
</p>
<p>
<strong>Tags:</strong><br />
<%= raw @question.tag_list.map {|t| link_to t, tag_path(t) }.join(", ") %>
</p>
<ul>
<% if !@question.answers.empty? %>
<% @question.answers.each d... | <h4>
<%= @question.title %>
</h4>
<p>
<strong>* * *</strong><br />
<%= @question.content %>
</p>
<p>Asked by <%= @question.asker.name %></p>
<p><%= raw @question.tag_list.map {|t| link_to t, tag_path(t) }.join(", ") %></p>
<ul>
<% if !@question.answers.empty? %>
<% @question.answers.each do |answer| %>
... | Add name to question show page | Add name to question show page
| HTML+ERB | mit | DanFerrer/FlatironExchange,DanFerrer/FlatironExchange,DanFerrer/FlatironExchange |
a837a7718e85d5febd689a147659cf0e0cf9237a | app/views/sessions/new.iphone.erb | app/views/sessions/new.iphone.erb | <h1><a href="/">Expense</a></h1>
<%= form_tag(session_path, method: :post, id: "new_session") do %>
<label for="email">E-mail</label><br>
<%= text_field_tag :email %><br>
<br>
<label for="password">Password</label><br>
<%= password_field_tag %><br>
<br>
<button type="submit">Log In</button>
<% end %>
| <h1><a href="/">Expense</a></h1>
<%= form_tag(session_path, method: :post, id: "new_session") do %>
<label for="email">E-mail</label><br>
<input id="email" name="email" type="email" /><br>
<br>
<label for="password">Password</label><br>
<%= password_field_tag %><br>
<br>
<button type="submit">Log In</b... | Use an e-mail field for the iPhone. | Use an e-mail field for the iPhone.
| HTML+ERB | mit | tristandunn/expense,Stackato-Apps/expense,Stackato-Apps/expense |
fd316e2772343e49e970e05e5e2374af5ba4d648 | app/views/shared/_header.html.erb | app/views/shared/_header.html.erb | <header class="l-header" role="banner">
<div class="l-constrained">
<%= link_to root_path do %>
<%= image_tag("mas-logo.png", alt: 'the Money Advice Service', class: 'mas-logo') %>
<% end %>
<nav role="navigation" aria-label="primary">
<%= render 'shared/mobile_nav' %>
<%= render 'share... | <% if Feature.active?(:new_header) %>
<header class="l-header" role="banner">
<div class="l-constrained">
<%= link_to root_path do %>
<%= image_tag("mas-logo.png", alt: 'the Money Advice Service', class: 'mas-logo') %>
<% end %>
<nav role="navigation" aria-label="primary">
<%= ... | Add new search component to header inside feature flag | Add new search component to header inside feature flag | HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
676641c12f254e46220e1d336bf90ea2d02f4bc9 | templates/trac-project.conf.erb | templates/trac-project.conf.erb | ### THIS FILE IS MANAGED BY PUPPET. ANY MANUAL CHANGES WILL GET OVERWRITTEN.
# Apache2 Trac configuration, specific to a particular project.
WSGIScriptAlias /<%= @projectname %> /var/lib/projects/<%= @projectname %>/wsgi/<%= @projectname %>.wsgi
<Directory /var/lib/projects/<%= @projectname %>/wsgi>
WSGIApplicat... | ### THIS FILE IS MANAGED BY PUPPET. ANY MANUAL CHANGES WILL GET OVERWRITTEN.
# Apache2 Trac configuration, specific to a particular project.
WSGIScriptAlias /<%= @projectname %> /var/lib/projects/<%= @projectname %>/wsgi/<%= @projectname %>.wsgi
<Directory /var/lib/projects/<%= @projectname %>/wsgi>
WSGIApplicat... | Upgrade deprecated Apache2 authentication settings | Upgrade deprecated Apache2 authentication settings
Signed-off-by: Samuli Seppänen <be49b59234361de284476e9a2215fb6477f46673@openvpn.net>
| HTML+ERB | bsd-2-clause | Puppet-Finland/trac,Puppet-Finland/trac,Puppet-Finland/trac,Puppet-Finland/trac |
674bddf48fafae8508359c479b6987f65f4735fc | app/views/root/report_a_problem.raw.html.erb | app/views/root/report_a_problem.raw.html.erb | <!-- report_a_problem -->
<p class="report-a-problem-toggle"><a href="">Is something wrong with this page?</a></p>
<div class="report-a-problem-container">
<p>Help us improve GOV.UK by telling us:</p>
<form accept-charset="UTF-8" action="/feedback" method="post">
<div style="margin:0;padding:0;display:inline"><... | <!-- report_a_problem -->
<p class="report-a-problem-toggle"><a href="">Is something wrong with this page?</a></p>
<div class="report-a-problem-container">
<p>Help us improve GOV.UK by telling us:</p>
<form accept-charset="UTF-8" action="/feedback" method="post">
<div style="margin:0;padding:0;display:inline"><... | Change input submits to buttons | Change input submits to buttons
To allow CSS changes to work from:
alphagov/static#124
| HTML+ERB | mit | kalleth/static,robinwhittleton/static,robinwhittleton/static,kalleth/static,kalleth/static,alphagov/static,tadast/static,tadast/static,robinwhittleton/static,tadast/static,tadast/static,kalleth/static,alphagov/static,robinwhittleton/static,alphagov/static |
5c0326bbc8f017ade4916ee1223254fc89b0d929 | app/views/editor_articles_edit.erb | app/views/editor_articles_edit.erb | <% if article.error %>
<div class="alert alert-danger">
<%= article.error %>
</div>
<% end %>
<div class="page-header">
<div class="btn-group pull-right">
<form accept-charset="UTF-8" action="/editor/articles/<%= article.id %>" method="post">
<input type="hidden" name="_method" value="delete" />
... | <% if article.error %>
<div class="alert alert-danger">
<%= article.error %>
</div>
<% end %>
<div class="page-header">
<div class="btn-group pull-right">
<form accept-charset="UTF-8" action="/editor/articles/<%= article.id %>" method="post">
<input type="hidden" name="_method" value="delete" />
... | Add confirm prompt to delete | Add confirm prompt to delete
| HTML+ERB | mit | the-tangent/tangent,the-tangent/tangent |
54e87ffada3a4144675df75bbe5b219e077eae81 | app/views/layouts/_banner.html.erb | app/views/layouts/_banner.html.erb | <ul class="rslides">
<% @banners.each do |banner| %>
<% if banner.link.blank? %>
<li><%= image_tag( banner.imagem,size: "900x300", alt: "Imagem capa" )%></li>
<% else %>
<li><%= link_to image_tag( banner.imagem,size: "900x300", alt: "Imagem capa" ), banner.link, :title => banner.titulo, :target => "_blan... | <ul class="rslides">
<% @banners.each do |banner| %>
<% if banner.link.blank? %>
<li><%= image_tag( banner.imagem,size: "900x300", alt: banner.titulo )%></li>
<% else %>
<li><%= link_to image_tag( banner.imagem,size: "900x300", alt: banner.titulo ), banner.link, :title => banner.titulo, :target => "_blan... | Deploy de aplicação Ruby on Rails no Heroku | Deploy de aplicação Ruby on Rails no Heroku
| HTML+ERB | mit | gilcierweb/CMS-Rails,gilcierweb/CMS-Rails,gilcierweb/CMS-Rails |
2580b4769d95834893dfa7904a109083f3b50c70 | app/views/layouts/_navbar.html.erb | app/views/layouts/_navbar.html.erb | <nav class="navbar navbar-inverse">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-... | <nav class="navbar navbar-inverse">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-... | Add soundcloud button for login | Add soundcloud button for login
| HTML+ERB | mit | neslom/flack,neslom/flack,neslom/flack |
0c79fe6f2089fff72b8a4605e7adba2ddf354dac | app/views/questions/index.html.erb | app/views/questions/index.html.erb | <% @questions.each do |question| %>
<h2><%= question.question %></h2>
<% end %> | <% @questions.each do |question| %>
<h2><%= question.question %></h2>
<p><%= link_to 'Answers', question_path(question) %></p>
<% end %> | Add link to answers for questions | Add link to answers for questions
| HTML+ERB | mit | arseniy96/my_first_site,arseniy96/my_first_site,arseniy96/my_first_site |
e3797bdb2c36f88bdc2e1a6747768a7e16fb29b5 | app/views/assignments/show.html.erb | app/views/assignments/show.html.erb | <% @page_title = "Assignment: #{@assignment.name}" %>
<p>
<%= link_to "Back to Chapter: #{@chapter.name}", @chapter %>
<% if @logged_in_user.course_admin?(@course) %>
| <%= link_to 'Edit this Assignment', edit_assignment_path(@assignment) %>
<% end %>
</p>
<h1>Assignment Description</h1>
<div>
<%= raw @assig... | <% @page_title = "Assignment: #{@assignment.name}" %>
<p>
<%= link_to "Back to Chapter: #{@chapter.name}", @chapter %>
<% if @logged_in_user.course_admin?(@course) %>
| <%= link_to 'Edit this Assignment', edit_assignment_path(@assignment) %>
<% end %>
</p>
<h1>Assignment Description</h1>
<div>
<%= raw @assig... | Add user name to assignments list. | Add user name to assignments list.
| HTML+ERB | agpl-3.0 | marksherman/bottlenose,marksherman/bottlenose,marksherman/bottlenose,marksherman/bottlenose,marksherman/bottlenose,marksherman/bottlenose |
dabe7ee7a8b3c2611426214567cb16a6325184c0 | app/views/layouts/_sidebar.html.erb | app/views/layouts/_sidebar.html.erb | <div id="sidebar">
<ul>
<li>
<h2>Updates:</h2>
<ul>
<% render_posts(:limit => 5) do |post| %>
<li><%= link_to post.title, post.link %></li>
<% end %>
</ul>
</li>
<li>
<h2>Tags</h2>
... | <div id="sidebar">
<ul>
<li>
<h2>Updates:</h2>
<ul>
<% render_posts(:limit => 5) do |post| %>
<li><%= link_to post.title, post.link %></li>
<% end %>
</ul>
</li>
<li>
<h2>Tags</h2>
<ul>
<% render_tags do |tag| %>
<li><%= link_to "#{... | Add admin link to sidebar | Add admin link to sidebar
| HTML+ERB | mit | bjeanes/twibblr |
83debe6330b5cc88d02ce68d0bf6ca77f01f024f | app/views/packages/_readme.html.erb | app/views/packages/_readme.html.erb | <div class="panel panel-default cs-no-margin">
<div class="panel-heading">
<h4 class="cs-no-margin">
Readme
</h4>
</div>
<div class="panel-body">
<%
raw_html = render_markup \
@package.readme.cargo, \
@package.readme.file_name
%>
<%= CGI.unescapeHTML( raw_html ... | <div class="panel panel-default">
<div class="panel-heading">
<h4 class="cs-no-margin">
Readme
</h4>
</div>
<div class="panel-body">
<%
raw_html = render_markup \
@package.readme.cargo, \
@package.readme.file_name
%>
<%= CGI.unescapeHTML( raw_html ).html_safe ... | Add back margin to bottom of readme | Add back margin to bottom of readme | HTML+ERB | mit | djsegal/julia_observer,djsegal/julia_observer,djsegal/julia_observer |
e61424608785aeef6b42874cc2251c5acdf9e4f1 | app/views/users/_resources.html.erb | app/views/users/_resources.html.erb | <div class="scroll-container">
<% @resources.each do |resource| %>
<a href='/resources/<%= resource.id %>' class='dashboard-box-link'>
<div class="resource-block">
<div class="resource-post-image">
<% if resource.curriculum.nickname == "Rails" %>
<div>
<%= ima... | <div class="scroll-container">
<% @resources.each do |resource| %>
<a href='/resources/<%= resource.id %>' class='dashboard-box-link'>
<div class="resource-block">
<div class="resource-post-image">
<% if resource.curriculum.nickname == "Rails" %>
<div>
<%= ima... | Add truncate to dashboard resource description | Add truncate to dashboard resource description
| HTML+ERB | mit | The-Iron-Planet/forge,The-Iron-Planet/forge,The-Iron-Planet/forge |
c2c86fb981789640aa2f64f352df9af5ecdcd3b9 | app/views/votes/_vote_form.html.erb | app/views/votes/_vote_form.html.erb | <p>Vote on this <%= object.class.to_s.downcase %>:</p>
<table>
<tr>
<td>
<%= form_tag('/vote', :method=>'post') do %>
<%= hidden_field_tag "vote[value]", 1 %>
<%= hidden_field_tag "vote[votable_id]", object.id %>
<%= hidden_field_tag "vote[votable_type]", "#{object.class}" %>
... | <!-- <p>Vote on this <%= object.class.to_s.downcase %>:</p> -->
<table class="vote-table">
<tr>
<td>
<%= form_tag('/vote', :method=>'post') do %>
<%= hidden_field_tag "vote[value]", 1 %>
<%= hidden_field_tag "vote[votable_id]", object.id %>
<%= hidden_field_tag "vote[votable_type]", ... | Change table for styling and add tags | Change table for styling and add tags
| HTML+ERB | mit | jeder28/stack_overphil,jeder28/stack_overphil,jeder28/stack_overphil |
714663e146a8c2bd5bc38a0508d6aba7ed71437c | app/views/flyover_comments/comments/_comment.html.erb | app/views/flyover_comments/comments/_comment.html.erb | <div id="flyover_comment_<%= comment.id %>" class="flyover-comment">
<div class="flyover-comment-content">
<%= comment.content %>
</div>
<div class="flyover-comment-details">
By: <%= comment.commenter_name %> · <%= comment.created_at.strftime("%B %d, %Y %l:%M%P") %> · <%= edit_flyover_commen... | <div id="flyover_comment_<%= comment.id %>" class="flyover-comment">
<div class="flyover-comment-content">
<%= comment.content %>
</div>
<div class="flyover-comment-details">
By: <%= comment.commenter_name %> · <%= comment.created_at.strftime("%B %d, %Y %l:%M%P") %> · <%= edit_flyover_commen... | Move replies into comment partial to fix broken spec | Move replies into comment partial to fix broken spec
| HTML+ERB | mit | CultivateLabs/flyover_comments,FlyoverWorks/flyover_comments,FlyoverWorks/flyover_comments,CultivateLabs/flyover_comments,CultivateLabs/flyover_comments,FlyoverWorks/flyover_comments |
58b9a78a8f6bd7bbe92d1b88370a309543e6ebce | backend/app/views/spree/admin/shared/_header.html.erb | backend/app/views/spree/admin/shared/_header.html.erb | <% if content_for?(:page_title) || content_for?(:page_actions) %>
<div id="content-header" class="main-header" data-hook>
<% if content_for?(:page_title) %>
<h1 class="page-title"><%= yield :page_title %></h1>
<% end %>
<% if content_for?(:page_actions) %>
<ul class="header-actions page-actio... | <% if content_for?(:page_title) || content_for?(:page_actions) %>
<div id="content-header" class="main-header" data-hook>
<%= render_breadcrumbs %>
<% if content_for?(:page_actions) %>
<ul class="header-actions page-actions inline-menu" data-hook="toolbar">
<%= yield :page_actions %>
</ul... | Use new breadcrumbs in layout | Use new breadcrumbs in layout
This will make all breadcrumbs go away until we swap them over, but
otherwise this change will get lost in a hundred view changes.
| HTML+ERB | bsd-3-clause | jordan-brough/solidus,jordan-brough/solidus,pervino/solidus,Arpsara/solidus,Arpsara/solidus,pervino/solidus,Arpsara/solidus,Arpsara/solidus,pervino/solidus,jordan-brough/solidus,pervino/solidus,jordan-brough/solidus |
78a4174fb8a1894b635afd6f14e91438f3c59484 | app/views/adminpanel/form/_select.html.erb | app/views/adminpanel/form/_select.html.erb | <%
block = properties['options']
args = properties.except('options')
collection = block.call(f.object)
if collection.class.to_s.demodulize == 'ActiveRecord_Relation'
properties['id_method'] ||= :id
properties['name_method'] ||= :name
collection = options_from_collection_for_select(
... | <%
block = properties['options']
args = properties.except('options')
collection = block.call(f.object)
if collection.class.to_s.demodulize == 'ActiveRecord_Relation'
properties['id_method'] ||= :id
properties['name_method'] ||= :name
collection = options_from_collection_for_select(
... | Add selected value to be displayed on select | Add selected value to be displayed on select
| HTML+ERB | mit | codn/adminpanel,codn/adminpanel,codn/adminpanel |
d62e9f01ecdacafd3fd3c850a963a3c4e41cf6ff | TestApp/app/views/users/show.html.erb | TestApp/app/views/users/show.html.erb | <p id="notice"><%= notice %></p>
<p>
<strong>Name:</strong>
<span class="rest-in-place"
data-url=url_for([@user])
data-object="user"
data-attribute="name">
<%= @user.name %>
</span>
</p>
<p class="rest-in-place-slider">
<strong>Age:</strong>
<%= @user.age %>
</p>
<%= link_to 'Ed... | <p id="notice"><%= notice %></p>
<p>
<strong>Name:</strong>
<span class="rest-in-place"
data-url=<%= url_for(@user) %>
data-object="user"
data-attribute="name">
<%= @user.name %>
</span>
</p>
<p class="rest-in-place-slider">
<strong>Age:</strong>
<%= @user.age %>
</p>
<%= link_t... | Fix markup of default rip field in test app. | Fix markup of default rip field in test app.
| HTML+ERB | mit | bsingr/rest_in_place_bootstrap_slider,bsingr/rest_in_place_bootstrap_slider |
ac463359632d6491759613f93638ba28a47ef253 | app/views/tools/wget/wget_windows.html.erb | app/views/tools/wget/wget_windows.html.erb | <div class="page-header">
<h1>Install GNU Wget for Windows</h1>
<%= link_to 'Looking for a different operating system?', wget_path(choose: '1') %>
</div>
<div class="bs-callout bs-callout-danger">
<h4>Important</h4>
<p>
Requires Administrator Privileges!
</p>
</div>
<% wget_file = 'wget-1.11.4-1-bin.z... | <div class="page-header">
<h1>Install GNU Wget for Windows</h1>
<%= link_to 'Looking for a different operating system?', wget_path(choose: '1') %>
</div>
<div class="bs-callout bs-callout-danger">
<h4>Important</h4>
<p>
Requires Administrator Privileges!
</p>
</div>
<% wget_file = 'wget-1.11.4-1-setup.... | Set PATH environment variable for windows. | Set PATH environment variable for windows.
| HTML+ERB | mit | nsrr/www.sleepdata.org,nsrr/www.sleepdata.org,nsrr/www.sleepdata.org |
3d5f901e6d18e2adb75e34151b56c28301f36c9f | app/views/application/_messages.html.erb | app/views/application/_messages.html.erb | <% flash.each do |type, message| %>
<div class="alert alert-<%= type %>">
<a class="close" href="#">×</a>
<p><%= message %></p>
</div>
<% end %> | <% flash.each do |type, message| %>
<div class="alert alert-<%= type %> alert-block fade in flash-message">
<a class="close" data-dismiss="alert" href="#">×</a>
<p><%= message %></p>
</div>
<% end %> | Add ability to close an alert | Add ability to close an alert
| HTML+ERB | mit | BarCampGreenBay/barcampgb.com,BarCampGreenBay/barcampgb.com |
6fe61283360cbd72d4cf467909a3012779eaf1c7 | app/views/blogit/posts/_sidebar.html.erb | app/views/blogit/posts/_sidebar.html.erb | <div id="sidebar">
<nav>
<h2>Archive</h2>
<ul>
<% @posts_by_month.each do |month, posts| %>
<li><%= link_to month.strftime('%B %Y'), blog_posts_archives_path(month.year, month.month) %></li>
<% end %>
</ul>
<% if @tags.present? %>
<h2>Category</h2>
<ul>
<% @tag... | <div id="sidebar">
<nav>
<% if @recent_posts.present? %>
<h2>Recent Posts</h2>
<ul>
<% @recent_posts.each do |post| %>
<li><%= link_to post.title, post_path(post) %></li>
<% end %>
</ul>
<% end %>
<h2>Archive</h2>
<ul>
<% @posts_by_month.each do |mont... | Reorder sidebar sections into something more logical. | Reorder sidebar sections into something more logical.
| HTML+ERB | mit | tfe/blogit,tfe/blogit,tfe/blogit |
2376ec724e61999313cef158512a09475b377933 | app/views/people/_member_detail.html.erb | app/views/people/_member_detail.html.erb | <% person_members.each do |member| %>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">
<span class="fui-tag"> </span>
<%= member_heading(member) %>
<% if member.authority? %>
<span class="label label-success pull-right">Authority Member</span>
<% el... | <% person_members.each do |member| %>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">
<span class="fui-tag"> </span>
<%= member_heading(member) %>
<% if member.authority? %>
<span class="label label-success pull-right">Authority Member</span>
<% el... | Revert "policy sort on people show" | Revert "policy sort on people show"
This reverts commit 40d0f8106abebc38d32813b985006f6792615bf9.
| HTML+ERB | mit | dchbx/gluedb,dchbx/gluedb,dchbx/gluedb,dchbx/gluedb |
6ae6ad6cd5aaa4b8663d36c6fbfa79fb40f5deb4 | views/about.erb | views/about.erb | <style>
body {
font-family: 'Roboto', sans-serif;
font-size: 16px;
}
</style>
<div class="container">
<div class="col">
<div class="row">
<h2>Welcome</h2>
</div>
</div>
</div>
<div class="container">
<div class="col">
<div class="row">
<p>My name is Jordan I am an engineer current... | <style>
body {
font-family: 'Roboto', sans-serif;
font-size: 16px;
}
</style>
<div class="container">
<div class="col">
<div class="row">
<h2>Welcome</h2>
</div>
</div>
</div>
<table class="table">
<div class="container">
<div class="col">
<div class="row">
<p>My name is J... | Add table for aesthetic distinction | Add table for aesthetic distinction
| HTML+ERB | mit | JordanRushing/roda-sequel-puma-heroku-app,JordanRushing/roda-sequel-puma-heroku-app |
af5a73199a09ee8da2516d92be505da221a95f99 | app/assets/stylesheets/diffy.scss.erb | app/assets/stylesheets/diffy.scss.erb | <%= Diffy::CSS %>
.diff {
ul {
background: transparent;
}
}
| <%= Diffy::CSS %>
.diff {
$symbol-spacing: 1.5em;
del {
text-decoration: line-through;
}
ul {
background: transparent;
padding-left: $symbol-spacing;
}
span.symbol {
display: inline-block;
margin-left: -$symbol-spacing;
width: $symbol-spacing;
font-weight: bold;
}
}
| Improve diffing UI based on user feedback | Improve diffing UI based on user feedback
The results from the content design survey weren't totally conclusive but the
eventual winner was "+/- at the start of the rows with a strike through for
deletions".
The only point of confusion around this option was the +/- sit a little too
close to the rest of the body copy... | HTML+ERB | mit | alphagov/service-manual-publisher,alphagov/service-manual-publisher,alphagov/service-manual-publisher |
565b3d6b551cfee29aaf387233dd4df09d4fada1 | app/views/meetings/_form.html.erb | app/views/meetings/_form.html.erb | <%= form_for(@meeting) do |f| %>
<% if @meeting.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@meeting.errors.count, "error") %> prohibited this meeting from being saved:</h2>
<ul>
<% @meeting.errors.full_messages.each do |message| %>
<li><%= message %></li>
<% end... | <%= form_for(@meeting) do |f| %>
<% if @meeting.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@meeting.errors.count, "error") %> prohibited this meeting from being saved:</h2>
<ul>
<% @meeting.errors.full_messages.each do |message| %>
<li><%= message %></li>
<% end... | Add class to submit button to make it green like the other buttons | Add class to submit button to make it green like the other buttons
| HTML+ERB | unlicense | danascheider/testrubypdx,danascheider/testrubypdx,danascheider/testrubypdx |
ba42c2ca74a2f090a5b93b9a12052ef2fe1f5a8b | app/views/questions/edit.html.erb | app/views/questions/edit.html.erb | <% content_for :title, "Editing '#{@question.title.truncate(50)}'" %>
<h3>Edit Question</h3>
<%= render 'form', is_edit: true %>
<% if SiteSetting['AskingGuidance'] %>
<% content_for :sidebar do %>
<div class="module">
<h4 class="module__title">Hints and Tips</h4>
<div class="module__content">
... | <% content_for :title, "Editing '#{@question.title.truncate(50)}'" %>
<h3>Edit Question</h3>
<%= render 'posts/image_upload' %>
<%= render 'form', is_edit: true %>
<% if SiteSetting['AskingGuidance'] %>
<% content_for :sidebar do %>
<div class="module">
<h4 class="module__title">Hints and Tips</h4>
... | Add image upload to question edit | Add image upload to question edit
| HTML+ERB | agpl-3.0 | ArtOfCode-/qpixel,ArtOfCode-/qpixel,ArtOfCode-/qpixel,ArtOfCode-/qpixel |
ec6ef413f4bb0e426a99741f215919b938abc35b | app/views/sections/index.html.erb | app/views/sections/index.html.erb | <% content_for :head do %>
<link rel='alternate' type='application/json' href='<%= sections_url(format: :json) %>' title='Section list in JSON format' />
<% end %>
<h2 class="heading-small">All sections</h2>
<section class="sections">
<table class="tariff-table">
<thead>
<tr>
<th scope="col">Sec... | <% content_for :head do %>
<link rel='alternate' type='application/json' href='<%= sections_url(format: :json) %>' title='Section list in JSON format' />
<% end %>
<h2 class="heading-small">All sections</h2>
<section class="sections">
<table class="tariff-table">
<thead>
<tr>
<th scope="col">Sec... | Add beta flag on pdf download | Add beta flag on pdf download | HTML+ERB | mit | bitzesty/trade-tariff-frontend,bitzesty/trade-tariff-frontend,bitzesty/trade-tariff-frontend,bitzesty/trade-tariff-frontend |
78bd2a2d40f9e7e20522d214c37811ba12addc61 | lib/domgen/imit/templates/client/model_module.xml.erb | lib/domgen/imit/templates/client/model_module.xml.erb | <?xml version="1.0" encoding="UTF-8"?>
<module>
<inherits name='org.realityforge.gwt.datatypes.Datatypes'/>
<inherits name="com.google.gwt.json.JSON"/>
<inherits name="org.realityforge.replicant.Replicant"/>
<source path='client'/>
<source path='shared'/>
</module>
| <?xml version="1.0" encoding="UTF-8"?>
<module>
<inherits name='org.realityforge.gwt.datatypes.Datatypes'/>
<inherits name="com.google.gwt.json.JSON"/>
<inherits name="org.realityforge.replicant.Replicant"/>
<%
packages =
[
repository.gwt.client_data_type_package,
repository.gwt.client_event_package,
... | Use more restrictive include paths | Use more restrictive include paths
| HTML+ERB | apache-2.0 | realityforge/domgen,icaughley/domgen,icaughley/domgen,realityforge/domgen |
7b0a6c2d7e1e4853ad5036629c26509f543fb80b | app/views/events/user_events.html.erb | app/views/events/user_events.html.erb | <h2>My Events</h2>
<h3>Upcoming Events</h3>
<ul>
<% @upcoming_events.each do |event| %>
<li><%= link_to event.name, event%></li>
<% end %>
</ul>
<h3>Past Events</h3>
<ul>
<% @past_events.each do |event| %>
<li><%= link_to event.name, event%></li>
<% end %>
</ul>
<%= link_to "Create New Event", new_even... | <h2>My Events</h2>
<h3>Upcoming Events</h3>
<ul>
<% @upcoming_events.each do |event| %>
<li><%= link_to event.name, event%></li>
<% end %>
</ul>
<h3>Past Events</h3>
<ul>
<% @past_events.each do |event| %>
<li><%= link_to event.name, event%></li>
<% end %>
</ul>
<%= link_to "Create New Event", new_even... | Update user events view to reflect controller refactoring | Update user events view to reflect controller refactoring
| HTML+ERB | mit | mud-turtles-2014/palate,mud-turtles-2014/palate |
3e1612ef4c01e8292eecb5d13938e66ff1cfe624 | app/views/organisations/news.html.erb | app/views/organisations/news.html.erb | <% page_title "#{@organisation.name} News" %>
<div class="g3f organisation">
<%= render 'header', organisation: @organisation, title: "#{@organisation.name} News" %>
<div class="g3" style="margin-top: 1.5em">
<% if @news_articles.any? %>
<% @news_articles.each do |news_article| %>
<%= render part... | <% page_title "#{@organisation.name} News" %>
<div class="g3f organisation">
<%= render 'header', organisation: @organisation, title: "#{@organisation.name} News" %>
<div class="g3 page_detail">
<% if @news_articles.any? %>
<% @news_articles.each do |news_article| %>
<%= render partial: "announce... | Use an existing class rather than a style. | Use an existing class rather than a style.
| HTML+ERB | mit | alphagov/whitehall,alphagov/whitehall,YOTOV-LIMITED/whitehall,askl56/whitehall,robinwhittleton/whitehall,ggoral/whitehall,askl56/whitehall,hotvulcan/whitehall,YOTOV-LIMITED/whitehall,alphagov/whitehall,askl56/whitehall,ggoral/whitehall,hotvulcan/whitehall,hotvulcan/whitehall,YOTOV-LIMITED/whitehall,alphagov/whitehall,g... |
27d797cec0072b5de3cda557edd99a4da81508f2 | modules/rkhunter/templates/rkhunter-passive-check.erb | modules/rkhunter/templates/rkhunter-passive-check.erb | #!/bin/bash
. /etc/default/rkhunter
OUTPUT=`/usr/bin/nice -n 19 /usr/bin/rkhunter --cronjob --report-warnings-only`
if [ "$OUTPUT" == "" ]; then
OUTPUT="No warnings found"
fi
CODE=$?
# Force everything that isn't OK to be a WARNING
if [ $CODE -gt 0 ]; then
CODE=1
fi
printf "<%= @fqdn %>\trkhunter warnings\t$CODE\t$... | #!/bin/bash
. /etc/default/rkhunter
OUTPUT=`/usr/bin/nice -n 19 /usr/bin/rkhunter --cronjob --report-warnings-only`
CODE=$?
if [ "$OUTPUT" == "" ]; then
OUTPUT="No warnings found"
fi
# Force everything that isn't OK to be a WARNING
if [ $CODE -gt 0 ]; then
CODE=1
fi
printf "<%= @fqdn %>\trkhunter warnings\t$CODE\t$... | Fix exit code check for rkhunter passive alert | Fix exit code check for rkhunter passive alert
The variable `$CODE` was being assigned later than it should have
been to check the result of the rkhunter run.
This means that we ended up in the state where rkhunter exited with
a non-zero exit code because it found something which it considered
a warning, but the Icin... | HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
3699768aae6915032bde1589c72db1fe644728cf | app/views/books/_book_info.html.erb | app/views/books/_book_info.html.erb | <div id="book-info">
<div class="container">
<small>Livro selecionado</small>
<h2 class="book-title"><%= @book.title %></h2>
</div>
<nav class="book-nav" role="navigation">
<div class="container">
<ul>
<li><%= link_to 'Visão geral', book_path(@book.uuid) %></li>
<li><%= link_to '... | <div id="book-info">
<div class="container">
<small>Livro selecionado</small>
<h2 class="book-title"><%= @book.title %></h2>
</div>
<nav class="book-nav" role="navigation">
<div class="container">
<ul>
<li><%= link_to 'Visão geral', book_path(@book.uuid) %></li>
<li><%= link_to '... | Add PDF to book menu | Add PDF to book menu
| HTML+ERB | mit | hedra-digital/livro-da-classe,hedra-digital/livro-da-classe,hedra-digital/livro-da-classe,hedra-digital/livro-da-classe,hedra-digital/livro-da-classe,hedra-digital/livro-da-classe |
f2691476c677ad33d14a6b65f3dc94b3ece5f689 | app/views/parcels/_summary.html.erb | app/views/parcels/_summary.html.erb | <div class="row">
<% if @reviewer %>
<div class="col-md-4">
<%= link_to "Review", new_parcel_review_path(parcel) %>
</div class="col-md-4">
<% else %>
<div class="col-md-1"><%= button_to 'details', parcel_path(parcel), method: 'get'%></div>
<div class="col-md-1"><%= button_to 'match', parcel_t... | <div class="row">
<% if @reviewer %>
<div class="col-md-4">
<%= link_to "Review", new_parcel_review_path(parcel) %>
</div class="col-md-4">
<% else %>
<div class="col-md-1"><%= button_to 'details', parcel_path(parcel), method: 'get'%></div>
<div class="col-md-1"><%= button_to 'match', parcel_t... | Add review driver link to parcels summary on user profile | Add review driver link to parcels summary on user profile
| HTML+ERB | mit | grantziolkowski/caravan,bicyclethief/caravan,nyc-rock-doves-2015/caravan,nyc-rock-doves-2015/caravan,bicyclethief/caravan,grantziolkowski/caravan,grantziolkowski/caravan,bicyclethief/caravan,nyc-rock-doves-2015/caravan |
3ac68ab8a26a163fe5c387666af345c7c5240ac1 | app/views/results/student/_remark_request_form.html.erb | app/views/results/student/_remark_request_form.html.erb | <div id='remark_request_edit'>
<%= form_for submission,
url: { controller: 'results',
action: 'update_remark_request',
id: submission.id,
assignment_id: assignment.id },
html: { method: :get },
remote: true ... | <div id='remark_request_edit'>
<%= form_for submission,
url: { controller: 'results',
action: 'update_remark_request',
id: submission.id,
assignment_id: assignment.id },
html: { method: :get },
remote: true ... | Remove save button from remark request | Remove save button from remark request
| HTML+ERB | mit | MarkUsProject/Markus,Lysette/Markus,david-yz-liu/Markus,binuri/Markus,jeremygoh/Markus,ealonas/Markus,WilsonChiang/Markus,jeremygoh/Markus,melneubert/Markus,ealonas/Markus,david-yz-liu/Markus,wkwan/Markus,ealonas/Markus,benjaminvialle/Markus,Lysette/Markus,binuri/Markus,Lysette/Markus,binuri/Markus,wkwan/Markus,benjami... |
41b3cfbc2513979aaaf8e559c1f0f4c2ea736766 | app/views/articles/show.html.erb | app/views/articles/show.html.erb | <h1><%= @article.title %></h1>
<p><%= @article.text %></p> | <h1><%= @article.title %></h1>
<p><%= @article.text %></p>
<h2>Comments:</h2>
<% @article.comments.each do |comment| %>
<p><%= comment.text %></p>
<hr/>
<% end %>
<br/>
<h2>Write a comment:</h2>
<%= form_for ([@article, @article.comments.build]) do |f| %>
<p>
<%= f.label :text %><br/>
<%= f.tex... | Add display of comments and an opportunity to write comments | Add display of comments and an opportunity to write comments
| HTML+ERB | mit | arseniy96/my_first_site,arseniy96/my_first_site,arseniy96/my_first_site |
3cbed8ea9dceab7092a54513a5d4a972028fda78 | app/views/products/edit.html.erb | app/views/products/edit.html.erb | <%= render layout: 'products/breadcrumbs' do %>
<li><%= link_to @product.title, product_path(@product.name, type: @type) %></li>
<li class="active">Edit</li>
<% end %>
<div class="page-header">
<h2>
<%= @product.name %>
</h2>
</div>
<%= bootstrap_form_for(@product, as: :product, url: product_path(@product... | <%= render layout: 'products/breadcrumbs' do %>
<li><%= link_to @product.title, product_path(@product.name, type: @type) %></li>
<li class="active">Edit</li>
<% end %>
<div class="page-header">
<h2>
<%= @product.name %>
</h2>
</div>
<%= bootstrap_form_for(@product, as: :product, url: product_path(@product... | Change button to say Save instead of Submit | Change button to say Save instead of Submit
| HTML+ERB | mit | OSC/ood-dashboard,OSC/ood-dashboard,OSC/ood-dashboard |
24e05a1f0da45f119f6cad818a073e1a18f66da7 | app/views/snippets/show.html.erb | app/views/snippets/show.html.erb | <%= @snippet.content.html_safe %>
<%= @snippet.user.username if @snippet.user %>
<ul>
<% @stories.each do |story| %>
<li><%= link_to story.title, "/" %></li>
<!-- Must change url to story path once story path is complete -->
<% end %>
</ul>
| <%= @snippet.content.html_safe %>
<%= @snippet.user.username if @snippet.user %>
<%=link_to "Submit a story for this snippet", new_story_path(snippet_id: @snippet.id) %>
<ul>
<% if @stories.count != 0 %>
<% @stories.each do |story| %>
<li><%= link_to story.title, story_path(story) %></li>
<% end %>
<%... | Add link to submit a story for snippet | Add link to submit a story for snippet
| HTML+ERB | mit | pearlshin/StoryVine,mxngyn/StoryVine,SputterPuttRedux/storyvine_clone,pearlshin/StoryVine,pearlshin/StoryVine,mxngyn/StoryVine,mxngyn/StoryVine,SputterPuttRedux/storyvine_clone,SputterPuttRedux/storyvine_clone |
2739c8e4fe009f15720337fd1ea10faae5368f78 | lib/app/views/submissions/toolbar.erb | lib/app/views/submissions/toolbar.erb | <div class="pull-right submission-toolbar hidden-xs">
<div class="btn-group">
<%= erb :"submissions/user_actions", locals: { submission: submission } %>
<% if current_user.owns?(submission) %>
<a
href="https://twitter.com/intent/tweet?text=I just submitted the <%= submission.track_id %> <%= su... | <div class="pull-right submission-toolbar hidden-xs">
<div class="btn-group">
<%= erb :"submissions/user_actions", locals: { submission: submission } %>
<% if current_user.owns?(submission) %>
<a
href="https://twitter.com/intent/tweet?text=I just submitted the <%= submission.track_id %> <%= su... | Use problem slug rather than relying on related exercise | Use problem slug rather than relying on related exercise
| HTML+ERB | agpl-3.0 | chastell/exercism.io,hanumakanthvvn/exercism.io,copiousfreetime/exercism.io,IanDCarroll/exercism.io,mhelmetag/exercism.io,bmulvihill/exercism.io,kizerxl/exercism.io,beni55/exercism.io,k4rtik/exercism.io,tejasbubane/exercism.io,RaptorRCX/exercism.io,bmulvihill/exercism.io,hanumakanthvvn/exercism.io,alexclarkofficial/exe... |
1c3cb4434cfdeff28f7c793fa2285dbca787c5e9 | app/views/pages/internal_server_error.html.erb | app/views/pages/internal_server_error.html.erb | <% @masthead_title = "Server Error" %>
<div class="container-fluid">
<div class="col-xs-12 col-md-10">
<h2>The application encountered an error trying to process your reqeust</h2>
<p>Please try your request again later, or perform a new search to find the item you're looking for.
If the problem continues,... | <% @masthead_title = "Server Error" %>
<div class="container-fluid">
<div class="col-xs-12 col-md-10">
<h2>The application encountered an error trying to process your request</h2>
<p>Please try your request again later, or perform a new search to find the item you're looking for.
If the problem continues,... | Fix a typo in the error page | Fix a typo in the error page
fixes #756
| HTML+ERB | apache-2.0 | pulibrary/pomegranate,pulibrary/pomegranate,pulibrary/pomegranate,pulibrary/pomegranate |
027e766ce8451f72252ba32ce42cc6cf8e09b541 | app/views/policies/_document_metadata.html.erb | app/views/policies/_document_metadata.html.erb | <div class="meta-topic">
<p>Part of <%= list_of_links_to_topics(@document.topics) %>.</p>
<% if @document.respond_to?(:countries) && @document.countries.any? %>
<p id="document_countries">Applies to <%= list_of_links_to_countries(@document.countries) %>.</p>
<% end %>
<% if @document.nation_inapplicabilities.... | <div class="meta-topic">
<p>Part of <%= list_of_links_to_topics(@document.topics) %>.</p>
<% if @document.respond_to?(:countries) && @document.countries.any? %>
<p id="document_countries">Applies to <%= list_of_links_to_countries(@document.countries) %>.</p>
<% end %>
<% if @document.nation_inapplicabilities.... | Use guidance style change notes on policy pages. | Use guidance style change notes on policy pages.
Use the date-heading style of change notes that has been used on
guidance pages as it is simpler to understand and cleaner.
| HTML+ERB | mit | askl56/whitehall,ggoral/whitehall,robinwhittleton/whitehall,robinwhittleton/whitehall,hotvulcan/whitehall,robinwhittleton/whitehall,alphagov/whitehall,robinwhittleton/whitehall,alphagov/whitehall,YOTOV-LIMITED/whitehall,hotvulcan/whitehall,askl56/whitehall,askl56/whitehall,ggoral/whitehall,ggoral/whitehall,YOTOV-LIMITE... |
79427cbc3bbeca322e0484a954f791ae5ea259c5 | test/dummy/app/views/welcome/index.html.erb | test/dummy/app/views/welcome/index.html.erb | <p>
We’ve developed a beautiful widget for the web.
<input type="hidden" role="uploadcare-uploader" />
It can do everything from drag-and-drop to selecting photos from various social networking sites like Facebook.
<input type="hidden" role="uploadcare-uploader" data-tabs="url file" />
</p>
<p>
Draggable:<br>
<img src=... | <p>
We’ve developed a beautiful widget for the web.
<input type="hidden" role="uploadcare-uploader" />
It can do everything from drag-and-drop to selecting photos from various social networking sites like Facebook.
<input type="hidden" role="uploadcare-uploader" data-tabs="facebook file url" />
</p>
<p>
Draggable:<br>
... | Reorder test widget tabs for great good | Reorder test widget tabs for great good
| HTML+ERB | bsd-2-clause | prognostikos/uploadcare-widget,toscale/uploadcare-widget,BIGWOO/uploadcare-widget,BIGWOO/uploadcare-widget,uploadcare/uploadcare-widget,BIGWOO/uploadcare-widget,toscale/uploadcare-widget,prognostikos/uploadcare-widget,uploadcare/uploadcare-widget,toscale/uploadcare-widget,prognostikos/uploadcare-widget |
1119b31e73c5414847e35f3b2c33c685a5dce22b | app/views/coronavirus_landing_page/components/landing_page/_nhs_notice.html.erb | app/views/coronavirus_landing_page/components/landing_page/_nhs_notice.html.erb | <div class="govuk-grid-row">
<div class="govuk-grid-column-one-third">
<div class="covid__nhs-notice__logo">
<%= render "govuk_publishing_components/components/organisation_logo", {
organisation: {
name: "nhs",
url: "https://www.nhs.uk/",
image: {
url: image... | <div class="govuk-grid-row">
<div class="govuk-grid-column-one-third">
<div class="covid__nhs-notice__logo">
<%= render "govuk_publishing_components/components/organisation_logo", {
organisation: {
name: "nhs",
url: "https://www.nhs.uk/",
image: {
url: image... | Allow links in NHS section | Allow links in NHS section
This change allows the addition of links in the NHS section. These
links are not H3 elements, but are styled as though they are so as
not to interfere with the overall page design.
This improves the user experience by allowing simple, clean copy to
be created that has a single link to the d... | HTML+ERB | mit | alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections |
9601d488f733d1d6a288be8cc7632265dee197c3 | app/views/discussion_boards/_discussion_board.html.erb | app/views/discussion_boards/_discussion_board.html.erb | <div class="discussion-board-information">
<%= render :partial => 'shared/welcome_navigation', :locals => { :club => discussion_board.club } %>
<h1 class="discussion-board-name">
<%= best_in_place_if can?(:update, discussion_board), discussion_board, :name, :type => :input, :html_attrs => { :rows => '1' } %>
... | <div class="discussion-board-information">
<%= render :partial => 'shared/welcome_navigation', :locals => { :club => discussion_board.club } %>
<h1 id="discussion_board_name" class="discussion-board-name" data-mercury="simple"><%= discussion_board.name %></h1>
<p id="discussion_board_description" ... | Update Discussion Board View for Mercury | Update Discussion Board View for Mercury
Update the Discussion Board view to include the required classes for the
Mercury edit.
| HTML+ERB | mit | jekhokie/IfSimply,jekhokie/IfSimply,jekhokie/IfSimply |
6e3beccbe87fbd02447e26a0fa748f6bfda25558 | app/views/smart_answers/_smartanswer_metadata.html.erb | app/views/smart_answers/_smartanswer_metadata.html.erb | <div id="report-a-problem"></div>
<div class="meta-data group">
<div class="inner">
<div class="print-and-modified-date group">
<p class="modified-date">Last updated: <%= last_updated_date.strftime('%e %B %Y') %></p>
</div>
</div>
</div>
| <p class="report-a-problem-toggle js-footer"><a href="">Is there anything wrong with this page?</a></p>
<div class="report-a-problem-container">
<h2>Help us improve GOV.UK by telling us:</h2>
<form accept-charset="UTF-8" action="/feedback" method="post">
<div style="margin:0;padding:0;display:inline"><input nam... | Add report a problem form | Add report a problem form
| HTML+ERB | mit | lutgendorff/smart-answers,alphagov/smart-answers,askl56/smart-answers,lutgendorff/smart-answers,tadast/smart-answers,alphagov/smart-answers,stwalsh/smart-answers,alphagov/smart-answers,askl56/smart-answers,tadast/smart-answers,askl56/smart-answers,aledelcueto/smart-answers,tadast/smart-answers,keithiopia/smart-answers,... |
82c3195b8124f9211238a54918b519fc18f22b56 | app/views/help/irc.en.html.erb | app/views/help/irc.en.html.erb | <div class="help">
<h1>Help: IRC</h1>
<div class="section">
<p>IRC is the best way to contact the creator. The official Danbooru IRC channel is at irc.synirc.net/miezaru-illuminati. Ask for rq. However Moe's IRC channel is located at irc.rizon.net/moe-imouto</p>
</div>
</div>
<% content_for :subnavbar do %>... | <div class="help">
<h1>Help: IRC</h1>
<div class="section">
<p>IRC is the best way to contact the creator. yande.re's IRC channel is located at irc.rizon.net/moe-imouto</p>
</div>
</div>
<% content_for :subnavbar do %>
<li><%= link_to "Help", :action => "index" %></li>
<% end %>
| Fix wording in `Help: IRC`. | Fix wording in `Help: IRC`.
| HTML+ERB | isc | nanaya/moebooru,nanaya/moebooru,nanaya/moebooru,moebooru/moebooru,moebooru/moebooru,moebooru/moebooru,moebooru/moebooru,euank/moebooru-thin,euank/moebooru-thin,euank/moebooru-thin,moebooru/moebooru,euank/moebooru-thin,nanaya/moebooru,nanaya/moebooru,euank/moebooru-thin |
d79db8365b50684a19ddab21f751753e4b2c70d5 | app/views/shared/_nav.html.erb | app/views/shared/_nav.html.erb | <div class="pure-menu pure-menu-open pure-menu-horizontal">
<%= link_to 'Home',
root_path,
{ class: 'pure-menu-heading', id: 'homepage_link' }
%>
<ul>
<% if user_signed_in? %>
<li>
<%= link_to 'My profile', user_path(current_user),
{ class: 'pure-menu-selec... | <div class="pure-menu pure-menu-open pure-menu-horizontal">
<ul>
<li>
<strong>
<%= link_to 'uploadstuffto.me',
root_path,
{ class: 'pure-menu-selected', id: 'homepage_link' }
%>
</strong>
</li>
<% if user_signed_in? %>
<li>
... | Change wording of main home button and give hover effect | Change wording of main home button and give hover effect
| HTML+ERB | mit | Margatroid/uploadstuffto.me,Margatroid/uploadstuffto.me |
66325dcfda880a57ca64b71d3bca4bc11357af75 | views/app.erb | views/app.erb | <div class="row">
<div class="small-12 medium-4 medium-offset-4 columns">
<div id="app"></div>
</div>
</div>
<script type="text/javascript">
if (NoFrillsSleepTracker.isLocalStorageSupported()) {
var userId = document.location.pathname.substring(4);
var params = document.location.search.
... | <div class="row">
<div class="small-12 medium-4 medium-offset-4 columns">
<div id="app"></div>
</div>
</div>
<script type="text/javascript">
if (NoFrillsSleepTracker.isLocalStorageSupported()) {
var userId = document.location.pathname.substring(4);
var params = document.location.search.
... | Fix timezone was never stored in localStorage | Fix timezone was never stored in localStorage
| HTML+ERB | bsd-2-clause | francois/nofrills-sleep-tracker,francois/nofrills-sleep-tracker,francois/nofrills-sleep-tracker |
95e764894af851b4a2d6241494942a21e7229f48 | lib/smart_answer_flows/marriage-abroad/outcomes/countries/ecuador/ceremony_country/partner_other/_same_sex.erb | lib/smart_answer_flows/marriage-abroad/outcomes/countries/ecuador/ceremony_country/partner_other/_same_sex.erb | Same-sex partnerships in Ecuador are known as ‘union de hecho’.
Contact the relevant local authorities in Ecuador to find out about local laws, including what documents you’ll need.
##What you need to do
You’ll be asked for an affirmation or affidavit document to prove that you’re allowed to enter into this partners... | Contact the relevant local authorities in Ecuador to find out about local laws, including what documents you’ll need.
##What you need to do
You’ll be asked for an affirmation or affidavit document to prove that you’re allowed to marry.
To swear an affirmation or affidavit, [make an appointment at the British Embassy... | Replace 'civil partnership' with 'marry' | Replace 'civil partnership' with 'marry'
Replacing reference to civil partnership with marry across all Ecuador same sex outcomes | HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
13174e0a3a74b31a118d15a46c00b62feedce719 | templates/vhost/vhost_location_alias.erb | templates/vhost/vhost_location_alias.erb | location <%= location %> {
<% if @location_cfg_prepend -%<% location_cfg_prepend.each do |key,value| -%>
<%= key %> <%= value %>;
<% end -%><% end -%>
alias <%= location_alias %>;
<% if @location_cfg_append -%><% location_cfg_append.each do |key,value| -%>
<%= key %> <%= value %>;
<% end -%><% end -%>
... | location <%= location %> {
<% if @location_cfg_prepend -%><% location_cfg_prepend.each do |key,value| -%>
<%= key %> <%= value %>;
<% end -%><% end -%>
alias <%= location_alias %>;
<% if @location_cfg_append -%><% location_cfg_append.each do |key,value| -%>
<%= key %> <%= value %>;
<% end -%><% end -%>
... | Fix syntax error in ERB template | Fix syntax error in ERB template
| HTML+ERB | mit | Jimdo/puppet-nginx,syscollective/puppet-nginx,erikanderson/puppet-nginx,danieldreier/puppet-nginx,apa-it/puppet-nginx,teran/puppet-nginx,danieldreier/puppet-nginx,sanoma-technology/puppet-nginx,jfryman/puppet-nginx,xaque208/puppet-nginx,ResignationMedia/puppet-nginx,jd-daniels/puppet-nginx,voxpupuli/puppet-nginx,xaque2... |
6976b1742444f791dc9476253f9e5ec2da757014 | templates/default/apache.conf.erb | templates/default/apache.conf.erb | <VirtualHost *:80>
ServerName "graphite"
ProxyPass / http://localhost:<%= node['graphite']['uwsgi']['port'] %>/
ProxyPassReverse / http://localhost:<%= node['graphite']['uwsgi']['port'] %>/
<Location />
Order allow,deny
Allow from all
</Location>
</VirtualHost... | Add untested apache example template | Add untested apache example template
This is not really intended to be used directly but as a starting point
for those developing wrapper cookbooks.
| HTML+ERB | apache-2.0 | mbabic/graphite,mbabic/graphite,bitmonk/chef-graphite,diegobill/graphite,mbabic/graphite,hw-cookbooks/graphite,bitmonk/chef-graphite,tas50/graphite,tas50/graphite,hw-cookbooks/graphite,bitmonk/chef-graphite,hw-cookbooks/graphite,tas50/graphite,diegobill/graphite,diegobill/graphite | |
a07fac32fea8dfa44affde48e09ccc236970d623 | templates/freebsd/chef-client.erb | templates/freebsd/chef-client.erb | #!/bin/sh
# PROVIDE: chef
# REQUIRE: LOGIN
# KEYWORD: shutdown
. /etc/rc.subr
name="chef"
pidfile="<%= node["chef_client"]["run_path"] %>/${name}.pid"
command="<%= @client_bin %>"
command_interpreter="<%= RbConfig.ruby %>"
command_args="-i <%= node["chef_client"]["interval"] %> -s <%= node["chef_client"]["splay"] %>... | #!/bin/sh
# PROVIDE: chef
# REQUIRE: LOGIN
# KEYWORD: shutdown
. /etc/rc.subr
name="chef"
pidfile="<%= node["chef_client"]["run_path"] %>/${name}.pid"
command="<%= @client_bin %>"
command_interpreter="<%= RbConfig.ruby %>"
command_args="-i <%= node["chef_client"]["interval"] %> -s <%= node["chef_client"]["splay"] %>... | Remove duplication from rc.d script template for FreeBSD | Remove duplication from rc.d script template for FreeBSD
| HTML+ERB | apache-2.0 | scalp42/chef-client,scalp42/chef-client,opscode-cookbooks/chef-client,mattray/chef-client,mattray/chef-client,juliandunn/chef-client,mattray/chef-client,juliandunn/chef-client,chef-cookbooks/chef-client,juliandunn/chef-client,opscode-cookbooks/chef-client,chef-cookbooks/chef-client,scalp42/chef-client,opscode-cookbooks... |
d268a803226023f50a01011ca81528c91e36f22b | app/views/coronavirus_landing_page/components/shared/_accordion_sections.html.erb | app/views/coronavirus_landing_page/components/shared/_accordion_sections.html.erb | <%
heading ||= false
country_guidance ||= false
accordion_contents = []
number_of_accordion_sections = accordions.length
%>
<% accordions.each do | section | %>
<% content = capture do %>
<%# this element captures an override from the accordion that the last item has margin 0 %>
<div class="covid__acc... | <%
heading ||= false
country_guidance ||= false
accordion_contents = []
number_of_accordion_sections = accordions.length
%>
<% accordions.each do | section | %>
<% content = capture do %>
<%# this element captures an override from the accordion that the last item has margin 0 %>
<div class="covid__acc... | Tweak alignment of accordion title | Tweak alignment of accordion title
| HTML+ERB | mit | alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections |
8927b1bf119bf5c2a23f6c738030e037aba5770f | app/views/devise/sessions/new.html.erb | app/views/devise/sessions/new.html.erb | <div class="authform">
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => { :role => 'form'}) do |f| %>
<h3>Sign in</h3>
<%= devise_error_messages! %>
<div class="form-group">
<%- if devise_mapping.registerable? %>
<%= link_to 'Sign up', new_registrati... | <div class="authform">
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => { :role => 'form'}) do |f| %>
<h3>Sign in</h3>
<%= devise_error_messages! %>
<div class="form-group">
<%- if devise_mapping.registerable? %>
<%= link_to 'Sign up', new_registrati... | Fix tab bug in sign in | Fix tab bug in sign in
| HTML+ERB | mit | fantasygame/campaigns,fantasygame/campaigns,fantasygame/campaigns |
7a2371f8db22d5408816f3273f30fce4c2b2719b | app/views/documentation/index.html.erb | app/views/documentation/index.html.erb | <% content_for :breadcrumb do %>
<li><%= link_to "Home", root_path %></li>
<li class="active">Documentation</li>
<% end %>
<div class'row'>
<h3>How to build your Rails application with Simple Form and Bootstrap</h3>
</div>
<div class'row'>
<ol>
<li>Create your new Rails application: rails new my_new_app</... | <% content_for :breadcrumb do %>
<li><%= link_to "Home", root_path %></li>
<li class="active">Documentation</li>
<% end %>
<div class'row'>
<h3>How to build your Rails application with Simple Form and Bootstrap</h3>
</div>
<div class'row'>
<ol>
<li>Create your new Rails application: <code>rails new my_new... | Use the code tag to wrap the examples. | Use the code tag to wrap the examples.
| HTML+ERB | mit | vaishalitekale/simple_form-bootstrap,weixing2014/simple_form-bootstrap,weixing2014/simple_form-bootstrap,npy179/simple_form-bootstrap,rafaelfranca/simple_form-bootstrap,vaishalitekale/simple_form-bootstrap,npy179/simple_form-bootstrap,weixing2014/simple_form-bootstrap,npy179/simple_form-bootstrap,rafaelfranca/simple_fo... |
d2caf85f24c0d7badb82586e3112477d8d38b448 | app/views/layouts/_navigation.html.erb | app/views/layouts/_navigation.html.erb | <%# navigation styled for Bootstrap 3.0 %>
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<div class="toiletLogo" id="logo"></div>
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
... | <%# navigation styled for Bootstrap 3.0 %>
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<div class="toiletLogo" id="logo"></div>
<button type="button" class="navbar-toggle" data-toggle="collapse"
data-target=".navbar-collaps... | Improve formatting of navigation partial | Improve formatting of navigation partial
Changed newlines and indentation to make this partial easier to read.
| HTML+ERB | agpl-3.0 | valeriecodes/refugerestrooms,valeriecodes/refugerestrooms,valeriecodes/refugerestrooms,cllns/refugerestrooms,RefugeRestrooms/refugerestrooms,RefugeRestrooms/refugerestrooms,azelma/refugerestrooms,cllns/refugerestrooms,cllns/refugerestrooms,mathonsunday/welcomehome,azelma/refugerestrooms,RefugeRestrooms/refugerestrooms,... |
d34f70763d1040576aa366621ce3e453235f98b9 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Mountain Chat</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<%= csrf_meta_tags %>
</head>
<body>
<header class="top-banner">
<h1>Mountain Chat Header</h1>
</header>
<%= yield %>
<footer class="bottom-banner... | <!DOCTYPE html>
<html>
<head>
<title>Mountain Chat</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<%= csrf_meta_tags %>
</head>
<body>
<header class="top-banner">
<h1>Mountain Chat Header</h1>
</header>
<%= yield %>
<footer class="bottom-banner... | Include link to successfull log out | Include link to successfull log out
| HTML+ERB | mit | zlschatz/Mountain-Chat-Rails-App,zlschatz/Mountain-Chat-Rails-App,zlschatz/Mountain-Chat-Rails-App |
ea4b6aeb6c8d5810a6bbd6fc8f1accea90208698 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title><%= yield :title %> - GOV.UK</title>
<%= stylesheet_link_tag 'application' %>
<%= stylesheet_link_tag 'print', :media => :print %>
<%= yield :head %>
<%= render partial: 'govuk_component/analytics_meta_tags', locals: { content_item: @content_item } %>
<%= j... | <!DOCTYPE html>
<html>
<head>
<title><%= yield :title %> - GOV.UK</title>
<%= stylesheet_link_tag 'application' %>
<%= stylesheet_link_tag 'print', :media => :print %>
<%= yield :head %>
<%= render 'govuk_publishing_components/components/meta_tags', content_item: @content_item %>
<%= javascrip... | Use the meta tags component from the gem | Use the meta tags component from the gem
This replaces the analytics meta tags component from Static with the
new [meta tags
component](https://github.com/alphagov/govuk_publishing_components/pull/
278) in the gem. There should be no changes in behaviour.
https://trello.com/c/pU7YINt1
| HTML+ERB | mit | alphagov/calendars,alphagov/calendars,alphagov/calendars,alphagov/calendars |
a1025a08f34f39e2afd2917d5b07fd493829e257 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>RailsAngular</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>RailsAngular</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= csrf_meta_tags %>
</head>
<body>
<%= yield %>
</body>
</html>
| Remove turbolinks references since it can interfere with angular | Remove turbolinks references since it can interfere with angular
| HTML+ERB | mit | jeremymcintyre/rails-angular-sandbox,jeremymcintyre/rails-angular-sandbox,jeremymcintyre/rails-angular-sandbox |
164d3ff890515d298b0bdb9b58fe0c05dfb32172 | lib/smart_answer_flows/marriage-abroad/outcomes/countries/south-africa/uk/partner_british/_same_sex.govspeak.erb | lib/smart_answer_flows/marriage-abroad/outcomes/countries/south-africa/uk/partner_british/_same_sex.govspeak.erb |
Contact the [relevant local authorities](http://www.dha.gov.za/index.php/civic-services/marriage-certificates) in South Africa to find out about local marriage laws, including what documents you’ll need.
^You should [get legal advice](/government/collections/list-of-lawyers) and check the [travel advice for South Afr... |
Contact the [relevant local authorities](http://www.dha.gov.za/index.php/civic-services/marriage-certificates) in South Africa to find out about local marriage laws, including what documents you’ll need.
^You should [get legal advice](/government/collections/list-of-lawyers) and check the [travel advice for South Afr... | Add appointment link for explanatory letter | Add appointment link for explanatory letter | HTML+ERB | mit | alphagov/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers |
0f00e9e8434c692b38dda00f0404979806429cf4 | jobs/gitlab-runner/templates/bin/gitlab-runner-ctl.erb | jobs/gitlab-runner/templates/bin/gitlab-runner-ctl.erb | #!/bin/bash
set -e -u -x
RUN_DIR=/var/vcap/sys/run/gitlab-runner
LOG_DIR=/var/vcap/sys/log/gitlab-runner
STORE_DIR=/var/vcap/store/gitlab-runner
PACKAGE_DIR=/var/vcap/packages/gitlab-ci-multi-runner
WORK_DIR=${STORE_DIR}/work
PIDFILE=$RUN_DIR/pid
source /var/vcap/jobs/gitlab-runner/helpers/pid_utils.sh
PATH=$PATH:/... | #!/bin/bash
set -e -u -x
RUN_DIR=/var/vcap/sys/run/gitlab-runner
LOG_DIR=/var/vcap/sys/log/gitlab-runner
STORE_DIR=/var/vcap/store/gitlab-runner
PACKAGE_DIR=/var/vcap/packages/gitlab-ci-multi-runner
WORK_DIR=${STORE_DIR}/work
PIDFILE=$RUN_DIR/pid
source /var/vcap/jobs/gitlab-runner/helpers/pid_utils.sh
# Add all pa... | Add all packge bin dirs to path | Add all packge bin dirs to path
| HTML+ERB | mit | skburgart/gitlab-runner-release |
5b13200c583cfdf827170ff81015930b52e10fc7 | app/views/components/_topic-list.html.erb | app/views/components/_topic-list.html.erb | <%
items ||= []
see_more_link ||= false
small ||= false
margin_bottom ||= false
component_size = "app-c-topic-list--small" if small
margin_bottom_class = "app-c-topic-list--margin-bottom" if margin_bottom
brand ||= false
brand_helper = GovukPublishingComponents::AppHelpers::BrandHelper.new(brand)
%>
<%... | <%
items ||= []
see_more_link ||= false
small ||= false
margin_bottom ||= false
component_size = "app-c-topic-list--small" if small
margin_bottom_class = "app-c-topic-list--margin-bottom" if margin_bottom
brand ||= false
brand_helper = GovukPublishingComponents::AppHelpers::BrandHelper.new(brand)
%>
<%... | Add govuk-link class to topic list component | Add govuk-link class to topic list component
| HTML+ERB | mit | alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections |
57f27d18a9e67846aa1c25a03a33897f260e666e | app/views/rhinoart/settings/_fields.html.erb | app/views/rhinoart/settings/_fields.html.erb | <%= render 'shared/error_messages', object: f.object %>
<div class="form-horizontal">
<div class="control-group">
<%= f.label :name, class: 'control-label' %>
<div class="controls">
<%= f.text_field :name, class: 'span11' %>
</div>
</div>
<div class="control-group">
... | <%= render 'shared/error_messages', object: f.object %>
<div class="form-horizontal">
<div class="control-group">
<%= f.label :name, class: 'control-label' %>
<div class="controls">
<%= f.text_field :name, class: 'span11' %>
</div>
</div>
<div class="control-group">
... | Change settins value to text_area | Change settins value to text_area
| HTML+ERB | mit | shredder-rull/rhinoart_cms,kostyakch/rhinoart_cms,kostyakch/rhinoart_cms,shredder-rull/rhinoart_cms,shredder-rull/rhinoart_cms,kostyakch/rhinoart_cms |
7d17b8b4dc45468c70856a156a67925e083abb6e | app/views/uploads/_index_thumbnails.html.erb | app/views/uploads/_index_thumbnails.html.erb | <div class="row-fluid">
<div class="span12">
<ul class="thumbnails">
<% @uploads.each do |upload| %>
<%= action_thumbnail_tag({:class => 'span3 doc_thumbnail', :icon => "fa fa-upload", :title => upload.original_filename, :path => upload_path(upload)}) do %>
<%= content_tag "address" do %>
<% end %>
... | <div class="row-fluid">
<div class="span12">
<ul class="thumbnails">
<% @uploads.each do |upload| %>
<%= action_thumbnail_tag({:class => 'span3 doc_thumbnail', :icon => "fa fa-upload", :title => upload.original_filename, :path => upload_path(upload)}) do %>
<%= content_tag "address" do %>
<% end %>
... | Add total processing time to upload thumbnail | Add total processing time to upload thumbnail
| HTML+ERB | mit | nycdot/transam_core,nycdot/transam_core,camsys/transam_core,camsys/transam_core,camsys/transam_core,camsys/transam_core,nycdot/transam_core |
a6ac83d98516a8f92abf2c5060ed8117ede18177 | app/views/public_activity/activities/_activity.html.erb | app/views/public_activity/activities/_activity.html.erb | <div<% unless activity.trackable.nil? %> id="activity-<%= activity.trackable.id %>"<% end %> class="activity<% unless activity.first? %> hidden<% end %>">
<span class="unread-flag"><i class="fi-asterisk unread"></i></span>
<span class="description"><%= link_to activity.owner.username, activity.owner %> <%= render_a... | <div id="activity-<%= activity.id %>" class="activity<% unless activity.first? %> hidden<% end %>">
<span class="unread-flag"><i class="fi-asterisk unread"></i></span>
<span class="description"><%= link_to activity.owner.username, activity.owner %> <%= render_activity activity %></span>
</div>
| Use correct ID in activity partial | Use correct ID in activity partial
| HTML+ERB | unlicense | caffeineshock/dysnomia,caffeineshock/dysnomia,caffeineshock/dysnomia |
d0de03e3e831e744fe9d55c353039ace247945f7 | app/views/common/modules/_availability.html.erb | app/views/common/modules/_availability.html.erb | <% id ||= "availability" %>
<% title ||= "Service availability" %>
<section id="<%= id %>" class="graph availability">
<h1><%= title %></h1>
<ul class="module-actions">
<li class="info">
<div>
<p>Data source: Pingdom</p>
<p>Page load time measures the time taken for a sample page within th... | <% id ||= "availability" %>
<% title ||= "Service availability" %>
<section id="<%= id %>" class="graph availability">
<h1><%= title %></h1>
<ul class="module-actions">
<li class="info">
<div>
<p>Data source: Pingdom</p>
<p>Page load time measures the time taken for a sample page within th... | Add link to uptime guidance | Add link to uptime guidance
| HTML+ERB | mit | gds-attic/limelight,gds-attic/limelight,gds-attic/limelight |
197d70b9650f4c977ae602d92e50d514ac13e5a0 | app/views/announcements/index.html.erb | app/views/announcements/index.html.erb | <section id="news_articles" class="g1">
<h1>News</h1>
<%= render partial: "news_articles/list", locals: {news_articles: @news_articles} %>
</section>
<section id="speeches" class="g1">
<h1>Speeches</h1>
<%= render partial: "speeches/list", locals: {speeches: @speeches} %>
</section> | <div class="g1">
<section id="news_articles">
<h1>News</h1>
<%= render partial: "news_articles/list", locals: {news_articles: @news_articles} %>
</section>
</div>
<div class="g1">
<section id="speeches">
<h1>Speeches</h1>
<%= render partial: "speeches/list", locals: {speeches: @speeches} %>
</s... | Use divs for the grid layout. | Use divs for the grid layout.
Adding styles that affect the box model (e.g. padding, margin) to elements with the grid classes (g1, g2 et al) can screw with the layout as the grid uses percentage based sizes.
| HTML+ERB | mit | robinwhittleton/whitehall,YOTOV-LIMITED/whitehall,askl56/whitehall,askl56/whitehall,robinwhittleton/whitehall,YOTOV-LIMITED/whitehall,alphagov/whitehall,hotvulcan/whitehall,askl56/whitehall,alphagov/whitehall,alphagov/whitehall,ggoral/whitehall,hotvulcan/whitehall,askl56/whitehall,ggoral/whitehall,robinwhittleton/white... |
f80eb2d2544dab3ff1d147b37df9713f5448a049 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title><%= @constants.site_title %></title>
<%= stylesheet_link_tag "application", media: "all" %>
<%= javascript_include_tag "application" %>
<%= stylesheet_link_tag "/assets/" << params[:controller] %>
<%= csrf_meta_tags %>
</head>
<body ng-app="civic">
<%= render :part... | <!DOCTYPE html>
<html>
<head>
<title><%= @constants.site_title %></title>
<%= stylesheet_link_tag "application", media: "all" %>
<%= javascript_include_tag "application" %>
<%= stylesheet_link_tag "/assets/" << params[:controller] %>
<%= csrf_meta_tags %>
</head>
<body ng-app="civic">
<%= render :part... | Add new flash banners for future use | Add new flash banners for future use
| HTML+ERB | mit | brianto/civic-app-petition-prototype,brianto/civic-app-petition-prototype |
caa00f05dcace9ce9ccb10a3e99ba081ab6c917c | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>LiveAction</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>LiveAction</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<nav>
<ul>
<li><%= link_to "Home", root_path ... | Add navbar with links to home/login/register | Add navbar with links to home/login/register
| HTML+ERB | mit | KlimekM/LiveAction,KlimekM/LiveAction,KlimekM/LiveAction |
7b63419a9472043eadd02551b72fd6bc347c8b27 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>OnlyChaiPrototype</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>OnlyChaiPrototype</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<nav class="top-bar" data-topbar role="nav... | Add nav bar to application layout | Add nav bar to application layout
| HTML+ERB | mit | jjparseghian/only_chai_proto,jjparseghian/only_chai_proto,jjparseghian/only_chai_proto |
57207a02fe9eab6aa38b8699743fa4b21135ceda | app/views/recipes/show.erb | app/views/recipes/show.erb | <section>
<table>
<!-- <tr>
<th>This is the @recipe! (we don't have a name)</th>
</tr> -->
<tr>
<td><%= @recipe.body %> </td>
</tr>
<tr>
<td>submitted by: <%= @recipe.user.username %> </td>
</tr>
</table>
</section>
<section>
<% if @comments %>
<% @comments.each do |comme... | <section>
<table>
<!-- <tr>
<th>This is the @recipe! (we don't have a name)</th>
</tr> -->
<tr>
<td><%= @recipe.body %> </td>
</tr>
<tr>
<td>submitted by: <%= @recipe.user.username %> </td>
</tr>
</table>
</section>
<section>
<% if @comments %>
<% @comments.each do |comm... | Change based on group plan | Change based on group plan
| HTML+ERB | mit | chi-squirrels-2017/RecipeForDisaster,chi-squirrels-2017/RecipeForDisaster,chi-squirrels-2017/RecipeForDisaster |
56336763dee8289d5f818f3d0df5826b84876a57 | app/views/browse/_relation_details.html.erb | app/views/browse/_relation_details.html.erb | <table>
<%= render :partial => "common_details", :object => relation_details %>
<% unless relation_details.relation_members.empty? %>
<tr valign="top">
<th><%= t'browse.relation_details.members' %></th>
<td>
<table cellpadding="0">
<%= render :partial => "relation_member", :colle... | <table>
<%= render :partial => "common_details", :object => relation_details %>
<% unless relation_details.relation_members.empty? %>
<tr valign="top">
<th><%= t'browse.relation_details.members' %></th>
<td>
<table cellpadding="0">
<%= render :partial => "relation_member", :colle... | Align relation membership details to the top. | Align relation membership details to the top.
| HTML+ERB | agpl-3.0 | tillmo/do-roam,tillmo/do-roam,tillmo/do-roam,tillmo/do-roam,tillmo/do-roam,tillmo/do-roam |
ba1c04f91728798722b7369d87e6eb14fa29012c | app/views/devise/registrations/new.html.erb | app/views/devise/registrations/new.html.erb | <div class='page'>
<div class='title'>
<span class='fa fa-group'></span>Sign In
</div>
<div class='content'>
<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
<%= render 'application/form_errors', record: resource %>
<fieldset>
<%= f.label :fi... | <div class='page'>
<div class='title'>
<span class='fa fa-group'></span>Sign Up
</div>
<div class='content'>
<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
<%= render 'application/form_errors', record: resource %>
<fieldset>
<%= f.label :fi... | Change Sign In to Sign Up on registration page. | Change Sign In to Sign Up on registration page.
| HTML+ERB | apache-2.0 | dpnl87/supermarket,chef/supermarket,nellshamrell/supermarket,nellshamrell/supermarket,robbkidd/supermarket,rafaelmagu/supermarket,juliandunn/supermarket,leftathome/supermarket,tas50/supermarket,jzohrab/supermarket,juliandunn/supermarket,nellshamrell/supermarket,nellshamrell/supermarket,leftathome/supermarket,tas50/supe... |
eb08d81aef335e6cc2497fb1c99c732026c335b3 | app/views/manuals/_header.html.erb | app/views/manuals/_header.html.erb | <header>
<div class='primary'>
<span class='manual-type'>HMRC manuals</span>
<h1>Employment Income Manual</h1>
<dl>
<dt>Organisation</dt>
<dd><a href='#'>HM Revenue & Customs</a></dd>
<dt>Sectors</dt>
<dd><a href='#'>Employment</a></dd>
<dt>Collections</dt>
<dd><a h... | <header>
<div class='primary'>
<span class='manual-type'>HMRC manuals</span>
<h1>Employment Income Manual</h1>
<dl>
<dt>Organisation</dt>
<dd><a href='#'>HM Revenue & Customs</a></dd>
<dt>Sectors</dt>
<dd><a href='#'>Employment</a></dd>
<dt>Collections</dt>
<dd><a h... | Move the space to outside of the strong | Move the space to outside of the strong
| HTML+ERB | mit | alphagov/manuals-frontend,alphagov/manuals-frontend,alphagov/manuals-frontend,alphagov/manuals-frontend |
c5d8678cdbb58a5c9db567c5d54e60bad5abe2ea | app/views/question/answer.html.erb | app/views/question/answer.html.erb | <div class='hero-unit'>
<%= render :partial => 'ask'%>
</div>
<div class="container">
<% if session[:categories].size > 0 %>
<div class='alert-message info'>
OK, I'm going to look for things related to
<%= @terms.map{|x| "<strong>#{h(x)}</strong>"}.join(' and ').html_safe %>
that ha... | <div class='hero-unit'>
<%= render :partial => 'ask'%>
</div>
<div class="container">
<% if session[:categories] && session[:categories].size > 0 %>
<div class='alert-message info'>
OK, I'm going to look for things related to
<%= @terms.map{|x| "<strong>#{h(x)}</strong>"}.join(' and ').html... | Check categories list is set before trying to use it. APP-487 | Check categories list is set before trying to use it. APP-487
| HTML+ERB | bsd-3-clause | OpenAMEE/askamee,OpenAMEE/askamee |
88835fa44beb8eedad2088ad00303d9c2fc46712 | app/views/admin/cabinet_ministers/show.html.erb | app/views/admin/cabinet_ministers/show.html.erb | <%= form_for admin_cabinet_ministers_path, method: :put do |form| %>
<div id="role_ordering" class="row-fluid">
<div class="span4">
<fieldset id="minister_ordering" class="sortable">
<legend>Cabinet ministers ordering</legend>
<%= ministers_role_ordering_field... | <% page_title "Cabinet ministers ordering" %>
<%= form_for admin_cabinet_ministers_path, method: :put do |form| %>
<div id="role_ordering" class="row-fluid">
<div class="span4">
<fieldset id="minister_ordering" class="sortable">
<legend>Cabinet ministers ordering</legend>
<%= minist... | Add page title and fix indentation | Add page title and fix indentation
| HTML+ERB | mit | robinwhittleton/whitehall,ggoral/whitehall,hotvulcan/whitehall,hotvulcan/whitehall,alphagov/whitehall,askl56/whitehall,YOTOV-LIMITED/whitehall,alphagov/whitehall,askl56/whitehall,robinwhittleton/whitehall,alphagov/whitehall,alphagov/whitehall,ggoral/whitehall,hotvulcan/whitehall,robinwhittleton/whitehall,ggoral/whiteha... |
727ae2c0d852beb3959403de8e55815471a2a352 | app/views/mappings/edit_multiple_modal.html.erb | app/views/mappings/edit_multiple_modal.html.erb | <%= form_tag update_multiple_site_mappings_path(@site), id: 'bulk-editing-modal', class: 'modal hide' do %>
<header class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3>
<%= http_status_name(@bulk.http_status) %> mappings
</h3>
</he... | <div id="bulk-editing-modal" class="modal" tabindex="-1" role="dialog" aria-hidden="true">
<%= form_tag update_multiple_site_mappings_path(@site), class: 'modal-dialog', role: 'form' do %>
<div class="modal-content">
<header class="modal-header">
<button type="button" class="close" data-dismiss="mod... | Update modal syntax to bootstrap 3 | Update modal syntax to bootstrap 3
* Mostly adding new wrappers
* Visibility of modal is now managed using the aria attributes
* Move form onto one of the internal wrappers to maintain form aria role
| HTML+ERB | mit | alphagov/transition,alphagov/transition,alphagov/transition |
d3bb7814e701cb6697b5507031e10656b0ec3ee4 | gitconfig.erb | gitconfig.erb | [user]
name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %>
email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %>
[core]
excludesfile = ~/.gitignore
editor = vim
eol = lf
autocrlf = false
compression = 9
loosecompression = 1
[color]
diff = auto
status = auto
branch = auto
[ap... | [user]
name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %>
email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %>
signingkey = 435FA52B
[commit]
gpgsign = true
[core]
excludesfile = ~/.gitignore
editor = vim
eol = lf
autocrlf = false
compression = 9
loosecompression = 1
[col... | Add GPG signing by default for all commits | Add GPG signing by default for all commits
| HTML+ERB | mit | mscharley/dotfiles,mscharley/dotfiles,mscharley/dotfiles,mscharley/dotfiles |
56691da53a966f3b69767a4d722359d1f270719e | cookbooks/bcpc-hadoop/templates/default/hb_hbase-site.xml.erb | cookbooks/bcpc-hadoop/templates/default/hb_hbase-site.xml.erb | <?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
################################################
#
# Generated by Chef
#
################################################
-->
<configuration>
<property>
<name>hbase.rootdir</name>
<value>hdfs://<%= node.chef_en... | <?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
################################################
#
# Generated by Chef
#
################################################
-->
<configuration>
<property>
<name>hbase.rootdir</name>
<value>hdfs://<%= node.chef_en... | Add in default bind interface for HBase | Add in default bind interface for HBase
| HTML+ERB | apache-2.0 | DrRayWang/Chef-Base,cbaenziger/chef-bach,kiiranh/chef-bach,leochen4891/chef-bach,DrRayWang/chef-bach,pu239ppy/chef-bach-env,pu239ppy/chef-bach,bijugs/chef-bach,bijugs/chef-bach,bloomberg/chef-bach,mlongob/chef-bach,amithkanand/chef-bach,pu239ppy/chef-bach,amithkanand/chef-bach,cbaenziger/chef-bach,http-418/chef-bach,ml... |
802198872a8a3eb7800d8fa6bf13109e6371e999 | source/partials/social-buttons/_facebook_button.html.erb | source/partials/social-buttons/_facebook_button.html.erb | <div class="fb-like" data-href="<%= current_page.url -%>" data-width="60" data-layout="box_count" data-action="recommend" data-show-faces="true" data-share="true"></div>
| <div class="fb-like" data-href="<%=data.site.base_url -%><%= current_page.url -%>" data-width="60" data-layout="box_count" data-action="recommend" data-show-faces="true" data-share="true"></div>
| Fix FB url for sharing | Fix FB url for sharing
| HTML+ERB | mit | dmytro/vytrishky,dmytro/vytrishky,dmytro/vytrishky,dmytro/vytrishky |
b5858b4ee5a5622506f310b86be849eabf8bef49 | app/views/categories/show.html.erb | app/views/categories/show.html.erb | <h1><%=@category.name.capitalize%></h1> | <h1><%=@category.name.capitalize%></h1>
<!--
<%=@category.product_id%>
<% if !@category.product_id.blank? %>
<% @category.product_id.each do |product_id|%>
<p><%= product_id %></p>
<% end %>
<% end %>
--> | Comment out logic that loops through the array of product/item_ids | Comment out logic that loops through the array of product/item_ids
| HTML+ERB | mit | benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop |
ac7058dc0f706457c9f3230566f019384a92ae88 | app/views/layouts/_header.html.erb | app/views/layouts/_header.html.erb | <header>
<%= link_to logo, root_path %>
<nav class="round">
<ul>
<li><%= link_to "Home", root_path %></li>
<% if signed_in? %>
<li><%= link_to "Profile", current_user %></li>
<li><%= link_to "Settings", edit_user_path(current_user) %></li>
<li><%= link_to "Subscriptions", sub... | <header>
<%= link_to logo, root_path %>
<nav class="round">
<ul>
<li><%= link_to "Home", root_path %></li>
<% if signed_in? %>
<li><%= link_to "Profile", current_user %></li>
<li><%= link_to "Settings", edit_user_path(current_user) %></li>
<li><%= link_to "Subscriptions", sub... | Add sign up link on header | Add sign up link on header
| HTML+ERB | mit | silky/scirate,scirate/scirate,scirate/scirate,scirate/scirate,scirate/scirate,silky/scirate,silky/scirate |
db71f38faf8e7331813a08a9f39c7a1af59c47fe | app/views/manuals/_header.html.erb | app/views/manuals/_header.html.erb | <% if presented_manual.beta? %>
<%= render 'govuk_publishing_components/components/phase_banner', phase: "beta" %>
<% end %>
<%= render 'govuk_publishing_components/components/contextual_breadcrumbs', content_item: @content_store_manual %>
<header aria-labelledby="manual-title" class="<%= presented_manual.hmrc? ? '... | <% if presented_manual.beta? %>
<%= render 'govuk_publishing_components/components/phase_banner', phase: "beta" %>
<% end %>
<%= render 'govuk_publishing_components/components/contextual_breadcrumbs', content_item: @content_store_manual %>
<header aria-labelledby="manual-title" class="<%= presented_manual.hmrc? ? '... | Use manual instead of filter_manual for search | Use manual instead of filter_manual for search
This is a followup to https://github.com/alphagov/manuals-frontend/pull/616
| HTML+ERB | mit | alphagov/manuals-frontend,alphagov/manuals-frontend,alphagov/manuals-frontend,alphagov/manuals-frontend |
1b0a570a0d1da6d33aa6eb65c551a53c7e9d122e | app/views/courses/index.html.erb | app/views/courses/index.html.erb | <%= title('Courses') %>
<div class="CoursesController col-lg-10 offset-lg-1">
<div class="container">
<div class="heading-box">
<div class="heading">
<h1 class="text-center camel light curriculum-title">Curriculum</h1>
</div> <!-- /.heading -->
<div>
<p>
If you want t... | <%= title('Courses') %>
<div class="container">
<div class="row CoursesController">
<div class="col-lg-10 offset-lg-1">
<div class="heading-box">
<div class="heading">
<h1 class="text-center camel light curriculum-title">Curriculum</h1>
</div> <!-- /.heading -->
<div>
... | Add container to curriculum page | Add container to curriculum page
| HTML+ERB | mit | TheOdinProject/theodinproject,TheOdinProject/theodinproject,TheOdinProject/theodinproject,TheOdinProject/theodinproject |
6a64a2bbc5489498bd90cece9fadedd014e5cf45 | app/views/sequences/new.html.erb | app/views/sequences/new.html.erb | <%
@title = :sequence_add_title.t
tabs = [
link_with_query(:cancel_and_show.t(type: :observation),
@observation.show_link_args)
]
@tabsets = { right: draw_tab_set(tabs) }
%>
<%= render(partial: "observation_title",
locals: { observation: @observation }) %>
<%= form_for(:sequ... | <%
@title = :sequence_add_title.t
tabs = [
link_with_query(:cancel_and_show.t(type: :observation),
@observation.show_link_args)
]
@tabsets = { right: draw_tab_set(tabs) }
%>
<%= render(partial: "observation_title",
locals: { observation: @observation }) %>
<%= form_for(
... | Fix `new` form submit action | Fix `new` form submit action
| HTML+ERB | mit | MushroomObserver/mushroom-observer,MushroomObserver/mushroom-observer,MushroomObserver/mushroom-observer,MushroomObserver/mushroom-observer,MushroomObserver/mushroom-observer,MushroomObserver/mushroom-observer,MushroomObserver/mushroom-observer |
9e69b870114308ab8a05980677fa895db6c74952 | modules/hdo/templates/nginx-blog-vhost.conf.erb | modules/hdo/templates/nginx-blog-vhost.conf.erb | server {
listen 80;
server_name <%= @server_name %>;
root <%= @blog_root %>/_site;
autoindex off;
location ~ ^/(google.+\.html|robots\.txt) { }
location / {
auth_basic 'Restricted';
auth_basic_user_file /opt/nginx/.htpasswd;
}
}
| server {
listen 80;
listen 443 ssl;
server_name <%= @server_name %>;
root <%= @blog_root %>/_site;
autoindex off;
location ~ ^/(google.+\.html|robots\.txt) { }
location / {
auth_basic 'Restricted';
auth_basic_user_file /opt/nginx/.htpasswd;
}
}
| Enable SSL for draft blog. | Enable SSL for draft blog.
| HTML+ERB | bsd-3-clause | holderdeord/hdo-puppet,holderdeord/hdo-puppet,holderdeord/hdo-puppet,holderdeord/hdo-puppet,holderdeord/hdo-puppet |
9606d76bb11cfc8b9730c84a75743738fa5cd2a1 | templates/default/environment.erb | templates/default/environment.erb | name: universe
channels: !!python/tuple
- defaults
dependencies:
- conda-forge::hdf5=1.8.17=9
- conda-forge::jasper=1.900.1=3
- conda-forge::jpeg=9b=0
- conda-forge::libpng=1.6.28=0
- conda-forge::libtiff=4.0.6=7
- conda-forge::opencv=3.1.0=np111py35_1
- libgcc=5.2.0=0
- libgfortran=3.0.0=1
- mkl=2017.0.1=0
- numpy=1.1... | name: universe
channels: !!python/tuple
- defaults
dependencies:
- conda-forge::hdf5=1.8.17=9
- conda-forge::jasper=1.900.1=3
- conda-forge::jpeg=9b=0
- conda-forge::libpng=1.6.28=0
- conda-forge::libtiff=4.0.6=7
- conda-forge::opencv=3.1.0=np111py35_1
- libgcc=5.2.0=0
- libgfortran=3.0.0=1
- mkl=2017.0.1=0
- numpy=1.1... | Update template to use new attribute values | Update template to use new attribute values
| HTML+ERB | mit | havk64/Universe-on-Ubuntu-Chef-Cookbook,havk64/Universe-on-Ubuntu-Chef-Cookbook |
84576b9e6d58eedabb6b3ef6c1b28552e307f983 | app/views/admin/buildings/index.html.erb | app/views/admin/buildings/index.html.erb | <div class="col-xs-6 container">
<h1 id="collaborator-h1" class="text-center">Buildings</h1>
<%= link_to "Add Building", new_admin_building_path, class: "btn btn-save" %>
<% @buildings.each do |b| %>
<hr class="underline-user text-center">
<li class="sidebar-li">
<a href="<%= edit_admin_building_pat... | <div class="col-xs-6 container">
<h1 id="collaborator-h1" class="text-center">Buildings</h1>
<%= link_to "Add Building", new_admin_building_path %>
<% @buildings.each do |b| %>
<hr class="underline-user text-center">
<li class="sidebar-li">
<a href="<%= edit_admin_building_path(b.id) %>" class="user-... | Use simple text link for Add Building instead of trying to style as a button | Use simple text link for Add Building instead of trying to style as a button
| HTML+ERB | mit | heatseeknyc/heatseeknyc,heatseeknyc/heatseeknyc,heatseeknyc/heatseeknyc |
0eb114e1ca34c27769760821a7aa5a49083d0139 | app/views/shared/markdown_help_js.js.erb | app/views/shared/markdown_help_js.js.erb | $('#markdownModal div.modal-body').replaceWith("<%= escape_javascript(render :partial => 'shared/markdown_help') %>");
// needs to be on one line or else css function goes wonky and doesn't work
$('#markdownModal').modal().css({width: 'auto', 'margin-left': function () {return -($(this).width() / 2);}});
| $('#markdownModal div.modal-body').replaceWith("<%= escape_javascript(render :partial => 'shared/markdown_help') %>");
// needs to be on one line or else css function goes wonky and doesn't work
$('#markdownModal').modal();
| Fix markdown help modal display | Fix markdown help modal display
| HTML+ERB | mit | Amalanag/reservations,YaleOutdoors/reservations,Amalanag/reservations,YaleOutdoors/reservations,YaleSTC/reservations,YaleSTC/reservations,YaleSTC/reservations,Amalanag/reservations,YaleOutdoors/reservations |
af317647c24c1ad2ed9a2e2f3bae393affaa8d10 | cookbooks/nagios/templates/default/hosts.cfg.erb | cookbooks/nagios/templates/default/hosts.cfg.erb | # Generated by Chef
# host definitions
define host {
use server
address <%= node['ipaddress'] %>
host_name <%= node['hostname'] %>
hostgroups <%= node['nagios']['server_role'] %>
}
<% @nodes.each do |n| -%>
<% unless n.name == node.name -%>
define host {
use server
address <%= n['ipaddress'] %>
host_name ... | # Generated by Chef
# host definitions
define host {
use server
address <%= node['ipaddress'] %>
host_name <%= node['hostname'] %>
hostgroups <%= node['nagios']['server_role'] %>
}
<% @nodes.each do |n| -%>
<% unless n.name == node.name -%>
define host {
use server
address <%= n['ipaddress'] %>
host_name ... | Format change to fix writing out the erb | Format change to fix writing out the erb
Former-commit-id: 7597cdfcb8fb270d559f8dea55f79baa40d35661 [formerly 9ed5520ef4bf675e1ff446c0e778eca8666d647d] [formerly 4af6b34f1350d2ee62c6eae5a7f77a4eff4fbeed [formerly cc9dbf3c3aa75dbabb9589219d5fa45102f2b1a0]]
Former-commit-id: 142b5e18f4e7c3d5a8065f474ab1343bab24c815 [fo... | HTML+ERB | apache-2.0 | ronabop/rundeck,ARentz07/rundeck,ronabop/rundeck,tas50/rundeck,edwlarkey/rundeck,ARentz07/rundeck,edwlarkey/rundeck,edwlarkey/rundeck,tas50/rundeck,tas50/rundeck,ARentz07/rundeck,marthag8/rundeck,marthag8/rundeck,marthag8/rundeck,ronabop/rundeck |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.