diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/remote_usernames/_form.html.erb | 29 | ||||
-rw-r--r-- | app/views/remote_usernames/edit.html.erb | 6 | ||||
-rw-r--r-- | app/views/remote_usernames/index.html.erb | 31 | ||||
-rw-r--r-- | app/views/remote_usernames/index.json.jbuilder | 4 | ||||
-rw-r--r-- | app/views/remote_usernames/new.html.erb | 5 | ||||
-rw-r--r-- | app/views/remote_usernames/show.html.erb | 19 | ||||
-rw-r--r-- | app/views/remote_usernames/show.json.jbuilder | 1 |
7 files changed, 0 insertions, 95 deletions
diff --git a/app/views/remote_usernames/_form.html.erb b/app/views/remote_usernames/_form.html.erb deleted file mode 100644 index 5da1f8f..0000000 --- a/app/views/remote_usernames/_form.html.erb +++ /dev/null @@ -1,29 +0,0 @@ -<%= form_for(@remote_username) do |f| %> - <% if @remote_username.errors.any? %> - <div id="error_explanation"> - <h2><%= pluralize(@remote_username.errors.count, "error") %> prohibited this remote_username from being saved:</h2> - - <ul> - <% @remote_username.errors.full_messages.each do |msg| %> - <li><%= msg %></li> - <% end %> - </ul> - </div> - <% end %> - - <div class="field"> - <%= f.label :game_id %><br> - <%= f.text_field :game_id %> - </div> - <div class="field"> - <%= f.label :user_id %><br> - <%= f.text_field :user_id %> - </div> - <div class="field"> - <%= f.label :user_name %><br> - <%= f.text_field :user_name %> - </div> - <div class="actions"> - <%= f.submit %> - </div> -<% end %> diff --git a/app/views/remote_usernames/edit.html.erb b/app/views/remote_usernames/edit.html.erb deleted file mode 100644 index 52d4b37..0000000 --- a/app/views/remote_usernames/edit.html.erb +++ /dev/null @@ -1,6 +0,0 @@ -<h1>Editing remote_username</h1> - -<%= render 'form' %> - -<%= link_to 'Show', @remote_username %> | -<%= link_to 'Back', remote_usernames_path %> diff --git a/app/views/remote_usernames/index.html.erb b/app/views/remote_usernames/index.html.erb deleted file mode 100644 index 14f5876..0000000 --- a/app/views/remote_usernames/index.html.erb +++ /dev/null @@ -1,31 +0,0 @@ -<h1>Listing remote_usernames</h1> - -<table> - <thead> - <tr> - <th>Game</th> - <th>User</th> - <th>User name</th> - <th></th> - <th></th> - <th></th> - </tr> - </thead> - - <tbody> - <% @remote_usernames.each do |remote_username| %> - <tr> - <td><%= remote_username.game %></td> - <td><%= remote_username.user %></td> - <td><%= remote_username.user_name %></td> - <td><%= link_to 'Show', remote_username %></td> - <td><%= link_to 'Edit', edit_remote_username_path(remote_username) %></td> - <td><%= link_to 'Destroy', remote_username, method: :delete, data: { confirm: 'Are you sure?' } %></td> - </tr> - <% end %> - </tbody> -</table> - -<br> - -<%= link_to 'New Remote username', new_remote_username_path %> diff --git a/app/views/remote_usernames/index.json.jbuilder b/app/views/remote_usernames/index.json.jbuilder deleted file mode 100644 index c9fbc0f..0000000 --- a/app/views/remote_usernames/index.json.jbuilder +++ /dev/null @@ -1,4 +0,0 @@ -json.array!(@remote_usernames) do |remote_username| - json.extract! remote_username, :id, :game_id, :user_id, :user_name - json.url remote_username_url(remote_username, format: :json) -end diff --git a/app/views/remote_usernames/new.html.erb b/app/views/remote_usernames/new.html.erb deleted file mode 100644 index b9cfcf4..0000000 --- a/app/views/remote_usernames/new.html.erb +++ /dev/null @@ -1,5 +0,0 @@ -<h1>New remote_username</h1> - -<%= render 'form' %> - -<%= link_to 'Back', remote_usernames_path %> diff --git a/app/views/remote_usernames/show.html.erb b/app/views/remote_usernames/show.html.erb deleted file mode 100644 index 416ca9d..0000000 --- a/app/views/remote_usernames/show.html.erb +++ /dev/null @@ -1,19 +0,0 @@ -<p id="notice"><%= notice %></p> - -<p> - <strong>Game:</strong> - <%= @remote_username.game %> -</p> - -<p> - <strong>User:</strong> - <%= @remote_username.user %> -</p> - -<p> - <strong>User name:</strong> - <%= @remote_username.user_name %> -</p> - -<%= link_to 'Edit', edit_remote_username_path(@remote_username) %> | -<%= link_to 'Back', remote_usernames_path %> diff --git a/app/views/remote_usernames/show.json.jbuilder b/app/views/remote_usernames/show.json.jbuilder deleted file mode 100644 index 1a0f6f9..0000000 --- a/app/views/remote_usernames/show.json.jbuilder +++ /dev/null @@ -1 +0,0 @@ -json.extract! @remote_username, :id, :game_id, :user_id, :user_name, :created_at, :updated_at |