2018-02-05 09:15:50 +00:00
|
|
|
<% content_for :page_specific_css do %>
|
|
|
|
<%= stylesheet_link_tag "lib/main-forms" %>
|
|
|
|
<%= stylesheet_link_tag "lib/fileupload" %>
|
|
|
|
<%= stylesheet_link_tag "lib/main-list" %>
|
|
|
|
<% end %>
|
|
|
|
<% content_for :page_specific_javascript do %>
|
|
|
|
<%= javascript_include_tag "lib/module-area" %>
|
|
|
|
<% end %>
|
|
|
|
<%= form_for @settings , :url => settings_admin_property_hires_path, html: {class: "form-horizontal main-forms"} do |f| %>
|
|
|
|
<fieldset>
|
|
|
|
<% if @saved %>
|
|
|
|
<div class="alert alert-success">Settings saved.</div>
|
|
|
|
<% end %>
|
|
|
|
<!-- Input Area -->
|
|
|
|
<div class="input-area">
|
|
|
|
|
|
|
|
<!-- Module Tabs -->
|
|
|
|
<div class="nav-name"><strong><%= t(:module) %></strong></div>
|
|
|
|
<ul class="nav nav-pills module-nav">
|
|
|
|
<li class="active"><a href="#basic" data-toggle="tab"><%= t(:basic) %></a></li>
|
|
|
|
</ul>
|
|
|
|
<!-- Module -->
|
|
|
|
<div class="tab-content module-area">
|
|
|
|
<!-- Basic Module -->
|
|
|
|
<div class="tab-pane fade in active" id="basic">
|
2021-09-08 02:10:44 +00:00
|
|
|
<div class="control-group">
|
|
|
|
<%= f.label :allow_no_logins_user, t("property_hire.allow_no_logins_user"), :class => "control-label muted" %>
|
|
|
|
<div class="controls">
|
|
|
|
<%= f.check_box :allow_no_logins_user %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
|
|
<%= f.label :calendar_type, t("property_hire.display_calendar_default"), :class => "control-label muted" %>
|
|
|
|
<div class="controls">
|
|
|
|
<%= f.check_box :calendar_type, {}, "0", "1" %>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-02-05 09:15:50 +00:00
|
|
|
<div class="control-group">
|
|
|
|
<%= f.label :auto_approve, t("property_hire.auto_approve"), :class => "control-label muted" %>
|
|
|
|
<div class="controls">
|
|
|
|
<%= f.check_box :auto_approve %>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-09-06 16:45:14 +00:00
|
|
|
<div class="control-group">
|
|
|
|
<%= f.label :disable_content_page, t("property_hire.disable_content_page"), :class => "control-label muted" %>
|
|
|
|
<div class="controls">
|
|
|
|
<%= f.check_box :disable_content_page %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
|
|
<%= f.label :disable_view_calendar_page, t("property_hire.disable_view_calendar_page"), :class => "control-label muted" %>
|
|
|
|
<div class="controls">
|
|
|
|
<%= f.check_box :disable_view_calendar_page %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
|
|
<%= f.label :carousel_image_width, t("announcement.default_carousel_image_width"), :class => "control-label muted" %>
|
|
|
|
<div class="controls">
|
|
|
|
<%= f.text_field :carousel_image_width %>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-02-05 09:15:50 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- Form Actions -->
|
|
|
|
<div class="form-actions">
|
|
|
|
<%= f.submit t('submit'), class: 'btn btn-primary' %>
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
<% end %>
|