Add main link to each phase of the budget
Co-authored-by: decabeza <alberto@decabeza.es>
This commit is contained in:
@@ -41,8 +41,18 @@
|
||||
class: "html-area",
|
||||
hint: t("admin.budget_phases.edit.description_help_text") %>
|
||||
</div>
|
||||
|
||||
<div class="small-12 column">
|
||||
<p class="form-label"><%= t("admin.budget_phases.edit.main_call_to_action") %></p>
|
||||
<p class="help-text"> <%= t("admin.budget_phases.edit.main_call_to_action_description") %></p>
|
||||
<%= translations_form.text_field :main_link_text %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<div class="small-12 column">
|
||||
<%= f.text_field :main_link_url, placeholder: t("admin.shared.example_url") %>
|
||||
</div>
|
||||
|
||||
<% if feature?(:allow_images) %>
|
||||
<div class="images small-12 column">
|
||||
<%= render "images/nested_image", imageable: @phase, f: f %>
|
||||
|
||||
Reference in New Issue
Block a user