Skip to content

Commit

Permalink
Merge 7054538 into b2c3ee9
Browse files Browse the repository at this point in the history
  • Loading branch information
aidewoode committed Feb 24, 2023
2 parents b2c3ee9 + 7054538 commit d195f06
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 20 deletions.
4 changes: 0 additions & 4 deletions app/views/albums/edit.html.erb
@@ -1,9 +1,5 @@
<% page_title_tag t('label.edit_album'), native: true %>
<% content_for :title do %>
<%= t('label.edit_album') %>
<% end %>
<%= form_with model: @album, data: { turbo_frame: '_top', turbo_action: ('replace' if turbo_native?), test_id: 'album_edit_form' }, class: 'c-form' do |form| %>
<div class='c-form__field'>
<%= form.label :image, t('label.album.cover') %>
Expand Down
4 changes: 0 additions & 4 deletions app/views/artists/edit.html.erb
@@ -1,9 +1,5 @@
<% page_title_tag t('label.edit_artist'), native: true %>
<% content_for :title do %>
<%= t('label.edit_artist') %>
<% end %>
<%= form_with model: @artist, data: { turbo_frame: '_top', turbo_action: ('replace' if turbo_native?), test_id: 'artist_edit_form' }, class: 'c-form' do |form| %>
<div class='c-form__field'>
<%= form.label :image, t('label.artist.cover') %>
Expand Down
4 changes: 0 additions & 4 deletions app/views/dialog/playlists/index.html.erb
@@ -1,9 +1,5 @@
<% page_title_tag t('label.add_to_playlist'), native: true %>
<% content_for :title do %>
<%= t('label.add_to_playlist') %>
<% end %>
<% if @playlists.present? %>
<%= form_tag nil, 'data-turbo-frame': '_top', 'data-turbo-action': ('replace' if turbo_native?) do %>
<%= hidden_field_tag :song_id, params[:song_id] %>
Expand Down
4 changes: 0 additions & 4 deletions app/views/playlists/edit.html.erb
@@ -1,9 +1,5 @@
<% page_title_tag t('label.edit_playlist'), native: true %>
<% content_for :title do %>
<%= t('label.edit_playlist') %>
<% end %>
<%= form_with model: @playlist, class: 'c-form', data: { turbo_frame: '_top', turbo_action: ('replace' if turbo_native?), test_id: 'playlist_edit_form' } do |form| %>
<div class='c-form__field'>
<%= form.label :name, t('label.name') %>
Expand Down
4 changes: 0 additions & 4 deletions app/views/playlists/new.html.erb
@@ -1,9 +1,5 @@
<% page_title_tag t('label.create_playlist'), native: true %>
<% content_for :title do %>
<%= t('label.create_playlist') %>
<% end %>
<%= form_with model: @playlist, class: 'c-form', data: { turbo_frame: '_top', turbo_action: ('replace' if turbo_native?) } do |form| %>
<div class='c-form__field'>
<%= form.label :name, t('label.name') %>
Expand Down

0 comments on commit d195f06

Please sign in to comment.