Skip to content
Snippets Groups Projects
Commit 581063a0 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

better

parent d66d4e8f
No related branches found
No related tags found
No related merge requests found
<%= simple_form_for [:admin, page] do |f| %> <%= simple_form_for [:admin, page] do |f| %>
<div class="row"> <div class="row">
<div class="col-md-8"> <div class="col-md-8">
<%= f.input :title %> <div class="card flex-fill w-100">
<%= f.input :description %> <div class="card-header">
<%= f.input :text, input_html: { rows: 20 } %> <h5 class="card-title mb-0">Content</h5>
</div>
<div class="card-body">
<%= f.input :title %>
<%= f.input :description %>
<%= f.input :text, input_html: { rows: 20 } %>
</div>
</div>
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<div class="card flex-fill w-100"> <div class="card flex-fill w-100">
......
<%= simple_form_for [:admin, article] do |f| %> <%= simple_form_for [:admin, article] do |f| %>
<div class="row"> <div class="row">
<div class="col-md-4">
<%= f.input :title, as: :text, input_html: { rows: 3 } %>
<%= f.association :volume, collection: @journal.volumes %>
<%= f.input :published_at, html5: true %>
<%= f.association :researchers %>
</div>
<div class="col-md-8"> <div class="col-md-8">
<%= f.input :abstract, as: :text, input_html: { rows: 6 } %> <div class="card flex-fill w-100">
<%= f.input :keywords, as: :text, input_html: { rows: 2 } %> <div class="card-header">
<%= f.input :text, input_html: { rows: 20 } %> <h5 class="card-title mb-0">Content</h5>
<%= f.input :references, as: :text, input_html: { rows: 10 } %> </div>
<div class="card-body">
<%= f.input :title, as: :text, input_html: { rows: 3 } %>
<%= f.input :abstract, as: :text, input_html: { rows: 8 } %>
<%= f.input :text, input_html: { rows: 20 } %>
<%= f.input :references, as: :text, input_html: { rows: 10 } %>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card flex-fill w-100">
<div class="card-header">
<h5 class="card-title mb-0">Metadata</h5>
</div>
<div class="card-body">
<%= f.association :volume, collection: @journal.volumes %>
<%= f.input :published_at, html5: true %>
<%= f.input :keywords, as: :text, input_html: { rows: 2 } %>
<%= f.association :researchers %>
</div>
</div>
</div> </div>
</div> </div>
<% content_for :buttons do %> <% content_for :buttons do %>
......
...@@ -19,10 +19,13 @@ fr: ...@@ -19,10 +19,13 @@ fr:
about_Research::Journal: Site de revue scientifique about_Research::Journal: Site de revue scientifique
about_School: Site d'école about_School: Site d'école
communication/website/page: communication/website/page:
title: Titre
description: Description (SEO)
text: Textet
published: Publié ? published: Publié ?
parent: Page parente parent: Page parente
website: Site Web website: Site Web
simple_form: simple_form:
hints: hints:
communication/website/page: communication_website_page:
slug: test slug: Laisser vide pour la page d'accueil du site
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment