Initial commit
This commit is contained in:
16
app/views/photos/edit.html.erb
Normal file
16
app/views/photos/edit.html.erb
Normal file
@@ -0,0 +1,16 @@
|
||||
<div class="card shadow-sm">
|
||||
<%= card_header text: t(".heading"), subtext: @releasable.name, close_action_path: [@project, @releasable.model_name.plural] %>
|
||||
<div class="card-body">
|
||||
<%= bootstrap_form_with model: @releasable, url: [@releasable, :photos] do |form| %>
|
||||
<%= render "shared/photos_dropzone_fields", form: form, release: @releasable %>
|
||||
|
||||
<div class="row align-items-center text-center mt-4">
|
||||
<%= link_to t("shared.cancel"), [@project, @releasable.model_name.plural], class: "col-3 text-reset" %>
|
||||
<div class="col-9">
|
||||
<%= form.button id: "submit_release", class: "btn btn-block btn-primary", data: { disable_with: t("shared.disable_with") } %>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user